Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Automator - get or display Spotlight Comments?

I have a workflow to set [or append to] Spotlight Comments, but it would help to show the existing comments first. How can I get an Automator workflow or application to display the Get Info windows for selected file[s]? [Or get the comments and put into a variable.] -Peter


[Using Lion on a MacBook Air]

Posted on Jan 11, 2012 8:25 AM

Reply
Question marked as Best reply

Posted on Jan 11, 2012 9:13 AM

You can use a Run AppleScript action to get the comment of an input item (e.g. from a selection or choose dialog), which can then be passed to a Set Value of Variable action (the Set Spotlight Comments for Finder Items action will accept a variable in its text field), for example:


onrun {input, parameters}

tellapplication"Finder"toreturncommentoffirstitemofinput

endrun

2 replies
Question marked as Best reply

Jan 11, 2012 9:13 AM in response to Peter Crownfield

You can use a Run AppleScript action to get the comment of an input item (e.g. from a selection or choose dialog), which can then be passed to a Set Value of Variable action (the Set Spotlight Comments for Finder Items action will accept a variable in its text field), for example:


onrun {input, parameters}

tellapplication"Finder"toreturncommentoffirstitemofinput

endrun

Automator - get or display Spotlight Comments?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.