Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goodguyry/update-comments
Manage Spotlight comments from Finder's toolbar
https://github.com/goodguyry/update-comments
Last synced: 6 days ago
JSON representation
Manage Spotlight comments from Finder's toolbar
- Host: GitHub
- URL: https://github.com/goodguyry/update-comments
- Owner: goodguyry
- Created: 2013-04-19T02:04:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-19T02:23:08.000Z (over 11 years ago)
- Last Synced: 2024-04-15T00:16:46.611Z (7 months ago)
- Language: AppleScript
- Size: 153 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Update Comments
==================An AppleScript application (with a ridiculously unimaginative name) for managing Spotlight comments.
Drag it to your Finder toolbar to quickly add, edit, replace and remove Spotlight comments. It's got a few odd bugs, mostly related to listing comments for removal or editing, but nothing that prevents using it.
## Setup
### Run it as you would any other AppleScript
The easiest way to do this is to drop the script file into your _~/Library/Scripts_ folder and run it from the Script menu in the menu bar. To enable the Script menu, open AppleScript Editor (/Applications/Utilities/AppleScript Editor.app) and enable the option for "Show Script menu in menu bar" in the AppleScript Editor's preferences window.### Save it as an application
Open the script in AppleScript Editor and select "Application" from the _Save As_ menu. From there, there are a couple extra steps.1. **Add the icon file to the Resources folder**
Right-click your application file and select "Show Package Contents". Open the _Contents/Resources_ folder and drag the included .icns file (or your own, whatever) into this folder. Go ahead and copy the filename to the clipboard.
3. **Alter the icon file key in the plist to enable the icon file.**
In the _Contents_ folder is your Info.plist file. Open this file in your editor of choice and find the ````CFBundleIconFile```` key. Change the associated ```````` entry (directly after ````CFBundleIconFile````) to reflect the name of your icon file (without the file extension). If you've used the included icon file, your plist file should read:
````
CFBundleIconFile
update-comments
````
Keep that plist file open, dawg...
2. **Add a key to the plist file so the dock icon will remain hidden.**
In order to keep New File from showing a dock icon (which, IMHO is dumb and pointless for this type of application), you need to _add_ the following to the plist file:
````
LSUIElement
1
````## Known issues
Sometimes, when listing comments to remove/replace, comments are duplicated or not listed.