Jump to content

Recommended Posts

Posted

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]

Posted

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... :P
...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
Posted

From the FHF:

Single keys can also be repeated, e.g.

Send("{DEL 4}") ;Presses the DEL key 4 times

Send("{S 30}") ;Sends 30 'S' characters

Send("+{TAB 4}") ;Presses SHIFT+TAB 4 times

To hold a key down (generally only useful for games)

Send("{a down}") ;Holds the A key down

Send("{a up}") ;Releases the A key

If you wish to use a variable for the count, try

$n = 4

Send("+{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
Posted

FHF ? i'm assuming HF is help file, but what's the first F for?

Fabulous. Duh. :P

Alternatively borrow the F from RTFM and there you have it.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...