Jump to content

Problems with starting GUI-Scripts


Timo
 Share

Recommended Posts

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

  • Developers

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

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:
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...