Sign in to follow this  
Followers 0
MmMaTAn

Help please (easy). how can i make AutoIt pres "CTRL"+"R" and after that ENTER

5 posts in this topic

hi, im new to this world but it seems to be nice here.

i have started to look in some help files around and i want to make a script that will do:

Loop: (for X minutes)

1) press "CTRL" + " R"

2) delay of 2 secounds

3) press "ENTER"

4) delay of 2 secound.

end

please tell me if i am right and if you can post the script i need.

for delay i should use: WinWait (2) //2 shows the number of secounds //

for "pressing" i should use: send ("CTRL" + "R")

i am a real noob here so please.

tell me if where i am wrong, and post a proper script for my request, it will help me A LOT !!!!!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Send("^R") ;sends Ctrl+RoÝ÷ Ù«­¢+ÙM¹ ÅÕ½Ðíí9QIôÅÕ½Ðì¤ì͹̸¹ÑÈ­ä

For the rest, I think you're right.

Edited by BALA

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites

i got this:

; JETiX Macro by Matan 0.1c

MsgBox(64, "JETiX Macro 0.2 by Matan", "Please Press OK to start !!!")
Do
    send ("{BROWSER_REFRESH}")
    winwait (5)
    MsgBox(64, "JETiX Macro 0.2 by Matan", "Please Press OK to start !!!")
    send ("{ENTER}")
    winwait (5)
    $stop = $stop + 1
Until $stop = 300
MsgBox(64, "JETiX Macro 0.2 by Matan", "Please Press OK to start !!!")
Exit

i out TEST to check if "winwait (5)" is working. and it is not !!!

please tell me what is the write code line for waiting 5 secounds.

Share this post


Link to post
Share on other sites

Instead of using WinWait, use

Sleep(5000) ;Wait 5000 miliseconds

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Also, WinWait requires the title of the window, which you didn't have in the command

Edited by BALA

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

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  
Followers 0