Re: Getting info for files in Finder selection
Re: Getting info for files in Finder selection
- Subject: Re: Getting info for files in Finder selection
- From: Stephen Jonke <email@hidden>
- Date: Fri, 13 May 2005 10:17:17 -0400
I think you are looking for this:
tell application "Finder"
set theSelection to selection
repeat with i in theSelection
set fi to properties of i
end repeat
end tell
Select a file and run this and look in the Results to see the
information that is available. You use the following form to get the
individual bits out:
tell application "Finder"
set theSelection to selection
repeat with i in theSelection
set fi to properties of i
set modDate to modification date of fi
set ownerPrivs to owner privileges of fi
end repeat
end tell
And so forth. Note that I'm running this in Panther, but it should be
the same in Tiger.
Steve
On May 13, 2005, at 5:55 AM, pete boardman wrote:
tell application "Finder" -- Tiger 10.4.
set theSelection to selection
repeat with i in theSelection
set fi to info for i
end repeat
end tell
_______________________________________________
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