palobo Posted January 14, 2013 Share Posted January 14, 2013 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) CarlosNZ, dkoder, Dellu and 3 others 6 Link to comment
CarlosNZ Posted January 15, 2013 Share Posted January 15, 2013 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. Link to comment
palobo Posted January 15, 2013 Author Share Posted January 15, 2013 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
c95008 Posted October 7, 2013 Share Posted October 7, 2013 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. Link to comment
palobo Posted October 10, 2013 Author Share Posted October 10, 2013 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
Dellu Posted March 26, 2014 Share Posted March 26, 2014 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 Can you make this file action please? I have no idea on how to modify these scripts Link to comment
Jono Posted March 28, 2014 Share Posted March 28, 2014 Perdo will probably make a better one, but here's mine until he does http://d.pr/f/nvjW (Comment out the Growl part if you don't want it) Link to comment
Dellu Posted April 6, 2014 Share Posted April 6, 2014 Perdo will probably make a better one, but here's mine until he does http://d.pr/f/nvjW (Comment out the Growl part if you don't want it) Perfect. thank you very much. Link to comment
Dellu Posted April 6, 2014 Share Posted April 6, 2014 If Perdo is improving it; I would then request him to add "tag" into it. Two boxes side by side for adding both comment and tag to the same file. that will make it a nirvana for my workflow. Link to comment
TheThunderChimp Posted March 26, 2022 Share Posted March 26, 2022 Hello thanks for this, but it doesn't work anymore. Any idea for getting it to work in recent Alfred versions? Link to comment
TheThunderChimp Posted March 26, 2022 Share Posted March 26, 2022 On 1/14/2013 at 1:23 PM, palobo said: http://cl.ly/image/1l3f1O2m2C1W/Screen%20Shot%202013-01-14%20at%2018.21.58.png 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now