• 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: installers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installers


  • Subject: Re: installers
  • From: Bryan <email@hidden>
  • Date: Tue, 13 Nov 2001 13:32:56 -0500
  • Organization: Apex Radiology

You can also use the following (and many more variations on the theme):


set theFile to choose file with prompt "Select a script to open in
SimpleText" of type "TEXT"

tell application "Finder"
open file theFile using application file id "ttxt"
end tell


Bryan Kaufman


Michelle Steiner wrote:

> On 11/13/01 5:47 AM, Ricardo J. Seijo <email@hidden> wrote:
>
> >I need a script for opening a text file using a predetermined
> >application, much like the function used on installer CD's. How do I
> >assign that on AS? Thanks in advance.
>
> If foo is an alias to the file and bar is the name of the application,
> then this line will work. If foo is a file designation, then you need to
> add "as alias" to the end of the line.
>
> --Michelle
>
> tell application bar to open foo
>
> ----------------------------------------------------------------------
> | Michelle Steiner | We're not human beings having a spiritual |
> | | experience. We're spiritual beings |
> | email@hidden | having a human experience. |
> ----------------------------------------------------------------------
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users

[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]


References: 
 >Re: installers (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Box naming XTension for QXP 4.11 updated
  • Next by Date: RE: Fast Loading & updating of Handler Libraries
  • Previous by thread: Re: installers
  • Next by thread: select desktop folder using "choose folder"
  • Index(es):
    • Date
    • Thread