• 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: Listing contents of Spotlight comment fields in folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Listing contents of Spotlight comment fields in folder (From: "Ernest Schaal" <email@hidden>)

  • Prev by Date: Re: Filemaker 8.5 stored applescript problem
  • Next by Date: Re: Listing contents of Spotlight comment fields in folder
  • Previous by thread: Re: Listing contents of Spotlight comment fields in folder
  • Next by thread: Re: AppleScript-Users Digest, Vol 4, Issue 227
  • Index(es):
    • Date
    • Thread