• 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: script object properties: seeking confirmation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script object properties: seeking confirmation


  • Subject: Re: script object properties: seeking confirmation
  • From: Andy Wylie <email@hidden>
  • Date: Mon, 11 Mar 2002 09:51:45 +1300

on 7/3/02 10:11 AM, Arthur J Knapp at email@hidden wrote:
[*]
> *Conceptually*, an object is simply a more powerful type of
> record, in that it carries around it's own commands.
[*]
which is not to say records can't carry simple 'getable' commands, still
you've got to tickle either to get anything out them...

property bar : missing value

foo()
display dialog (get bar's {name, rank, number}) as string

on foo()
try
set bar to {name:(get name of selection of application "Finder"),
rank:current date, number:random number}
return bar
on error errMsg number errNum
end try
end foo

_____________________________ Andy
_______________________________________________
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: script object properties: seeking confirmation (From: Arthur J Knapp <email@hidden>)

  • Prev by Date: Re: Script to reboot from X into 9 (avoiding data loss)
  • Next by Date: Re: Get Full Path of a Mounted Share
  • Previous by thread: Re: script object properties: seeking confirmation
  • Next by thread: Re: script object properties: seeking confirmation
  • Index(es):
    • Date
    • Thread