Re: Launching TextEdit with a TEXT document
Re: Launching TextEdit with a TEXT document
- Subject: Re: Launching TextEdit with a TEXT document
- From: Walter Ian Kaye <email@hidden>
- Date: Tue, 17 Feb 2004 14:39:18 -0800
At 01:08p -0800 02/17/2004, Paul Berkowitz didst inscribe upon an
electronic papyrus:
On 2/16/04 7:08 PM, "Craig Hoyt" <email@hidden> wrote:
> At 17:41:09 -0800 02/16/2004, Walter Ian Kaye
> <email@hidden> wrote:
>
> Well there's another way you could do it:
>
> tell app "Finder" to open file filePath using application file id "text"
>
> TextEdit is an OSX app I wasn't aware that it had a creator type.
Typo there, but this works ("ttxt")
No, actually it was not a typo. 'ttxt' is SimpleText, 'text' is TextEdit.
As soon as you say 'is a string' that means it's already in quotes,
"Surrounded by quotes" gives the impression you mean something more like
this:
" " " " """"""""""" " " " " """"""""""""""""""""""""""""""""""" " " "
"""" Macintosh HD:Desktop Folder:My Folder:My File"""""
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Now _that's_ surrounded by quotes!
LOL :-D
-boo
_______________________________________________
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.