Fwd: Mac OSX: How to best keep Apple Scripts under version control

André Sintzoff andre.sintzoff at gmail.com
Tue Apr 13 02:22:24 CDT 2010


Oops, I forgot to reply to the list.


---------- Forwarded message ----------
From: André Sintzoff <andre.sintzoff at gmail.com>
Date: 2010/4/12
Subject: Re: Mac OSX: How to best keep Apple Scripts under version control
To: Marko Käning <mk-lists at email.de>


Hello,

2010/4/11 Marko Käning <mk-lists at email.de>:
>> Why are you not saving Apple Scripts in plain text format instead of
>> script one which is a compiled format?
> :) Because I have the script as some part of an .app package. There it resides in [.app package]:Resources:Scripts: in compiled format. Is it possible to have it also in un-compiled format in such a package???

I'm wondering how you generate the .app package.
Is it with AppleScript Editor and saving as "Application Bundle"
(fourth choice in the Save As... File Format)?
If yes, you could also save in plain text.

Afterwards, if you want to build the Application Bundle with the
command line instead of doing it manually with the AppleScript Editor,
you can
use :
osacompile -o foo.app foo.applescript
where foo.app is the name of the Application Bundle
foo.applescript is the name the plain text file with the script


André


More information about the Mercurial mailing list