Jump to content

Recommended Posts

Posted

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.

Posted

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
Posted

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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:

  Reveal hidden contents

 

Posted (edited)
  On 2/14/2017 at 12:08 PM, Melba23 said:

some form of Windows emulator for Mac

Expand  

Cheer up, M23.:DWine for Mac exists.

  On 2/14/2017 at 12:08 PM, Melba23 said:

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

Expand  

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...