• 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: Palm Desktop 4.1 (creating a memo)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Palm Desktop 4.1 (creating a memo)


  • Subject: Re: Palm Desktop 4.1 (creating a memo)
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 01 May 2003 20:45:53 +1000

On 1/5/03 6:42 PM +1000, Chris Page, email@hidden, wrote:

> I think this is an odd corner of AppleScript. I'd almost expect it
> always require an intermediate 'contents of' to access the property of
> a target object.

I've seen similar problems in other apps, but it's only a problem if a
reference is involved. For example, using an app to hand:

tell application "InDesign 2.0.2"
tell document 1
set thePars to object reference of paragraphs of story 1
repeat with i from 1 to count of thePars
contents of item i of thePars
end repeat
repeat with aPar in thePars
contents of aPar
end repeat
end tell
end tell

The contents in the first repeat returns the contents property, and the
second needs an extra "contents of" to do the same. I've seen the same thing
in lots of other apps.

So I guess the question is: what are you doing different to them?

--
Shane Stanley, email@hidden
_______________________________________________
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.

References: 
 >Re: Palm Desktop 4.1 (creating a memo) (From: Chris Page <email@hidden>)

  • Prev by Date: Re: Sorting files, making folders
  • Next by Date: Re: iTunes 4 & Artwork scripting
  • Previous by thread: Re: Palm Desktop 4.1 (creating a memo)
  • Next by thread: Re: Palm Desktop 4.1 (creating a memo)
  • Index(es):
    • Date
    • Thread