• 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: TIDs and other questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TIDs and other questions


  • Subject: Re: TIDs and other questions
  • From: Paul Skinner <email@hidden>
  • Date: Sun, 27 Apr 2003 14:48:33 -0400

On Friday, April 25, 2003, at 05:18 PM, John Delacour wrote:

At 4:52 pm -0400 25/4/03, Deivy Petrescu wrote:

On Friday, April 25, 2003, at 03:23 PM, John Delacour wrote:

This will work:

tell application "Eudora"
MY text item delimiters
end tell

-- and this will not:

tell application "Eudora"
text item delimiters
end tell


What do you mean by "it will not work" ?

What I mean is that 'text item delimiters' in the scope of an application will give an error and not even compile:

tell application "TextEdit" to get text item delimiters

but

tell application "TextEdit" to get MY text item delimiters will work fine.

And it is NEVER necessary to tire the keyboard with "Applescript's"

JD

PS. If I repeat it enough times, someone is going to prove me wrong :-)

Especially if you goad me like that :)
Inheritance can break this method due to your assumption of the identity of 'me'.

property parent : application "TextEdit"
tell application "TextEdit" to get my text item delimiters
-->Compiles, then errors with 'TextEdit got an error: An error of type 10 has occurred.'
_______________________________________________
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: TIDs and other questions
      • From: John Delacour <email@hidden>
References: 
 >Re: TIDs and other questions (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Recording actions
  • Next by Date: Re: URL Access Scripting
  • Previous by thread: Re: TIDs and other questions
  • Next by thread: Re: TIDs and other questions
  • Index(es):
    • Date
    • Thread