Sign in to follow this  
Followers 0
jerwin

[Question]its is possible to make GUI in macro script?

5 posts in this topic

it is possible to make a GUI in macro script?for example it is possible to make button gui for my macro script can u tell me how can i put my macro script build in au3 in the button gui? thanx in advance..


[font="Arial Black"]Looking for a partner in making Perfect Bot for DEKARONPm me if you wanna join.....[/font]

Share this post


Link to post
Share on other sites



it is possible to make a GUI in macro script?for example it is possible to make button gui for my macro script can u tell me how can i put my macro script build in au3 in the button gui? thanx in advance..

I don't understand what you want to do. Can you explain in simple steps exactly what you want?

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

it is possible to make a GUI in macro script?for example it is possible to make button gui for my macro script can u tell me how can i put my macro script build in au3 in the button gui? thanx in advance..

From what i understand, you have a script that you want us to create a GUI for, yet you haven't given us a script.

Sorry, gonna need to see some code first.

Share this post


Link to post
Share on other sites

This is what I understand you want to do, press a macro / hot key and show a GUI.

If so, shouldn't be too difficult. Create your GUI, Hide it GUISetState(@SW_HIDE, $YOURGUIVARIABLENAME), assign a hotkey for GUISetState(@SW_SHOW, $YOURGUIVARIABLENAME).

Hope this helps.

Bob


You can't see a rainbow without first experiencing the rain.

Share this post


Link to post
Share on other sites

From what i understand, you have a script that you want us to create a GUI for, yet you haven't given us a script.

Sorry, gonna need to see some code first.

heres the script its a macro script..

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****

#AutoIt3Wrapper_Run_Obfuscator=y

#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

Opt("WinWaitDelay", 100)

Opt("WinTitleMatchMode", 4)

Opt("WinDetectHiddenText", 1)

Opt("MouseCoordMode", 0)

Run('C:\Program Files\GameHI\Dekaron\loader.exe')

WinWait("loader", "")

If Not WinActive("loader", "") Then WinActivate("loader", "")

WinWaitActive("loader", "")

MouseMove(166, 45)

MouseDown("left")

MouseMove(-269, 44)

MouseUp("left")

Send("{SHIFTDOWN}'{SHIFTUP}{SHIFTDOWN}c{SHIFTUP}{SHIFTDOWN};{SHIFTUP}\{SHIFTDOWN}p{SHIFTUP}rogram{SPACE}{SHIFTDOWN}f{SHIFTUP}iles\{SHIFTDOWN}g{SHIFTUP}ame{SHIFTDOWN}hi{SHIFTUP}\{SHIFTDOWN}d{SHIFTUP}ekaron\minilauncher.exe{SHIFTDOWN}'{SHIFTUP}")

Sleep(1000)

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("classname=#32770", "")

If Not WinActive("classname=#32770", "") Then WinActivate("classname=#32770", "")

WinWaitActive("classname=#32770", "")

Sleep(1000)

MouseMove(279, 295)

