Jump to content

autoit version update


yucatan
 Share

Recommended Posts

hi i have updated my autoit version and now i get this how i can fix this ?

>"D:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\temp\client.au3" /autoit3dir "D:\Program Files\AutoIt3" /UserParams

+>04:21:14 Starting AutoIt3Wrapper v.1.10.1.12 Environment(Language:0413 Keyboard:00020409 OS:WIN_XP/Service Pack 2 CPU:X86 ANSI)

>Running AU3Check (1.54.13.0) from:D:\Program Files\AutoIt3

C:\temp\client.au3(155,26) : WARNING: $WM_NOTIFY: possibly used before declaration.

GUIRegisterMsg($WM_NOTIFY,

~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3(260,79) : WARNING: $WS_VSCROLL: possibly used before declaration.

$message = GuiCtrlCreateEdit("", 140, 56, 300, 83,$ES_AUTOVSCROLL+$WS_VSCROLL)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3(363,65) : WARNING: $WS_EX_ACCEPTFILES: possibly used before declaration.

GUICreate("Bsp "&$VERSION,320,250, 400,400,-1,$WS_EX_ACCEPTFILES)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3(155,26) : ERROR: $WM_NOTIFY: undeclared global variable.

GUIRegisterMsg($WM_NOTIFY,

~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3(70,20) : ERROR: _IsPressed(): undefined function.

If _IsPressed ('0D')

~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3 - 2 error(s), 3 warning(s)

!>04:21:14 AU3Check ended.rc:2

+>04:21:20 AutoIt3Wrapper Finished

>Exit code: 0 Time: 9.635

Edited by yucatan
Link to comment
Share on other sites

hi i have updated my autoit version and now i get this how i can fix this ?

>"D:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\temp\client.au3" /autoit3dir "D:\Program Files\AutoIt3" /UserParams

+>04:21:14 Starting AutoIt3Wrapper v.1.10.1.12 Environment(Language:0413 Keyboard:00020409 OS:WIN_XP/Service Pack 2 CPU:X86 ANSI)

>Running AU3Check (1.54.13.0) from:D:\Program Files\AutoIt3

C:\temp\client.au3(155,26) : WARNING: $WM_NOTIFY: possibly used before declaration.

GUIRegisterMsg($WM_NOTIFY,

~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3(260,79) : WARNING: $WS_VSCROLL: possibly used before declaration.

$message = GuiCtrlCreateEdit("", 140, 56, 300, 83,$ES_AUTOVSCROLL+$WS_VSCROLL)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3(363,65) : WARNING: $WS_EX_ACCEPTFILES: possibly used before declaration.

GUICreate("Bsp "&$VERSION,320,250, 400,400,-1,$WS_EX_ACCEPTFILES)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3(155,26) : ERROR: $WM_NOTIFY: undeclared global variable.

GUIRegisterMsg($WM_NOTIFY,

~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3(70,20) : ERROR: _IsPressed(): undefined function.

If _IsPressed ('0D')

~~~~~~~~~~~~~~~~~~~^

C:\temp\client.au3 - 2 error(s), 3 warning(s)

!>04:21:14 AU3Check ended.rc:2

+>04:21:20 AutoIt3Wrapper Finished

>Exit code: 0 Time: 9.635

You're missing includes...

Looks like you need:

#include <WindowsConstants.au3>
#include <Misc.au3>
Link to comment
Share on other sites

okee works fine now thx

Hi,

you may have a look at Organize includes (in my sig)

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

  • Developers

Which is also standardly build into AutoIt3Wrapper and will run one time when you add:

#AutoIt3Wrapper_Add_Constants=y

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