wendellgun Posted April 14, 2013 Share Posted April 14, 2013 Hi guys, Im from Brazil and I not speak english very well so I made this picture to try and show what I'm trying to docan someone help me? Link to comment Share on other sites More sharing options...
Developers Jos Posted April 14, 2013 Developers Share Posted April 14, 2013 It is not clear what you want: - is this shown window from your script? - what do you want to click? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 14, 2013 Share Posted April 14, 2013 Help someone help you. What is it you are trying to do? Or what is your question? - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
wendellgun Posted April 14, 2013 Author Share Posted April 14, 2013 I did this drawing in koda #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 280, 106, 324, 298) $Input1 = GUICtrlCreateInput("Input1", 72, 24, 65, 21) $Label1 = GUICtrlCreateLabel("Auto Click Left", 0, 24, 73, 17) $Button1 = GUICtrlCreateButton("F2 Start", 16, 56, 105, 41) $Label2 = GUICtrlCreateLabel("(X Clicks with sleep 1000)", 144, 24, 125, 17) $Button2 = GUICtrlCreateButton("F3 Pause", 144, 56, 105, 41) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Now I need to plan to do exactly as the design I need to streamline my work Link to comment Share on other sites More sharing options...
wendellgun Posted April 14, 2013 Author Share Posted April 14, 2013 (edited) Im sooo noob in program I will try to explain in pascal ---------------- enter the amount of clicks read(input1); first = 0 While first < input1 Do MouseClick("Left") Sleep(1000) can someone do this program for me? Edited April 14, 2013 by wendellgun Link to comment Share on other sites More sharing options...
wendellgun Posted April 14, 2013 Author Share Posted April 14, 2013 (edited) Im trying with no pause becouse i dont know the comand #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Auto Click", 282, 58, 192, 124) $Button1 = GUICtrlCreateButton("F2 para iniciar", 8, 8, 113, 41) $Button2 = GUICtrlCreateButton("F3 para pausar", 136, 8, 129, 41) Dim $Form1_AccelTable[2][2] = [["{F2}", $Button1],["{F3}", $Button2]] GUISetAccelerators($Form1_AccelTable) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Global $First $First = 0 Do MouseClick("Left") Sleep(1000) $First += 1 Until $First = 100 EndSwitch WEnd and working but i dont want this way :/ Edited April 14, 2013 by wendellgun Link to comment Share on other sites More sharing options...
JohnOne Posted April 14, 2013 Share Posted April 14, 2013 read(input1); = GUICtrlRead($Input1) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
ileandros Posted April 15, 2013 Share Posted April 15, 2013 #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Auto Click", 282, 120, 192, 124) $Button1 = GUICtrlCreateButton("F2 para iniciar", 8, 8, 113, 41) $Button2 = GUICtrlCreateButton("F3 para pausar", 136, 8, 129, 41) $label = GUICtrlCreateLabel("Number: ", 130, 85) $input = GUICtrlCreateInput("", 180,80,80,25) Dim $Form1_AccelTable[2][2] = [["{F2}", $Button1],["{F3}", $Button2]] GUISetAccelerators($Form1_AccelTable) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $First = 0 Do MouseClick("Left") Sleep(1000) $First += 1 Until $First = GUICtrlRead($input) EndSwitch WEnd I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
wendellgun Posted April 15, 2013 Author Share Posted April 15, 2013 now just need to learn to pause the process. you've helped me a lotTHANK YOU ileandros :thumbsup: Link to comment Share on other sites More sharing options...
ileandros Posted April 15, 2013 Share Posted April 15, 2013 I would do it like this if i was you. This is how you can toggle it. HotKeySet("s", "_start") HotKeySet("p", "_pause") HotKeySet("e", "_exit") $Active = 0 $button = "left" While (True) If $Active = 1 Then MouseClick($button) Sleep(1000) EndIf WEnd Func _start() $Active = 1 EndFunc Func _pause() $Active = 0 EndFunc Func _exit() Exit EndFunc I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
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