• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Modifying AS .app packages from the command line...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Modifying AS .app packages from the command line... (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Modifying AS .app packages from the command line...
  • Next by Date: TextEdit won't open a plain text file after writing to it with write cmd
  • Previous by thread: Modifying AS .app packages from the command line...
  • Next by thread: TextEdit won't open a plain text file after writing to it with write cmd
  • Index(es):
    • Date
    • Thread