Jump to content

old script, well only 3 weeks old not working.


Recommended Posts

i get loads of errors on my scripts now. i have just installed Vista, and downloaded autoit.

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(34,74) : WARNING: $BS_AUTOCHECKBOX: possibly used before declaration.

$drop = GUICtrlCreateCheckbox("Inv S", 180, 150, 50, 25, $BS_AUTOCHECKBOX)

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(39,66) : WARNING: $ES_READONLY: possibly used before declaration.

$id = GUICtrlCreateInput("", 100, 100, 75, 20, BitOR($ES_READONLY,

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(39,78) : WARNING: $ES_CENTER: possibly used before declaration.

$id = GUICtrlCreateInput("", 100, 100, 75, 20, BitOR($ES_READONLY, $ES_CENTER)

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(54,82) : WARNING: $CBS_DROPDOWNLIST: possibly used before declaration.

$race = GUICtrlCreateCombo("Hume Male", 185, 50, 100, 25, BitOR($CBS_DROPDOWNLIST,

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(34,74) : ERROR: $BS_AUTOCHECKBOX: undeclared global variable.

$drop = GUICtrlCreateCheckbox("Inv S", 180, 150, 50, 25, $BS_AUTOCHECKBOX)

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3 - 1 error(s), 4 warning(s)

and ideas please.

Link to comment
Share on other sites

i get loads of errors on my scripts now. i have just installed Vista, and downloaded autoit.

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(34,74) : WARNING: $BS_AUTOCHECKBOX: possibly used before declaration.

$drop = GUICtrlCreateCheckbox("Inv S", 180, 150, 50, 25, $BS_AUTOCHECKBOX)

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(39,66) : WARNING: $ES_READONLY: possibly used before declaration.

$id = GUICtrlCreateInput("", 100, 100, 75, 20, BitOR($ES_READONLY,

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(39,78) : WARNING: $ES_CENTER: possibly used before declaration.

$id = GUICtrlCreateInput("", 100, 100, 75, 20, BitOR($ES_READONLY, $ES_CENTER)

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(54,82) : WARNING: $CBS_DROPDOWNLIST: possibly used before declaration.

$race = GUICtrlCreateCombo("Hume Male", 185, 50, 100, 25, BitOR($CBS_DROPDOWNLIST,

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3(34,74) : ERROR: $BS_AUTOCHECKBOX: undeclared global variable.

$drop = GUICtrlCreateCheckbox("Inv S", 180, 150, 50, 25, $BS_AUTOCHECKBOX)

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

C:\Users\Ace - PC\Desktop\Scripts\Fish v6.3.au3 - 1 error(s), 4 warning(s)

and ideas please.

The messages are telling you what's wrong. To include the definitions for button constants you have to have

#include <buttonconstants.au3>

and so on. This is a change in the recent versions of AutoIt to overcome the fact that very many constants were being included which weren't needed for every script.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
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...