Lacas Posted July 26, 2006 Share Posted July 26, 2006 Hi people, one of my mate (4gotn1) made an "auto pot" #include <GUIConstants.au3> Global $delay, $msg, $delay_timer GUICreate("Auto", 200, 100) $delay = GUICtrlCreateInput("2", 50, 10, 100, 20) ; delay is in milliseconds $button = GUICtrlCreateButton("START", 10, 50, 180, 20) GUISetState(@SW_SHOW) Do $msg = GUIGetMsg() While $msg = $button GUISetState(@SW_HIDE) $delay_timer = GUICtrlRead($delay) Send("{1}") Sleep($delay_timer*100) WEnd Until $msg = $GUI_EVENT_CLOSE For some reason he couldnt add a start and pause buttom, Basicly what i looking for is it send 1 as fast as it can, he done it well, but i need to start and pause it when i want. I will be so glad if you can help me with this lil issue Link to comment Share on other sites More sharing options...
BigDod Posted July 26, 2006 Share Posted July 26, 2006 Lookup HotKeySet in the help file. You will find an example for Pause/Unpause there. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Lacas Posted July 26, 2006 Author Share Posted July 26, 2006 I did and didnt find anything... That could help me Link to comment Share on other sites More sharing options...
Helge Posted July 26, 2006 Share Posted July 26, 2006 Fire up the helpfile.Press "Search"Type in "HotKeySet"First hit. Look at example. Link to comment Share on other sites More sharing options...
Lacas Posted July 26, 2006 Author Share Posted July 26, 2006 i cant find anything Link to comment Share on other sites More sharing options...
BigDod Posted July 26, 2006 Share Posted July 26, 2006 To make it easy for you, Here is a link to the online help for HotKeySet. Scroll to the bottom of the page and look at the example. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Helge Posted July 26, 2006 Share Posted July 26, 2006 Haha...that's the wrong version Lacas ! Open the v3 helpfile instead Link to comment Share on other sites More sharing options...
BigDod Posted July 26, 2006 Share Posted July 26, 2006 Haha...that's the wrong version Lacas ! Open the v3 helpfile instead Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Lacas Posted July 26, 2006 Author Share Posted July 26, 2006 (edited) Damn i knew itxD, i was looking in the old version. EDIT:Oh yeah xD, i solved the problem, Thx people Edited July 26, 2006 by Lacas Link to comment Share on other sites More sharing options...
4gotn1 Posted July 27, 2006 Share Posted July 27, 2006 (edited) glad it works now lacas dunno why the dumb thing wouldn't for me, must have been making a doh! error (you know, those obvious little bastards that make you wanna pound her head in a wall ) .... see you around 0x33 Edited July 27, 2006 by 4gotn1 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