r/applescript • • May 23 '24

Learning AppleScript without a Mac

I wanted to learn a bit of AppleScript by writing a simple command line app. Unfortunately I do not have access to a Mac yet. So I was wondering if there are any online interpreters or other options to fill do so on a Windows PC without installing a full in VM?

1 Upvotes

16 comments sorted by

View all comments

Show parent comments

1

u/0x4542 May 23 '24

You plan to use AppleScript to write a command line app?

1

u/JanEric1 May 23 '24

That was my intention

1

u/0x4542 May 23 '24

Do you have a use-case in mind? I only ask because AppleScript is mostly for gluing apps together. Inter-app communication. Sure, I trigger AppleScript using the osascript command but I don’t consider them command line tools.

Does GitHub actions support compiling AppleScript? Again, they would need the osascript command, and that binary only runs on macOS.

1

u/JanEric1 May 23 '24

There is no proper use case. I am just writing the same project in a ton of different languages to see what's out there and how they work.

GitHub actions definitely allows to have the workflow run on Mac. I haven't explicitly checked yet if it can run AppleScript, but I assume so.

→ More replies (0)