Sign in to follow this  
Followers 0
uplink477

Help! Undeclared Variables after Reinstall?

4 posts in this topic

#1 ·  Posted (edited)

ok so yesturday my laptop died, which is no big drama i re-installed an image of my hard-disk i made when i first got the thing, but after reinstalling autoit none my scripts will run or compile i get an error message saying a varible hasnt been declared here is the line of code causeing this problem

$MainWindow = GUICtrlCreateEdit("", 8, 72, 505, 321, BitOR($ES_WANTRETURN,$WS_VSCROLL))

$MainWindow = GUICtrlCreateEdit("", 8, 72, 505, 321, BitOR($ES_WANTRETURN, ^error not declared

But this script worked fine before my reload, whats the go?

Edited by uplink477

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

#include <WindowsConstants.au3>

THERE ARE OTHERS THAT NEED INDIVIDUAL INCLUDES ALSO!

SINCE AUTOIT 3.2.12.0+

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

Change the title to your topic to something more descriptive than "Help" :duh: and something others can search for to find the answers to their problems later on down the line. (Not to mention something that people that can actually answer your question would even enter your post to look at it)


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Worked Great, Thanks Valuater

Edited by uplink477

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