Sign in to follow this  
Followers 0
Timo

Problems with starting GUI-Scripts

5 posts in this topic

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

Share this post


Link to post
Share on other sites



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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thanks.

:lmao:

Timo


Bye...,Timo

Share this post


Link to post
Share on other sites

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 :lmao:

Share this post


Link to post
Share on other sites

it is always better to use the installer version than the zip :lmao:

<{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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0