cag8f Posted February 14, 2017 Posted February 14, 2017 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.
JohnOne Posted February 14, 2017 Posted February 14, 2017 Short answer, No. AutoIt has had no changes since then that would allow its scripts to be ran directly on Mac. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
cag8f Posted February 14, 2017 Author Posted February 14, 2017 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.
Moderators Melba23 Posted February 14, 2017 Moderators Posted February 14, 2017 cag8f, 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. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
RTFC Posted February 14, 2017 Posted February 14, 2017 (edited) 16 minutes ago, Melba23 said: some form of Windows emulator for Mac Cheer up, M23.Wine 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 February 14, 2017 by RTFC My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now