CahDeCah Posted April 12, 2006 Share Posted April 12, 2006 ;Bla Bla Bla By Muflonu; Prompt the user to run the script - use a Yes/No prompt$answer = MsgBox(4, "Attack v1.0", "START ?"); Check the user's answer to the prompt; If "No" was clicked then exit the scriptIf $answer = 7 Then MsgBox(0, "Attack v1.0", "C ya , moron!!!") ExitEndIf; Wait for the GK Client to become active - it is titled "Gigi Kent" on all systemsWinWaitActive("Gigi Kent"); Prompt the user to run the script - use a Yes/No prompt (4 - see help file)$answer = MsgBox(4, "Attack v1.0", "GigiKent active. START?")If $answer = 7 Then MsgBox(0, "Attack v1.0", "C ya , moron!!!") ExitEndIf; Now that the GK client window is active type some special charactersSend("q123q123q123q123")OK ... so , this is working properly , but i want to make it loop the keys "q123q123q123q123" forever .Is there any way i can do that ? If yes please help me with ideas or with anything you guys think it might help .Thanks ! Link to comment Share on other sites More sharing options...
Xenobiologist Posted April 12, 2006 Share Posted April 12, 2006 HI, and welcome! Should be a question in support forum. Try this. ; Now that the GK client window is active type some special characters While 1 Send("q123q123q123q123") sleep(10) WEnd So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
GEOSoft Posted April 12, 2006 Share Posted April 12, 2006 ; Now that the GK client window is active type some special characters While 1 Send("q123q123q123q123") sleep(10) WEnd There should also be a HotKeySet("{ESC}", ExitLoop) under thw While 1 No sense in taking the chance of getting into an endless loop George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
CahDeCah Posted April 13, 2006 Author Share Posted April 13, 2006 thank you . working great ! Link to comment Share on other sites More sharing options...
Valuater Posted April 13, 2006 Share Posted April 13, 2006 thank you . working great !remeber that some charators are regarded as "keys"..soSend("q123q123q123q123", 1)will send the info as raw8) 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