Jump to content
Sign in to follow this  
MooglePower

Porting to Mac OS

Recommended Posts

MooglePower

I wrote a script for a specific environment that now wants to incorporate Mac as well as Windows boxes. Is it possible to port AutoIt scripts to Mac OS or will I have to rewrite it from the ground up in a different language? Is there a compiler for Mac OS?

I realize that a lot of things (drive mapping, for example) work different in Mac OS than they do in Windows, so I'll have to do some rewriting regardless of whether it's possible or not to do a smooth port.

Share this post


Link to post
Share on other sites
MvGulik

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.

Nope. "Windows Gui" actually means for "Windows OS GUI".

(... If need be.)


"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites
MooglePower

Drat! Thanks for the info.

Maybe it'd be possible to create some sort of wrapper for the AutoIt code, perhaps in Java. I'll have to look into this.

Does anyone have any ideas?

Nope. "Windows Gui" actually means for "Windows OS GUI".

(... If need be.)

Share this post


Link to post
Share on other sites
Richard Robertson

You'll have to find some sort of Mac specific automation tool.

Share this post


Link to post
Share on other sites
Jason407

I wrote a script for a specific environment that now wants to incorporate Mac as well as Windows boxes. Is it possible to port AutoIt scripts to Mac OS or will I have to rewrite it from the ground up in a different language? Is there a compiler for Mac OS?

I realize that a lot of things (drive mapping, for example) work different in Mac OS than they do in Windows, so I'll have to do some rewriting regardless of whether it's possible or not to do a smooth port.

If your script is simple, this may work:

http://lifehacker.com/5440703/winebottler-turns-windows-programs-into-standalone-os-x-applications

Share this post


Link to post
Share on other sites
maqleod

Look into applescript and cocoa for automation tools and native gui apps for a Mac.

The two together function much the same for Mac OS as AutoIt does for Windows and will probably work better than any sort of wrapper you could write for AutoIt to function on a Mac.


[u]You can download my projects at:[/u] Pulsar Software

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  

×