Posts: 1,688
Threads: 119
Joined: Jun 2003
I'm using fb to create utilities for myself, because I'm lazy. One of them to start with, Is a program that will open programs when i press certain buttons. for example, when i press f2 for example, i might want fbide to open up. or if i press f3, firefox. f4 would be something like m$ word.
However, Inkey doesn't seem to work in -s gui mode. Will Multikey work as an alternative? If not, how do i read input? Thanks in advance.
Jumping Jahoolipers!
Posts: 3,522
Threads: 189
Joined: Dec 2003
inkey$ should work in gfx mode?
inkey may not work when the window is out of focus. (havent tried) yes, multikey picks up key input no matter if the window is in focus.
Posts: 268
Threads: 9
Joined: Dec 2004
Both inkey and multikey should not work if the window has not got focus. In 0.12 there was a bug that prevented this behaviour for multikey, but it has already been fixed in CVS and will be ok in 0.13.
Posts: 1,407
Threads: 117
Joined: Dec 2002
So hackers, don't update....
Antoni
Posts: 1,688
Threads: 119
Joined: Jun 2003
okay... (note to self: don't update)
i tried multikey, but i couldn't get it to work. Btw, z!re didn't seem to believe me... i am NOT trying to make my own keylogger, as bad as it seems with the two posts timings... i'm not! i'm not! *sob* It wouldn't of been so bad if z!re didn't choose that moment to pull out the whip.
actually, the keylogger post made me wonder if i could make a similiar program that could open files, cmd.com, or the run dialog depending on what i type. I had something similiar (it was trialware) and i had alot of fun with it. Then the trial expired.
well, z!re and i talked about doing this, and we both figure it would probably take windows api calls. (i'm not talking about -s gui, creating a window: i'm talking about -s gui, then dont' call a window. Z!re said something about making a window, resizing to 1,1 and putting it below the start bar. I dunno... it seemed *so* simple when i first decided to try..
Jumping Jahoolipers!