Isildur Posted January 25, 2007 Posted January 25, 2007 How can I write a setup like the setup of Invertor Game.
Immensee Posted January 25, 2007 Posted January 25, 2007 Uhm, i don't know what the INVERTOR GAME is, but if u want to do something , you must first gain the knowledge of it, you must know, other people WON'T help you, you must do it yourself. alright, because i'm nice i will give a little (not working MUAHAHA) example: ;; Includes #include <GUIConstants.au3> ;; The Setup of this program $title = "My Setup [beta]" ;;Your Title (variable) $width = 500 ;;Your wanted width-size (var) $height = 400 ;;Your wanted height-size (var) $handle = GUICreate($title, $width, $height) ;;Create the GUI with the var's ;;Controls GUISetFont(11, 600 , 6) ;;Set the fontsize into 11, 'depth'=600 and extra's: italic(2)+underlined(4) $control1 = GUICtrlCreateLabel($title, 10, 10) GUISetFont(9, 400, 0) ;;Set the fontsize into 9(default), 'depth'=400(default) and no extra's $control2 = GUICtrlCreateLabel("Welcome to my just made setup!", 10, 30) GUISetState(@SW_SHOW, $handle) ;;Sets the state of a certain GUI, in this case, reveal the GUI ;;The loop, to constantly check events. While 1 $event = GUIGetMsg() ;;Event caller Select Case $event = $GUI_EVENT_CLOSE ;;The event if somebody closes the screen. ExitLoop EndSelect WEnd Exit Here, the whole thing you need for a starting thing!!! happy now? - me
someone Posted January 25, 2007 Posted January 25, 2007 For those that don't know invertor is a game Jon mentioned in the example scripts... http://www.autoitscript.com/forum/index.ph...amp;hl=invertorWhile I don't know exactly how he did that installer I have used an installer script by Daniel W., http://www.autoitscript.com/forum/index.ph...&hl=install (scroll through I recommend the install_modified ver)Its not the easiest thing to understand if your very new though. And I think there is a mistake in an If statement regarding start menu shortcuts. At any rate, its a very good script, it allows you to have a good looking installer for your programs.Good luck While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now