Sign in to follow this  
Followers 0
ali

GUI navigational script

11 posts in this topic

How can i make a gui script that would link to othr au3 scripts?

e.g. it should load a gui with 3 or 4 buttons. each one would be linked to another script.

I know how to make it link with the other scripts (i think!! lol)...but i dunno how2 make the gui. Please help.

Share this post


Link to post
Share on other sites



#cs - ### Generated by AutoBuilder 0.4 -- do not modify ###
141 199
0   4   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
button  $button_1   Button 1    10  20  70  30  0   0   
button  $button_2   Button 2    10  60  70  30  0   0   
button  $button_3   Button 3    10  100 70  30  0   0   
button  $button_4   Button 4    10  140 70  30  0   0   
#ce - ### End of Dump ###

;Script generated by AutoBuilder 0.4


Opt("GUICoordMode", 1)
Opt("GUINotifyMode", 1)
GuiCreate("MyGUI", 139,194,(@DesktopWidth-139)/2, (@DesktopHeight-194)/2 , 0x04CF0000)

$button_1 = GUISetControl("button", "Button 1", 10, 20, 70, 30)
$button_2 = GUISetControl("button", "Button 2", 10, 60, 70, 30)
$button_3 = GUISetControl("button", "Button 3", 10, 100, 70, 30)
$button_4 = GUISetControl("button", "Button 4", 10, 140, 70, 30)

GuiShow()

While 1
    sleep(100)
    $msg = GuiMsg(0)
    Select
    Case $msg = -3
        Exit
    Case $msg = 4
       ;;;
    Case $msg = $button_1
        script_1
    Case $msg = $button_2
        script_2
    Case $msg = $button_3
        script_3
    Case $msg = $button_4
        script_4
    EndSelect
WEnd
Exit

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

what is autobuilder and where can i get it?

UPDATE: I found autobuilder 0.4.2 but the help thingie doesnt wrk..

Edited by ali

Share this post


Link to post
Share on other sites

It didnt work for me...(the script)..it sed that GUIcreate was an error!! Help!!

Share this post


Link to post
Share on other sites

It didnt work for me...(the script)..it sed that GUIcreate was an error!! Help!!

<{POST_SNAPBACK}>

what is the error?

Are you using ver 3.0.103 ?


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

oh...nah..umm can sum1 zip it and attach it 2 their post here plz?

Share this post


Link to post
Share on other sites

oh...nah..umm can sum1 zip it and attach it 2 their post here plz?

<{POST_SNAPBACK}>

why?? its available in the unstable directory...

check the v3 Developers forum for V3.0.103 Unstable


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

it is an exe...the zip iss a docs file....i need a zip of the actual autoit.exe 3.0.103......i cant use the exe on this pc..

Share this post


Link to post
Share on other sites

bummer.

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

lol...so can sum1 install it and then zip it and attach it here???

EDIT: NVM...gt it

Edited by ali

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