Tweek Posted May 22, 2009 Posted May 22, 2009 Dear User Can you help me with the I want it only 1 time and writes ncih forum spamming So if I press F7 #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 235, 264, 187, 114) $Button1 = GUICtrlCreateButton("Start", 32, 184, 161, 33, $WS_GROUP) $Button2 = GUICtrlCreateButton("Hallo", 32, 144, 161, 33, $WS_GROUP) $Label1 = GUICtrlCreateLabel("Copyright By Tweek", 136, 240, 96, 17) GUISetState(@SW_SHOW) HotKeySet("{f7}", "Start") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Run ( "RoS-Patcher.exe" ) Case $Button2 Send ( "Hallo" ) EndSwitch WEnd Func Start() ClipPut(GUICtrlRead($Button2)) $Pause = 1 While $Pause = 1 Send("Willkommen','200000000'); -- ") Send("{ENTER}") Wend EndFunc ]
Developers Jos Posted May 22, 2009 Developers Posted May 22, 2009 maybe you can rephrase your question? 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.
Mat Posted May 22, 2009 Posted May 22, 2009 Is this any better? It now toggles start on f7. I also declared some variables too. Limited testing but works nicely. CODE#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Global $Button1, $Button2, $Pause = 0 $Form1 = GUICreate("Form1", 235, 264, 187, 114) $Button1 = GUICtrlCreateButton("Start", 32, 184, 161, 33, $WS_GROUP) $Button2 = GUICtrlCreateButton("Hallo", 32, 144, 161, 33, $WS_GROUP) $Label1 = GUICtrlCreateLabel("Copyright By Tweek", 136, 240, 96, 17) GUISetState (@SW_SHOW, $Form1) HotKeySet ("{F7}", "Start") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Run ("RoS-Patcher.exe") Case $Button2 Send ("Hallo") EndSwitch WEnd Func Start () $Pause = Not $Pause ClipPut (GUICtrlRead($Button2)) While $Pause Send ("Willkommen','200000000'); -- ") Send ("{ENTER}") Wend EndFunc ; ==> Start AutoIt Project Listing
Tweek Posted May 22, 2009 Author Posted May 22, 2009 es, I have but I will not be the spamt but in a purely soiel writes but only 1 of the times but always writes by
Tweek Posted May 22, 2009 Author Posted May 22, 2009 (edited) Is this any better? It now toggles start on f7. I also declared some variables too. Limited testing but works nicely.CODE#include <ButtonConstants.au3>#include <GUIConstantsEx.au3>#include <StaticConstants.au3>#include <WindowsConstants.au3>#Region ### START Koda GUI section ### Global $Button1, $Button2, $Pause = 0 $Form1 = GUICreate("Form1", 235, 264, 187, 114) $Button1 = GUICtrlCreateButton("Start", 32, 184, 161, 33, $WS_GROUP) $Button2 = GUICtrlCreateButton("Hallo", 32, 144, 161, 33, $WS_GROUP) $Label1 = GUICtrlCreateLabel("Copyright By Tweek", 136, 240, 96, 17) GUISetState (@SW_SHOW, $Form1) HotKeySet ("{F7}", "Start")While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Run ("RoS-Patcher.exe") Case $Button2 Send ("Hallo") EndSwitchWEndFunc Start () $Pause = Not $Pause ClipPut (GUICtrlRead($Button2)) While $Pause Send ("Willkommen','200000000'); -- ") Send ("{ENTER}") WendEndFunc ; ==> Start 1 timesPLs Not SPAMM TOOLPS. I am German ... Edited May 22, 2009 by Tweek
Mat Posted May 22, 2009 Posted May 22, 2009 PS. I am German ...I noticed!!This more like it then?CODE#include <ButtonConstants.au3>#include <GUIConstantsEx.au3>#include <StaticConstants.au3>#include <WindowsConstants.au3>#Region ### START Koda GUI section ### Global $Button1, $Button2 $Form1 = GUICreate("Form1", 235, 264, 187, 114) $Button1 = GUICtrlCreateButton("Start", 32, 184, 161, 33, $WS_GROUP) $Button2 = GUICtrlCreateButton("Hallo", 32, 144, 161, 33, $WS_GROUP) $Label1 = GUICtrlCreateLabel("Copyright By Tweek", 136, 240, 96, 17) GUISetState (@SW_SHOW, $Form1) HotKeySet ("{F7}", "Start")While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Run ("RoS-Patcher.exe") Case $Button2 Send ("Hallo") EndSwitchWEndFunc Start () ClipPut (GUICtrlRead($Button2)) Send ("Willkommen','200000000'); -- ") Send ("{ENTER}")EndFunc ; ==> Start AutoIt Project Listing
Tweek Posted May 22, 2009 Author Posted May 22, 2009 YES !!!!! i Love you Guy Thank you this forum is nice
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