Jump to content

Porting to Mac OS


Recommended Posts

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.

Link to comment
Share on other sites

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 ...
 

Link to comment
Share on other sites

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.)

Link to comment
Share on other sites

  • 3 weeks later...

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

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

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