Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
capturing key strokes during -s gui
#1
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!
Reply
#2
inkey$ should work in gfx mode?
Reply
#3
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.
Reply
#4
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.
ngelo Mottola - EC++
Reply
#5
So hackers, don't update....Big Grin
Antoni
Reply
#6
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. Wink 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. Wink

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.. Wink
Jumping Jahoolipers!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)