You are on page 1of 4

#Region ;**** ACNWrapper_GUI ****

#PRE_Icon=D:\VMware\vmplayer.exe
#PRE_UseUpx=n
#PRE_Compile_Both=y
#PRE_Res_requestedExecutionLevel=None
#EndRegion ;**** ACNWrapper_GUI ****
#cs ---------------------------------------------------------------------------AutoIt Version: 3.3.12.0
Author:
myName
Script Function:
Template AutoIt script.
#ce ---------------------------------------------------------------------------; Script Start - Add your code below here
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\Administrator\Documents\For
m1.kxf
$Form1 = GUICreate("615518", 512, 159, -1, -1)
$Tab1 = GUICtrlCreateTab(16, 32, 481, 97)
$TabSheet1 = GUICtrlCreateTabItem("615")
GUICtrlSetState(-1,$GUI_SHOW)
$Button2 = GUICtrlCreateButton("", 40, 80, 107, 25)
$Button3 = GUICtrlCreateButton("", 205, 80, 107, 25)
$Button4 = GUICtrlCreateButton("", 367, 80, 75, 25)
$TabSheet2 = GUICtrlCreateTabItem("503")
$Button1 = GUICtrlCreateButton("1", 400, 80, 75, 25)
GUICtrlCreateTabItem("")
$Label1 = GUICtrlCreateLabel(" QQ:2166166", 393, 137, 106, 17)
GUICtrlSetCursor(-1, 0)
$Progress1 = GUICtrlCreateProgress(40, 112, 430, 9)
;GUICtrlSetColor(-1, 0x008000)
;GUICtrlSetBkColor(-1, 0x000000)
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $Form1, "int", 100
0, "long", 0x00040010)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1

$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE

DllCall("user32.dll", "i
nt", "AnimateWindow", "hwnd", $Form1, "int", 1000, "long", 0x00050010)
Exit
Case $Button3
GUICtrlSetData($Progress1, $i)
Next
If GUICtrlRead($Progress1) = 100 Then

For $i = 1 To 100 step 1

Sleep (1000)

#Region --- CodeWizard generated code Start --If Not ProcessExists(".exe") Then
MsgBox(32, "", ".exe
;
ElseIf Not ProcessExists("----.exe") Then
;
MsgBox(32, "", "
ElseIf Not ProcessExist
s("iamrainbow2.exe") Then
MsgBox(32, "", "."
Else

; ContinueLoop

;ToolTip features: Text=Yes, X Coordinate=Default, Y Coordinate=Default, Title=Y


es, No icon
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)
MsgBox(32, "", "5",5)
Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)
MsgBox(32, "", "5",5)
Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)
MsgBox(32, "", "5",5)
Sleep (5000)
Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)
MsgBox(32, "", "5",5)
Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)
MsgBox(32, "", "5",5)
Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)

MsgBox(32, "", "5",5)


Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)
MsgBox(32, "", "5",5)
Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)
MsgBox(32, "", "5",5)
Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
WinWaitActive("R615","",1000000)
MsgBox(32, "", "5",5)
Sleep (5000)
Send ("{F10}")
Sleep (5000)
TrayTip("","",0,0)
EndIf
#EndRegion --- CodeWizard generated code End --EndIf
Case $Button2
If FileExists(@ScriptDir & "\iamrainbow2.exe") Then
For $i = 1 To 100 step 1

sleep (1)
GUICtrlSetData($Progress1, $i)
Next
If GUICtrlRead($Progress1) = 100 Then
Sleep (1000)
MsgBox(64, "", "iamrainbow2.exe")
EndIf
Else
MsgBox(4096,"", "iamrainbow2.exe")
EndIf
Case $Button4
ProcessClose ( "----.exe")
Sleep (300)
ProcessClose ( ".exe")
Sleep (300)
ProcessClose ( "iamrainbow2.exe")
Sleep (300)
MsgBox(64, "", "")
Case $Button1;1;

#Region --- CodeWizard generated code Start --;MsgBox features: Title=Yes, Text=Yes, Buttons=OK, Icon=Info
MsgBox(64,"","503
#EndRegion --- CodeWizard generated code End --Case $Label1
MsgBox(64,"","TM")
EndSwitch
WEnd

You might also like