Authenticity Posted February 20, 2009 Share Posted February 20, 2009 Don't use GUIOnEventMode, 1 and a message loop... The purpose of the While 1..WEnd in this kind of program is to hold it from executing the code and immediately exit because nothing hold it from looping and enable the user to "wake it up" upon user event posting. Is it clear? lol I think I'm talking gibberish. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 20, 2009 Developers Share Posted February 20, 2009 What part of your code ensures the Gui is build? This script seems to me to be cut in 2 pieces that really belong together. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Toast Posted February 20, 2009 Author Share Posted February 20, 2009 OH MAN! I'M AN IDIOT! I had Opt("GUIOnEventMode", 1) and I completely forgot to take it off. Now the script is opening fine, thanks guys. Link to comment Share on other sites More sharing options...
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