Re: Modifying AS .app packages from the command line...
Re: Modifying AS .app packages from the command line...
- Subject: Re: Modifying AS .app packages from the command line...
- From: Jean-Christophe Helary <email@hidden>
- Date: Sat, 16 Jun 2018 00:18:56 +0900
Ok, I think I found the answer myself...
Just do osadecompile appname.app > appname.applescript
edit the thing and
osacompile appname.applescript appname.app
Pretty cool to be able to do all that over ssh :)
JC
> On Jun 15, 2018, at 23:17, Jean-Christophe Helary <email@hidden>
> wrote:
>
> I was trying to modify an AS application by replacing the main.scpt file with
> the compiled version of the new script but that did not work (the app threw
> an error when launched).
>
> Basically I was ssh'ing to my wife's machine and wanted to do everything from
> the command line.
>
> I can see that it's possible to osacompile to an .app but I don't see how I
> can edit an .app and save it. Any idea ?
>
>
> Jean-Christophe Helary
> -----------------------------------------------
> http://mac4translators.blogspot.com @brandelune
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden