• 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
Tiger breakage: get item of class record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tiger breakage: get item of class record


  • Subject: Tiger breakage: get item of class record
  • From: Gnarlodious <email@hidden>
  • Date: Wed, 04 May 2005 17:42:44 -0600

The called script returns a record :

tell application "Finder" to ((container of (container of (path to me))) as
string) & inputScriptPath
tell application "System Events" to set masterList to do script result
set folderList to (get the |folder| of masterList as record)


Note that in Tiger the script returns a string, so I added " as record" to
get the |folder|.

Here's what I get:

{«class form»:«constant ****usrp», «class want»:property, «class
seld»:"folder", from:"{|folder|:{alias
\"Rachel:Scripting:ApplicationMenus:FinderScripts:Finder:\"}, |file|:{}}"}

So my question is, how will I extract the " from:" item?

And additionally, what is all that other newfangled stuff? Looks like class
warfare.

-- Gnarlie


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: What is the best way to get the name (without the extension) of a file?
  • Next by Date: Re: What is the best way to get the name (without the extension) of a file?
  • Previous by thread: Re: exporting tagged text out of filemaker to indesign
  • Next by thread: Getting filename without extension...
  • Index(es):
    • Date
    • Thread