Re: installers
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]