Guest mustyrabbit Posted December 3, 2004 Posted December 3, 2004 Hi, I have installed the last stable version of AutoIt 3 and been playing around with it without any problems. I have read about the GUI features and tried those out as well, overwriting my files with the ones available from the link on the Sticky post above. My scripts run fine, and I'm very impress with what AutoIt 3 Beta can do, but for some reason, I can't compile those scripts. The #include statement says the GUIConstants.au3 file cannot be read, then all the GUIxxx functions are stated undefined. Is there a problem with my setup or the beta version is not yet capable of compiling scripts using GUI functions. Thanks a million!
Chris_1013 Posted December 3, 2004 Posted December 3, 2004 It should work OK. I'd suggest posting your script, just in case there is something funky, and someone else can try compiling it for you.
redndahead Posted December 3, 2004 Posted December 3, 2004 Make sure when you #Include the GuiConstants that you do it at the top of your script. I have had trouble when you do it at the bottom. red
Developers Jos Posted December 3, 2004 Developers Posted December 3, 2004 (edited) mustyrabbit said: Hi, I have installed the last stable version of AutoIt 3 and been playing around with it without any problems.I have read about the GUI features and tried those out as well, overwriting my files with the ones available from the link on the Sticky post above.My scripts run fine, and I'm very impress with what AutoIt 3 Beta can do, but for some reason, I can't compile those scripts. The #include statement says the GUIConstants.au3 file cannot be read, then all the GUIxxx functions are stated undefined.Is there a problem with my setup or the beta version is not yet capable of compiling scripts using GUI functions.Thanks a million!<{POST_SNAPBACK}>The 3.0.103 version is using a different registry key which means that aut2exe cannot find the Include directory... see HereYou could also copy the Guiconstants.au3 to the scriptdir .... Edited December 3, 2004 by JdeB 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.
MHz Posted December 3, 2004 Posted December 3, 2004 Also, the registry key changed. Ensure you have the latest editor etc. to recognize the new registry key.
Guest mustyrabbit Posted December 3, 2004 Posted December 3, 2004 Thanks a lot for the quick replies.I think you hit the nail on the head: registry key.I am using the zipped version of the software because I do not have admin rights to install it. Thus, no registry key has been set, nor could I change them.This is why I specified the full path in my Include statements: Quote #include "C:\Program Files\autoit\Include\GUIConstants.au3"GUICreate("Format C:\",270,100, 80,100)$progressbar1 = GUICtrlCreateProgress (30,40,200,20)$label = GUICtrlCreateLabel ("Please wait while your C: drive is being formatted...", 10, 10, 240)$button = GUICtrlCreateButton ("Cancel",95,70,70,20, $WS_DISABLED)GUISetState ()$wait = 120; wait 120ms for next progressstep$s = 0; progressbar-saveposition For $i = $s To 100GUICtrlSetData ($progressbar1,$i)Sleep($wait) NextAny suggestions?
Developers Jos Posted December 3, 2004 Developers Posted December 3, 2004 mustyrabbit said: Thanks a lot for the quick replies.I think you hit the nail on the head: registry key.I am using the zipped version of the software because I do not have admin rights to install it. Thus, no registry key has been set, nor could I change them.This is why I specified the full path in my Include statements:Any suggestions?<{POST_SNAPBACK}> strange that the Run works but the Compile doesn't.What is the date of the aut2exe & AutoitSC.bin files ? 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.
Guest mustyrabbit Posted December 3, 2004 Posted December 3, 2004 Great! I tried it manually and it worked fine... My problem was with the IDE, SciTE. I guess I should check the settings of the fancy notepad. The run feature works fine but the compile does not. Thanks for all your help...
Developers Jos Posted December 3, 2004 Developers Posted December 3, 2004 mustyrabbit said: Great!I tried it manually and it worked fine...My problem was with the IDE, SciTE.I guess I should check the settings of the fancy notepad. The run feature works fine but the compile does not.Thanks for all your help...<{POST_SNAPBACK}>The Last version of SciTE4AutoIt3 was modified so that all utilities like AU3Check,Compileau3 to handle both registry settings. Let me know if you still have problems when using the latest version.. 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.
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