Jump to content
Sign in to follow this  
Jdavis

$SS_CENTER is being used without being declared

Recommended Posts

Jdavis

I've done a bit of searching on this prior to posting, so I apologize if this is something I overlooked.

I've been working on some AutoIt on another computer. I have no idea what version, but I had thought it was the latest. I sent my work to another computer, installed AutoIt, and the previously working scripts were failing because of the aforementioned error.

I was being informed of an error to the effect that $SS_CENTER was being used without being declared. I was able to fix this problem by changing $SS_CENTER to 0x01, but I would much rather use the variable.

It works now, with the hex values, but am I missing something?

Share this post


Link to post
Share on other sites
TehWhale

$SS_* are Static constants.

#Include <StaticConstants.au3>

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.