i would like to write a shortcut key program. for example, a program that runs invisibly in the background continuously seeing if a key like f4 or something is currently being pressed. and if it ever is, it would do something. so how could i write a keylistener without swing? like i said i want it to be invisible if possible.
There are no new questions, but there may be new answers.
Joined: Jun 09, 2003
if you just wanted to launch a java app,
so that it had focus and you could do things
with it, for windows you could write a vbscript file
to launch the java program, place it on
the desktop (with accelerators) so (eg) ctrl/shift/x
would trigger the script file and launch the java app.
I haven't done this in years, so can't remember the code,
but google should help.