Search found 3 matches
- Fri Apr 16, 2010 4:44 pm
- Forum: Beginners
- Topic: KEY_DOWN Event
- Replies: 6
- Views: 6425
I couldn't make this work with your syntax. I've always used the form VK(number) so in the case of F1 it will be VK112. Also even with VK112 in the line I also need a value in the parameter after the VK for the . Try this and see what happens. OnEvent>KEY_DOWN,VK112,0,GetDataPos That worked, thanks...
- Fri Apr 16, 2010 4:14 pm
- Forum: Beginners
- Topic: KEY_DOWN Event
- Replies: 6
- Views: 6425
- Fri Apr 16, 2010 3:36 pm
- Forum: Beginners
- Topic: KEY_DOWN Event
- Replies: 6
- Views: 6425
KEY_DOWN Event
I have this as the first line of my script. OnEvent>KEY_DOWN,VK_F1,,GetDataPos Then I have this subroutine. SRT>GetDataPos GetCursorPos>nXPos,nYPos Let>Dialog1.Caption=Robo:%nXPos%,%nYPos% End>GetDataPos I run the script and move the mouse somewhere on the screen, press F1 and nothing. I put a break...