Sign in to follow this  
Followers 0
lilshortwun

Help making a window!

19 posts in this topic

How do I make a window? I know how to add the gui button and text but I don't know how to place them or how to resize the window. HELP!!!

Share this post


Link to post
Share on other sites



Check out Gui builder when in Scite(Alt+G). I believe thats what you wanted.


While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

Share this post


Link to post
Share on other sites

wtf when I press Alt+G it doesn't do anything.

Share this post


Link to post
Share on other sites

Ok I open up SciTE Script Editor. And look at top. I see tool. I look into it... Sees.. Compile, Build, Go, ect. But I don't see any GUI Builder!

Share this post


Link to post
Share on other sites

OOOH! Thanks! No wonder I didn't see that option.

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Oh one more thing. I've just tested it. How do you edit the window you've just made if you messed up?

Edited by lilshortwun

Share this post


Link to post
Share on other sites

Oh one more thing. I've just tested it. How do you edit the window you've just made if you messed up?

Edit the code it produced for you?

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

How do you reedit the window if you messed something up?

Share this post


Link to post
Share on other sites

If you messed up you either:

A ) Start again

B ) Open up the .kxf and edit it there (IF you used koda) or:

C ) Play with the Values of the controls until they work. :)

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

Just edit the coordinates in the GUICtrlCreateButton function

From help file:

GUICtrlCreateButton ( "text", left, top [, width [, height [, style [, exStyle]]]] )

"left" and "top" are the number of pixels from the left or top where you want the button to be placed.

Edited by BALA

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites

Please help me once more. No matter what I do, I can't seem to under how to do this. I got a button called button_24. How do I make it so when I click on it it pops up a window?

Share this post


Link to post
Share on other sites

$button_24 = GUICtrlCreateButton("Pop-up", 40, 10, 120)
GUICtrlSetOnEvent($button_24, "Pop") ; Tells to go to function "Pop()"

;Function
Func Pop()
    MsgBox(0, "Hello", "Hi!") ; Makes a dialog box pop-up
EndFunc


[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites

Oh how do you do the progress bar? I want it so I click on a button and it animates.

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Oh thanks so much for the help

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