Jump to content

Can I build an EXE from an AutoIt script, then run it on a Mac?

Recommended Posts


Hi all.  I'm interested in writing an AutoIt program in Windows, building it into an EXE, then running the EXE on a Mac.  Will the Mac run the EXE without issue?  Or will I have to find another solutions.

I've seen this post from 2012 which essentially says AutoIt can't be used on other operating systems.  But I just wanted to make sure this is still the case, and that it applies to EXEs created with AutoIt.

Thanks in advance.

Share this post

Link to post
Share on other sites

Thanks for that.  

>> AutoIt has had no changes since then that would allow its scripts to be ran directly on Mac.

Just to confirm though, when you say 'script' in this case, you clearly refer to a .au3 script.  But does that also apply to EXEs created from .au3 files?  I don't have too much experience with building EXE files, and am holding out hope that something about the EXE build process allows the EXE to run on any OS.  It sounds like that is not the case, and now that I type it out, it seems far fetched.  BUT, I just want to be clear for the future.

Share this post

Link to post
Share on other sites


As most AutoIt functions call the Windows API to do the work behind the scenes, and a "compiled" AutoIt executable is actually a tokenised script attached to an interpreter stub, there is no way AutoIt scripts or executables will run on other OSes than Windows. They apparently will run in a limited manner on Linux using the WINE emulator - perhaps you may be able to get them to run using some form of Windows emulator for Mac. But I would suggest that in that case you would be very likely to find that many functions would not work correctly.


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites
16 minutes ago, Melba23 said:

some form of Windows emulator for Mac

Cheer up, M23.:DWine for Mac exists.

16 minutes ago, Melba23 said:

will run in a limited manner on Linux using the WINE emulator

I've done some testing in this area with my Eigen4AutoIt package and various smaller scripts, which run fine. The main issues AFAIK are with unsupported drivers and some graphics.

EDIT: never tested anything on a Mac myself though (wouldn't touch one with a barge pole)

Edited by RTFC

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


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.