Timo Posted February 13, 2005 Share Posted February 13, 2005 Hello together,if I want to run a script that uses the GUIConstants.au3 file e.g.:#include <GUIConstants.au3>GUICreate("Hello World", 200, 100) GUISetState(@SW_SHOW)Sleep(2000)I get the message that the file can´t be found.Starting the script in the autoscript-folder it runs. Saving the file in a different folder, I can't let it run.What have I done wrong? I downloaded the zip-version of autoit 3.1.0, do I need the installer version?Bye...,Timo Bye...,Timo Link to comment Share on other sites More sharing options...
Developers Jos Posted February 13, 2005 Developers Share Posted February 13, 2005 What have I done wrong? I downloaded the zip-version of autoit 3.1.0, do I need the installer version?<{POST_SNAPBACK}>AutoIT3 uses the following entry from the registry:HKEY_LOCAL_MACHINE, "Software\\AutoIt v3\\AutoIt" " InstallDir" and adds "\include" to it to find the INCLUDE files.The installer creates this registry entry so would fix it.... 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...
Timo Posted February 13, 2005 Author Share Posted February 13, 2005 Thanks. Timo Bye...,Timo Link to comment Share on other sites More sharing options...
jpm Posted February 13, 2005 Share Posted February 13, 2005 Hello together,if I want to run a script that uses the GUIConstants.au3 file e.g.:#include <GUIConstants.au3>GUICreate("Hello World", 200, 100) GUISetState(@SW_SHOW)Sleep(2000)I get the message that the file can´t be found.Starting the script in the autoscript-folder it runs. Saving the file in a different folder, I can't let it run.What have I done wrong? I downloaded the zip-version of autoit 3.1.0, do I need the installer version?Bye...,Timo<{POST_SNAPBACK}>it is always better to use the installer version than the zip Link to comment Share on other sites More sharing options...
Blue_Drache Posted February 14, 2005 Share Posted February 14, 2005 it is always better to use the installer version than the zip <{POST_SNAPBACK}>Or just specify the directory in the include statement.#include "C:\program files\autoit3\include\string.au3" Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache 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