Jump to content

Mistake with help file


Gillboss
 Share

Recommended Posts

i have vista 64..

and when i run au3 files, i get much problems that i didnt get in windows xp.

anyway:

i just want run Clock.au3 and:

>"D:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "D:\Program Files (x86)\AutoIt3\Examples\GUI\Advanced\Clock.au3"    
D:\Program Files (x86)\AutoIt3\Examples\GUI\Advanced\Clock.au3 (28) : ==> Can not redeclare a constant.:
Global Const $ULW_ALPHA      = 2
Global Const ^ ERROR
>Exit code: 1   Time: 0.329

thx

Link to comment
Share on other sites

i have vista 64..

and when i run au3 files, i get much problems that i didnt get in windows xp.

anyway:

i just want run Clock.au3 and:

>"D:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "D:\Program Files (x86)\AutoIt3\Examples\GUI\Advanced\Clock.au3"    
D:\Program Files (x86)\AutoIt3\Examples\GUI\Advanced\Clock.au3 (28) : ==> Can not redeclare a constant.:
Global Const $ULW_ALPHA      = 2
Global Const ^ ERROR
>Exit code: 1   Time: 0.329

thx

Delete this line because exists in one of your include files.

Global Const $ULW_ALPHA = 2
Edited by Andreik

When the words fail... music speaks.

Link to comment
Share on other sites

Delete this line because exists in one of your include files.

Global Const $ULW_ALPHA = 2
and i get this:

>"D:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "D:\Program Files (x86)\AutoIt3\Examples\GUI\Advanced\Clock.au3"    
 D:\Program Files (x86)\AutoIt3\Examples\GUI\Advanced\Clock.au3 (70) : ==> Variable used without being declared.:
 $iX = -(_WinAPI_GetSystemMetrics($SM_CXFRAME))
 $iX = -(_WinAPI_GetSystemMetrics(^ ERROR
 >Exit code: 1  Time: 0.309
Link to comment
Share on other sites

and i get this:

>"D:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "D:\Program Files (x86)\AutoIt3\Examples\GUI\Advanced\Clock.au3"    
 D:\Program Files (x86)\AutoIt3\Examples\GUI\Advanced\Clock.au3 (70) : ==> Variable used without being declared.:
 $iX = -(_WinAPI_GetSystemMetrics($SM_CXFRAME))
 $iX = -(_WinAPI_GetSystemMetrics(^ ERROR
 >Exit code: 1  Time: 0.309
#include <WindowsConstants.au3>

When the words fail... music speaks.

Link to comment
Share on other sites

  • Developers

Use the latest version of SciTE4AutoIt3 and add this Directive at the top of your script:

#AutoIt3Wrapper_Add_Constants=y

This will figure out for you what *Constants.au3 includes need to be added

Jos

Edited by Jos

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

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