Jump to content

Recommended Posts

Posted

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
  • Moderators
Posted

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?

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.

Posted

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. :)

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
Posted

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?

Posted

$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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...