lopolop Posted December 15, 2005 Posted December 15, 2005 i want to hold the down key... or it could be S key and the wait 3 seconds and lift up....
Sardith Posted December 15, 2005 Posted December 15, 2005 IsPressed in the help file [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]
jefhal Posted December 15, 2005 Posted December 15, 2005 i want to hold the down key... or it could be S key and the wait 3 seconds and lift up....When you've made up your mind, let us know and we'll try to help... ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
seandisanti Posted December 15, 2005 Posted December 15, 2005 i want to hold the down key... or it could be S key and the wait 3 seconds and lift up....Send("{S down}") Sleep(3000) Send("{S up}")
jefhal Posted December 15, 2005 Posted December 15, 2005 From the FHF:Single keys can also be repeated, e.g.Send("{DEL 4}") ;Presses the DEL key 4 timesSend("{S 30}") ;Sends 30 'S' charactersSend("+{TAB 4}") ;Presses SHIFT+TAB 4 timesTo hold a key down (generally only useful for games)Send("{a down}") ;Holds the A key downSend("{a up}") ;Releases the A keyIf you wish to use a variable for the count, try $n = 4Send("+{TAB " & $n & "}")If you wish to send the ASCII value A four times, then try $x = Chr(65)Send("{" & $x & " 4}") ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
seandisanti Posted December 15, 2005 Posted December 15, 2005 From the FHF:FHF ? i'm assuming HF is help file, but what's the first F for?
LxP Posted December 16, 2005 Posted December 16, 2005 FHF ? i'm assuming HF is help file, but what's the first F for?Fabulous. Duh. Alternatively borrow the F from RTFM and there you have it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now