Sign in to follow this  
Followers 0
Juraci

How to change a Macro Reference?

4 posts in this topic

Hi, I need to change that macro reference on AutoIt: @ProgramFilesDir

I have many scripts that work on windows XP with this reference and now i need they to work in Win 7 but there is actually two Program Files dir:

C:\Program Files

And

C:\Program Files (x86)

I want to know if there is a way to make the macro @ProgramFilesDir point to "C:\Program Files (x86)" instead of "C:\Program Files"

Share this post


Link to post
Share on other sites



If your script is a 32 bit script, it will use the (x86) version.

Share this post


Link to post
Share on other sites

Thank you! I will compile all of my scripts cause I use to press F5 in AutoIt Editor when i wanted to use it...

Share this post


Link to post
Share on other sites

When you run the installer, it should ask which interpreter you want to run, the 64 bit or 32 bit. The next time you update, just select the 32 bit version if you work with that more.

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