• 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
making a .app script from the command line with osacompile; convert a compiled script to a .app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

making a .app script from the command line with osacompile; convert a compiled script to a .app?


  • Subject: making a .app script from the command line with osacompile; convert a compiled script to a .app?
  • From: christopher ariza <email@hidden>
  • Date: Mon, 26 Aug 2002 20:43:11 -0400 (EDT)

im trying to make a double-clickable, .app script from the command line (a
shell script) in osx. i want to simply compile a script with osacompile
and make the result a .app.

using osacompile, we get a compiled, .scpt file. double clicking on this
opens Script Editor.

if -c and -t flags are set with osacompile to -c"aplt" -t"APPL", we get an
os9 application that tries to load classic in osx. this is not what i
want. the -x flag makes no difference either.

an option seems to be using osascript to make Script Editor open a
compiled script (produced with osacompile) and save-as an application. i
cannot, however, seem to get a scripting dictionary for Script Editor at
all. can one script a "save-as application" in Script Editor?

so my main questions:

1. how can one convert a compiled script to a .app from the command line?

2. can Script Editor be scripted, and if so, where are the docs or
scripting dicitionary? any examples of doing a "save-as application"
within Script Editor?

many thanks in advance!
christopher ariza
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: making a .app script from the command line with osacompile; convert a compiled script to a .app?
      • From: Philip Aker <email@hidden>
    • Re: making a .app script from the command line with osacompile; convert a compiled script to a .app?
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: [the great right-tool-for-the-job debate] Re: Running Subroutines from Other Scripts
  • Next by Date: Droplets don¹t launch?
  • Previous by thread: Re: coerce shell script output to AS datatypes?
  • Next by thread: Re: making a .app script from the command line with osacompile; convert a compiled script to a .app?
  • Index(es):
    • Date
    • Thread