Sleep(3000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

WinWait("Dekaron", "")

If Not WinActive("Dekaron", "") Then WinActivate("Dekaron", "")

WinWaitActive("Dekaron", "")

Sleep(40000)

MouseDown("left")

MouseUp("left")

Send("{HOME}")

Send("{ENTER}{ENTER}")

Sleep(2000)

MouseMove(412, 475)

MouseDown("left")

MouseUp("left")

MouseMove(476, 608)

MouseDown("left")

MouseUp("left")

Sleep(2000)

WinWait("Dekaron", "")

If Not WinActive("Dekaron", "") Then WinActivate("Dekaron", "")

WinWaitActive("Dekaron", "")

Sleep(2000)

MouseMove(519, 712)

MouseDown("left")

MouseUp("left")

Send("username{TAB}password{ENTER}")

Sleep(7000)

MouseMove(690, 106)

Sleep(2500)

MouseClick("left")

MouseClick("left")

Sleep(2000)

MouseMove(531, 677)

MouseDown("left")

MouseUp("left")

WinWait("GameHelper", "")

If Not WinActive("GameHelper", "") Then WinActivate("GameHelper", "")

WinWaitActive("GameHelper", "")

MouseMove(386, 341)

MouseDown("left")

MouseUp("left")

Sleep(20000)

MouseMove(982,10)

MouseMove(980,-5)

MouseDown("left")

MouseUp("left")

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("loader", "")

If Not WinActive("loader", "") Then WinActivate("loader", "")

WinWaitActive("loader", "")

Sleep(1000)

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("classname=#32770", "")

If Not WinActive("classname=#32770", "") Then WinActivate("classname=#32770", "")

WinWaitActive("classname=#32770", "")

Sleep(1000)

MouseMove(279, 295)

Sleep(4000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(40000)

Sleep(2000)

MouseDown("left")

Sleep(2000)

MouseDown("left")

MouseUp("left")

Send("{HOME}")

Send("{ENTER}{ENTER}")

Sleep(2000)

MouseMove(412, 475)

MouseDown("left")

MouseUp("left")

MouseMove(489, 578)

MouseDown("left")

MouseUp("left")

Sleep(2000)

WinWait("Dekaron", "")

If Not WinActive("Dekaron", "") Then WinActivate("Dekaron", "")

WinWaitActive("Dekaron", "")

Sleep(2000)

MouseMove(519, 712)

MouseDown("left")

MouseUp("left")

Send("username{TAB}password{ENTER}")

Sleep(7000)

MouseMove(690, 106)

Sleep(2500)

MouseClick("left")

MouseClick("left")

Sleep(2000)

MouseMove(531, 677)

MouseDown("left")

MouseUp("left")

WinWait("GameHelper", "")

If Not WinActive("GameHelper", "") Then WinActivate("GameHelper", "")

WinWaitActive("GameHelper", "")

MouseMove(386, 341)

MouseDown("left")

MouseUp("left")

Sleep(20000)

MouseMove(982,10)

MouseMove(980,-5)

MouseDown("left")

MouseUp("left")

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("loader", "")

If Not WinActive("loader", "") Then WinActivate("loader", "")

WinWaitActive("loader", "")

Sleep(1000)

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("classname=#32770", "")

If Not WinActive("classname=#32770", "") Then WinActivate("classname=#32770", "")

WinWaitActive("classname=#32770", "")

Sleep(1000)

MouseMove(279, 295)

Sleep(4000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(40000)

MouseDown("left")

Sleep(2000)

MouseDown("left")

MouseUp("left")

Send("{HOME}")

Send("{ENTER}{ENTER}")

Send("{ENTER}{ENTER}")

Sleep(2000)

MouseMove(412, 475)

MouseDown("left")

MouseUp("left")

MouseMove(493, 560)

MouseDown("left")

MouseUp("left")

Sleep(2000)

WinWait("Dekaron", "")

If Not WinActive("Dekaron", "") Then WinActivate("Dekaron", "")

WinWaitActive("Dekaron", "")

Sleep(2000)

MouseMove(519, 712)

MouseDown("left")

MouseUp("left")

Send("username{TAB}password{ENTER}")

Sleep(7000)

MouseMove(690, 106)

Sleep(2500)

MouseClick("left")

MouseClick("left")

Sleep(2000)

MouseMove(531, 677)

MouseDown("left")

MouseUp("left")

WinWait("GameHelper", "")

If Not WinActive("GameHelper", "") Then WinActivate("GameHelper", "")

WinWaitActive("GameHelper", "")

MouseMove(386, 341)

MouseDown("left")

MouseUp("left")

Sleep(20000)

MouseMove(982,10)

MouseMove(980,-5)

MouseDown("left")

MouseUp("left")

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("loader", "")

If Not WinActive("loader", "") Then WinActivate("loader", "")

WinWaitActive("loader", "")

Sleep(1000)

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("classname=#32770", "")

If Not WinActive("classname=#32770", "") Then WinActivate("classname=#32770", "")

WinWaitActive("classname=#32770", "")

Sleep(1000)

MouseMove(279, 295)

Sleep(4000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(80000)

MouseDown("left")

Sleep(2000)

MouseDown("left")

MouseUp("left")

Send("{HOME}")

Send("{ENTER}{ENTER}")

Sleep(2000)

MouseMove(412, 475)

MouseDown("left")

MouseUp("left")

MouseMove(493, 560)

MouseDown("left")

MouseUp("left")

Sleep(2000)

WinWait("Dekaron", "")

If Not WinActive("Dekaron", "") Then WinActivate("Dekaron", "")

WinWaitActive("Dekaron", "")

Sleep(2000)

MouseMove(519, 712)

MouseDown("left")

MouseUp("left")

Send("username{TAB}password{ENTER}")

Sleep(7000)

MouseMove(690, 106)

Sleep(2500)

MouseClick("left")

MouseClick("left")

Sleep(2000)

MouseMove(531, 677)

MouseDown("left")

MouseUp("left")

WinWait("GameHelper", "")

If Not WinActive("GameHelper", "") Then WinActivate("GameHelper", "")

WinWaitActive("GameHelper", "")

MouseMove(386, 341)

MouseDown("left")

MouseUp("left")

Sleep(20000)

MouseMove(982,10)

MouseMove(980,-5)

MouseDown("left")

MouseUp("left")

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("loader", "")

If Not WinActive("loader", "") Then WinActivate("loader", "")

WinWaitActive("loader", "")

Sleep(1000)

MouseMove(139, 69)

MouseDown("left")

MouseUp("left")

WinWait("classname=#32770", "")

If Not WinActive("classname=#32770", "") Then WinActivate("classname=#32770", "")

WinWaitActive("classname=#32770", "")

Sleep(1000)

MouseMove(279, 295)

Sleep(3000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(1000)

MouseDown("left")

MouseUp("left")

Sleep(90000)

MouseDown("left")

Sleep(2000)

MouseDown("left")

MouseUp("left")

Send("{HOME}")

Send("{ENTER}{ENTER}")

Sleep(2000)

MouseMove(412, 475)

MouseDown("left")

MouseUp("left")

MouseMove(493, 560)

MouseDown("left")

MouseUp("left")

Sleep(2000)

WinWait("Dekaron", "")

If Not WinActive("Dekaron", "") Then WinActivate("Dekaron", "")

WinWaitActive("Dekaron", "")

Sleep(2000)

MouseMove(519, 712)

MouseDown("left")

MouseUp("left")

Send("username{TAB}password{ENTER}")

Sleep(7000)

MouseMove(690, 106)

Sleep(2500)

MouseClick("left")

MouseClick("left")

Sleep(2000)

MouseMove(531, 677)

MouseDown("left")

MouseUp("left")

WinWait("GameHelper", "")

If Not WinActive("GameHelper", "") Then WinActivate("GameHelper", "")

WinWaitActive("GameHelper", "")

MouseMove(386, 341)

MouseDown("left")

MouseUp("left")

Sleep(20000)

MouseMove(982,10)

MouseMove(980,-5)

MouseDown("left")

MouseUp("left")


[font="Arial Black"]Looking for a partner in making Perfect Bot for DEKARONPm me if you wanna join.....[/font]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0