• 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: Launching TextEdit with a TEXT document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Launching TextEdit with a TEXT document
      • From: Paul Berkowitz <email@hidden>
    • Re: Launching TextEdit with a TEXT document
      • From: Doug McNutt <email@hidden>
References: 
 >Re: Launching TextEdit with a TEXT document (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: UI Scripting Display's Resolution
  • Next by Date: Re: Launching TextEdit with a TEXT document
  • Previous by thread: Re: Launching TextEdit with a TEXT document
  • Next by thread: Re: Launching TextEdit with a TEXT document
  • Index(es):
    • Date
    • Thread