XInFisk Posted August 12, 2006 Posted August 12, 2006 Hi now i have made this: #region --- GuiBuilder code Start --- ; Script generated by AutoBuilder 0.6 Prototype #include <GuiConstants.au3> GuiCreate("WE LOVE TO PWN D2X", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Checkbox_1 = GuiCtrlCreateCheckbox("Pwn D2X", 150, 20, 80, 20) $Button_2 = GuiCtrlCreateButton("Go pwn d2x", 140, 60, 100, 40) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit #endregion --- GuiBuilder generated code End --- But how do i do so when i push "Go pwn d2x" Then it run this script: Sleep("300000") While 1 Send("{F5}") Sleep("300000") WEnd
BigDod Posted August 12, 2006 Posted August 12, 2006 #region --- GuiBuilder code Start --- ; Script generated by AutoBuilder 0.6 Prototype #include <GuiConstants.au3> GUICreate("WE LOVE TO PWN D2X", 392, 316, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Checkbox_1 = GUICtrlCreateCheckbox("Pwn D2X", 150, 20, 80, 20) $Button_2 = GUICtrlCreateButton("Go pwn d2x", 140, 60, 100, 40) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_2 Sleep("300000") While 1 Send("{F5}") Sleep("300000") WEnd Case Else ;;; EndSelect WEnd Exit #endregion --- GuiBuilder generated code End --- 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
XInFisk Posted August 12, 2006 Author Posted August 12, 2006 #region --- GuiBuilder code Start --- ; Script generated by AutoBuilder 0.6 Prototype #include <GuiConstants.au3> GUICreate("WE LOVE TO PWN D2X", 392, 316, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Checkbox_1 = GUICtrlCreateCheckbox("Pwn D2X", 150, 20, 80, 20) $Button_2 = GUICtrlCreateButton("Go pwn d2x", 140, 60, 100, 40) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_2 Sleep("300000") While 1 Send("{F5}") Sleep("300000") WEnd Case Else ;;; EndSelect WEnd Exit #endregion --- GuiBuilder generated code End ---Thanks !
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