takonoob Posted November 9, 2005 Posted November 9, 2005 1. Can I Adding "Timer" & "Delay" every 7sec? Like Below Func Insert() $Loop = 1 While $Loop = 1 Send("{Mouse2}") WEnd EndFunc I dunno How and Where Does the timer/delay input..
takonoob Posted November 9, 2005 Author Posted November 9, 2005 Sorry Forgot asking another question.. How Does I Can using "Mouse 2"(Right Click) on "Send "{}"
Valuater Posted November 9, 2005 Posted November 9, 2005 (edited) 1. Can I Adding "Timer" & "Delay" every 7sec?Like BelowFunc Insert() $Loop = 1 While $Loop = 1 Send("{Mouse2}") WEndEndFuncI dunno How and Where Does the timer/delay input..maybe like thisFunc Insert() $Loop = 1 While $Loop = 1 Send("{Mouse2}") Sleep( 7 * 1000) WEnd EndFuncwhere 1000 = 1 second8) Edited November 9, 2005 by Valuater
takonoob Posted November 9, 2005 Author Posted November 9, 2005 omg I found a miserable problem I think the Send("{Mouse2}") << Had enquiry some error It Keep runing "M" word only Does it .au3 support with mouse sciprt?What Does The "right click" scipr of mouse?? :">
MHz Posted November 9, 2005 Posted November 9, 2005 From HelpfileMouseClick ( "button" [, x, y [, clicks [, speed ]]] )ExampleMouseClick('right', 1, 1, 2)
takonoob Posted November 9, 2005 Author Posted November 9, 2005 Erm I dont understand "does the x,y I should input ?? or just leave it? coz I just wanna Active "Right click Key" only... so? MouseClick('right', 1, 1, 2) Does the *1,1,2* was move X+1,Y+1,2 what Does The Speed Use?Can I Put MouseClick('right', 0, 0, 2)?? I dun wan move the mouse
Valuater Posted November 9, 2005 Posted November 9, 2005 MouseClick('Right") mouse clicks where it is 8)
takonoob Posted November 9, 2005 Author Posted November 9, 2005 Thank You all Ur support I thin I should Reading More other works to be improving myself :">
takonoob Posted November 19, 2005 Author Posted November 19, 2005 HotKeySet ( "{End}", "Pause" ) HotKeySet ( "{Home}", "Insert" ) $answer = MsgBox(1, ", "Press [Home] to start Macro,[End] To Pause") If $answer = 2 Then Exit EndIf While 1 Sleep(100) WEnd Func Pause() $Loop = 0 While $Loop = 0 Sleep("512") WEnd EndFunc Func Insert() $Loop = 1 While $Loop = 1 Send("{F5}") Sleep( 3 * 1000) WEnd EndFunc Exit Qeustion How did I combo Macro mode with F5x3times after delay 3sec then F2x1 times after delay 25sec,and F1 xRapid Without Delay?
JSThePatriot Posted November 19, 2005 Posted November 19, 2005 Qeustion How did I combo Macro mode with F5x3times after delay 3sec then F2x1 times after delay 25sec,and F1 xRapid Without Delay?Below is maybe what you are wanting to do. You will need to know how many times you need to press F1.Okay can you do the following?...Press F5 3 times rapid.Wait 3 seconds.Press F2 1 time.Wait 25 seconds.Press F1 x times rapidly.Start over.That is how you have to think of programming. A single statement at a time.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
takonoob Posted January 21, 2006 Author Posted January 21, 2006 How do I Add the "press times" in this confrigue? check I'm rite or wrong... I want to click the mouse co-ordinate on there question : The Sleep time is runing over in order to next ? HotKeySet ( "{F12}", "Stop" ) HotKeySet ( "{F11}", "Start" ) $answer = MsgBox(1, "Mythwar", "Press [insert] to start,[End] To Stop") If $answer = 2 Then Exit EndIf While 1 Sleep(100) WEnd Func Stop() $Loop = 0 While $Loop = 0 Sleep("512") WEnd EndFunc Func Start() $Loop = 1 While $Loop = 1 MouseClick('left', 423, 546, 0) Sleep( 1 * 1000) MouseClick('left', 423, 546, 0) Sleep( 1 * 1000) MouseClick('left', 423, 546, 0) Sleep( 1 * 1000) MouseClick('left', 423, 546, 0) Sleep( 1 * 1000) WEnd EndFunc
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