Re: extracting info from list returned by info for
Re: extracting info from list returned by info for
- Subject: Re: extracting info from list returned by info for
- From: Tim Mansour <email@hidden>
- Date: Sun, 4 Oct 2009 09:56:09 +1100
2009/10/4 Sander Tekelenburg <email@hidden>:
> Please do not advise Newbies to use tell blocks where they are inappropriate.
> It's probably the single most common trap people fall into.
>
> This is the only right way:
>
> set theInfo to info for myFile
> set MARI to folder of theInfo
However the issue is somewhat muddied by the dictionary comment for "info for":
> This command is deprecated; use
> ‘tell application "System Events" to get the properties of …’
--
Tim Mansour <email@hidden>
"Ignorance more frequently begets confidence than does knowledge." --
Charles Darwin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden