Re: Dynamic creation of an AppleScript via AppleScript


2551phil
 


 The goal is to have some Apple Script commands in a plain text file to be used as a template.

On top of what Chris said, you can also create and run AppleScripts as .sh files.

Just write your AppleScript with a shebang targeting osascript:

#! /usr/bin/osascript
display dialog "hello, world"


Best


Phil

Join applescript@apple-dev.groups.io to automatically receive all group messages.