Re: Listing contents of Spotlight comment fields in folder
Re: Listing contents of Spotlight comment fields in folder
- Subject: Re: Listing contents of Spotlight comment fields in folder
- From: Michelle Steiner <email@hidden>
- Date: Mon, 14 May 2007 15:14:37 -0700
On May 14, 2007, at 1:58 PM, Ernest Schaal wrote:
What is the best way to get the comment message?
Here is my solution:
set the comment_list to {}
tell application "Finder"
try
set source_folder to the first Finder window
on error
set source_folder to the desktop
end try
repeat with this_item in the source_folder
if the comment of this_item is not "" then copy the comment of
this_item to the end of the comment_list
end repeat
end tell
set text item delimiters to return
set comment_log to comment_list as text
set text item delimiters to ""
comment_log
-- Michelle
--
Windows was always a mystery to me; the biggest mystery being "Why
does anyone want to use this?"
_______________________________________________
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