Sign in to follow this  
Followers 0
ghi

Unable to compile a script for ANSI

5 posts in this topic

Hi everyone. I'm in a bit of a pickle.

I need to run a script on a Windows XP machine at work. Unfortunately, due to security issues, I cannot actually compile the script on the same machine - I have to do it at home instead, on my Windows 7 machine, and then import it in on a CD.

Now, according to this webpage, I should have an option to compile the script "for ANSI", which would allow it to work on Windows 9x machines. But here's the compiler window I get instead:

Posted Image

Where's the option to compile for ANSI? Is it just not possible on a Windows 7 machine? (you have to bear in mind I'm a complete noob when it comes to this sort of thing)

If it's not possible, could someone with the right machine compile the script for me? This is all it is:

$answer = MsgBox(4, "Close locations", "This script will run in five seconds. Continue?")

If $answer = 7 Then
    Exit
EndIf

Sleep(5000)

$count = 0
While $count < 1000
Send("^c")
Send("!{TAB}")
Sleep(500)
Send("^v")
Send("^{F11}")
Sleep(500)
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Sleep(500)
Send("!e")
Send("{UP}")
Send("{UP}")
Send("{ENTER}")
Send("{ENTER}")
Sleep(500)
Send("^s")
Send("+{TAB}")
Send("+{TAB}")
Send("+{TAB}")
Sleep(500)
Send("{F11}")
Send("{TAB}")
Send("!{TAB}")
Sleep(500)
Send("{DOWN}")

Thank you!!!

Share this post


Link to post
Share on other sites



From help file, Using AutoIt >> Unicode Support

Note: the Unicode version of AutoIt (AutoIt3.exe) and scripts compiled in Unicode mode will only run on Windows NT/2000/XP/2003/Vista and later machines. To allow scripts to run on Windows 9x scripts you must use an older version of AutoIt. The last version compatible with Windows 9x was 3.2.12.x.


This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites

Thank you both - I knew I was missing something! I shall give it a try tonight.

Share this post


Link to post
Share on other sites

I need to run a script on a Windows XP machine at work ... an option to compile the script "for ANSI", which would allow it to work on Windows 9x machines.

FYI, Windows XP does not fall under Windows 9x.

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