• 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
Should 'properties' property include 'class'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Should 'properties' property include 'class'?


  • Subject: Should 'properties' property include 'class'?
  • From: Chris Page <email@hidden>
  • Date: Fri, 31 May 2002 18:32:06 -0700

[I also posted to applescript-implementors, but I thought users
might want to chime in on this topic.]

Should the 'properties' property return the 'class' property? Some
apps do, some don't. Does putting a 'class' property in a record
confer any undesirable behaviors upon that record in this case? For
example:

class of {class:string}
--> string

but of course you can't actually use it like a string:

character 1 of {class:string}
--> Can't get character 1 of {class:string}.

So this could be confusing for scripts. Is this a serious concern?
Is it useful/expected for 'properties' to return 'class'?

--
Chris Page - Mac OS Lead, Palm Desktop - Palm, Inc.

The other, other Chris.
_______________________________________________
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.

  • Prev by Date: Re: Write a prefs file
  • Next by Date: Applescript under load
  • Previous by thread: Re: Files and Aliases under OS 9.2 & AS 1.7
  • Next by thread: Applescript under load
  • Index(es):
    • Date
    • Thread