Jump to content
Sign in to follow this  
pezo89

Recordtool and a sleep delay?

Recommended Posts

pezo89

Hi guys, i where just wondering is there a way to have a delay between every mouseclick and typed word?

when using the record action tool, instead of manualy putting in the sleep (300) after every action

this is what i mean

#region --- ScriptWriter generated code Start --- 
Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
WinWait("Program Manager","FolderView")
If Not WinActive("Program Manager","FolderView") Then WinActivate("Program Manager","FolderView")
WinWaitActive("Program Manager","FolderView")
MouseMove(1396,269)
MouseDown("left")   
                    <---Sleep in here
MouseUp("left")
                     <---Sleep in here
MouseMove(1483,270)
MouseDown("left")
MouseUp("left")
MouseMove(1241,239)
MouseDown("left")
MouseUp("left")
MouseMove(1177,243)
MouseDown("left")
MouseUp("left")
MouseMove(1233,168)
MouseDown("left")
MouseMove(1232,168)
MouseUp("left")
MouseMove(1173,144)
MouseDown("left")
MouseUp("left")
MouseMove(1422,152)
MouseDown("right")
MouseUp("right")
MouseMove(1491,162)
MouseDown("left")
MouseUp("left")
#endregion --- ScriptWriter generated code End ---
Edited by pezo89

Share this post


Link to post
Share on other sites
pezo89

Hi guys, i where just wondering is there a way to have a delay between every mouseclick and typed word?

when using the record action tool, instead of manualy putting in like x400 sleep(500) actions?

Anyone? :D

Share this post


Link to post
Share on other sites
somdcomputerguy

Well there is the MouseClickDelay, MouseClickDownDelay, SendKeyDelay options to be used with AutoItSetOption, I don't know if this meets your needs though.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
pezo89

Well there is the MouseClickDelay, MouseClickDownDelay, SendKeyDelay options to be used with AutoItSetOption, I don't know if this meets your needs though.

yea iv tried those, however it still thinks it is speedyGonzales when running the loop again.. :D

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.