bloober Posted November 22, 2008 Share Posted November 22, 2008 i have make something but i want that it never end... how i can call it again? like i press a button and that unlimited Link to comment Share on other sites More sharing options...
FireFox Posted November 22, 2008 Share Posted November 22, 2008 (edited) i have make something but i want that it never end... how i can call it again? like i press a button and that unlimited What do you mean about ? While 1;Start loop unlimited until exit ;Place here what you want to repeat unlimited WEnd Edited November 22, 2008 by FireFox Link to comment Share on other sites More sharing options...
bloober Posted November 22, 2008 Author Share Posted November 22, 2008 hehe thx =) it works fine Link to comment Share on other sites More sharing options...
Robjong Posted November 22, 2008 Share Posted November 22, 2008 i have make something but i want that it never end...how i can call it again?like i press a button and that unlimitedI also made 'something' that i never want to end ^^, but hey everything has to end sometime.... Link to comment Share on other sites More sharing options...
bloober Posted November 22, 2008 Author Share Posted November 22, 2008 (edited) @robojang hehe nice but your right everyone/everything must end anytime @topic: whats with this wrong: hotkeyset ( "X" [, "1"] ) 1 = the function //edit: source: HotKeySet ( "X" [, "Hans"] ) Func Hans WinWaitActive ("Speedup") sleep (1000) Send("{Space}") EndFunc Edited November 22, 2008 by bloober Link to comment Share on other sites More sharing options...
AzKay Posted November 22, 2008 Share Posted November 22, 2008 (edited) Remove the [ ], the [ ] in the helpfile mean Optional.Also, You didnt close the Func Hans()EDIT::HotKeySet ( "X" , "Hans" )Func Hans()WinWaitActive ("Speedup")sleep (1000)Send("{Space}")EndFunc Edited November 22, 2008 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
bloober Posted November 22, 2008 Author Share Posted November 22, 2008 HotKeySet ( "X" , "Hans" ) Func Hans() While 1 WinWaitActive ("Speedup") sleep (1000) Send("{Space}") Wend EndFunc why does it end everytime after start it?Oo Link to comment Share on other sites More sharing options...
TehWhale Posted November 22, 2008 Share Posted November 22, 2008 You need to keep the script going. Add: While 1 Sleep(50*50*50) WEnd After HotKeySet() Link to comment Share on other sites More sharing options...
bloober Posted November 22, 2008 Author Share Posted November 22, 2008 can i check if i press Mouse 1 i dont want press any key? Link to comment Share on other sites More sharing options...
FireFox Posted November 22, 2008 Share Posted November 22, 2008 can i check if i press Mouse 1 i dont want press any key? Hi again , #include <Misc.au3>;add the function IsPressed While 1 If _IsPressed("01") Then; check if primary mouse button have been pressed ;put here what you want EndIf Wend Link to comment Share on other sites More sharing options...
bloober Posted November 22, 2008 Author Share Posted November 22, 2008 if i press mouse 1 (that part you made) i want that press space is disabled ^^ i hate it when i press space and mouse1 and i cant hit xD 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