Jump to content

Spotlight Comments With Ease


Recommended Posts

Screen%20Shot%202013-01-14%20at%2018.21.

 

Workflow Description

 

With this little workflow, you can select a bunch of files, trigger the workflow (hotkey or keyword) and type in the comments you’d like to add. The extension allows for a default action when encountering existing spotlight comments, as well as interactive mode and parameter options (more on that later).

 

 

Installation and Setup

 

Download and import. As for setup, there isn’t much to it. Simply define what your desired default action should be when encountering existing comments. Change property defaultOverwrite : "append"  accordingly. Possible options are append, replace and interactive.

 

 

Extension Usage

 

Triggering the extension and entering text without any of the following parameters will default the the behaviour discussed above, with the exception of delete of course.

  • -d — Will remove any spotlight comment from the selected files;
  • -a — Will append to existing comments;
  • -r — Will replace existing comments;
  • -i — Will function interactively allowing you to decide on a file by file basis. It will display the existing comment to facilitate your decision too ;)
There is no need to leave any space after the parameter but you can do so if you prefer (it will be stripped from the begging)

 
Link to comment
Great stuff. Any chance of making it a File Action, rather than just acting on the Finder selection?

 

Also, a notification on completion might be nice too.

 

But great work, I'll use this one quite a bit.

Sure, I'll look into that too.

 

Any other ideas for improvement?

Link to comment
  • 8 months later...

Thanks for this workflow! I've been using it a lot lately.

 

I agree - Having the workflow as a file action would be a great addition.

Hi,

 

Totally forgot about this request. I've put it on my todo list and will surely try and implement it if possible.

 

Cheers,

Pedro

Link to comment
  • 5 months later...
  • 2 weeks later...
  • 7 years later...
On 1/14/2013 at 1:23 PM, palobo said:

 

 

 

 

Workflow Description

 

 

 

 

 

With this little workflow, you can select a bunch of files, trigger the workflow (hotkey or keyword) and type in the comments you’d like to add. The extension allows for a default action when encountering existing spotlight comments, as well as interactive mode and parameter options (more on that later).

 

 

 

 

 

 

 

 

Installation and Setup

 

 

 

 

 

Download and import. As for setup, there isn’t much to it. Simply define what your desired default action should be when encountering existing comments. Change property defaultOverwrite : "append"  accordingly. Possible options are append, replace and interactive.

 

 

 

 

 

 

 

 

Extension Usage

 

 

 

 

 

Triggering the extension and entering text without any of the following parameters will default the the behaviour discussed above, with the exception of delete of course.

 

 

  • -d — Will remove any spotlight comment from the selected files;
  • -a — Will append to existing comments;
  • -r — Will replace existing comments;
  • -i — Will function interactively allowing you to decide on a file by file basis. It will display the existing comment to facilitate your decision too ;)

 

There is no need to leave any space after the parameter but you can do so if you prefer (it will be stripped from the begging)

 

 

 

 

Unfortunately, the link doesn't work anymore. I imagine it won't work in Alfred 4 though, give that Dellu's version didn't wk. Any update on this?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...