Download Latest Version kbhook.zip (3.4 MB)
Email in envelope

Get an email when there's a new version of java-shortkeys

Home
Name Modified Size InfoDownloads / Week
readme.txt 2019-10-31 2.5 kB
kbhook.zip 2019-10-31 3.4 MB
Totals: 2 Items   3.4 MB 0
A shortkeys manager 

	Compared to other similar tools, this one is simple to use. There is no use to record commands keystroke, 
	since a simple syntax allows to write these in a file.
	This shorkeys file can also handle unicode data allowing complex characters.

Prerequsite:
	installed runtime java. For now the programm does not work on mac or linux.

How to install:	
	Unzip and read index.html in the javadoc. Defined the property file as you want it. Edit the shorkey file to suite your needs

Start the programm: 
	run the programm with runjar.bat 

Quit the programm: 
	with the Esc key, unless you have changed the property quit.key=.... in the kbhook.properties file

Shortkeys edition:
	In the xml shorkeys file: every commands keystroke or data string is bound to key of the keyboard with the k attribut 
	in the <data> element. 
	The "<" key has to be stroke before calling every shortkey.
	For example, <data k='h'>Hello</data> bind to the keys <+h the string Hello that will be output where the cursor is.

Parsing the shortkeys file:
	There is no need to quit the programm to take modifications of the shortkeys file into account.
	Save the file and press the Home key (unless you have changed the load.key property).

Syntax for the commands keytroke in the shortkey file:
	A command keystroke start with # (to diplay # as a character, it has to be enter has ##), next we have to give
	- the command, set by a character listed in the file defined with the property virtualKey.file (one position).
	  z is predefined to force a waiting time in the programm execution. This letter should not be used in the file. 
	- how much we want to repeat that command, on two position, with a padding 0 if necessary (01) 23.
	  With z the number is how many seconds the program has to wait.
	
	The following characters are treated as text (unless a new command keystroke is defined).
	The shift, control and alt keys are released
        after a non-command key has been given. For example ctr+shift+a (written as #c01#s01a) 
	will send the following event: key press for the keys control and shift, key press and released for the a key, 
	key release for shift and control at the end of a command keystroke, if the keys have not been released. 
	For example a sequence of shit+tab, shift+tab, shift+tab (#s01#t01#t01#t01) will release the shift key at the end. 
	On the contrary #s01#t01#t01#t01abc will call three back tab and will write Abc.


Source: readme.txt, updated 2019-10-31