Jump to content
Sign in to follow this  
pikablue

Is this script possible?

Recommended Posts

pikablue

$Page=0
While $Page>0
send("{F8}")*$Page
Sleep(1000)
(Code)
$Page+=1 
WEnd

I want to make a code that increase the number of F8 presses per loop, is it possible?

Share this post


Link to post
Share on other sites
Authenticity

Read the help file:

Dim $page = 1

While $page
    Send("{F8 " & $page & "}")
    Sleep(1000)
    ; Code
    $page += 1
WEnd

Share this post


Link to post
Share on other sites
pikablue

thanks

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

Edited by pikablue

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×