I use Mutt. I want a dock icon to launch it. Is such a thing possible?
I'm looking for a way to add a second Terminal icon to the Dock which lets me launch a specific command, "mutt" in this instance.
I want to group this icon with the other app icons, ie I'd rather not drop a .command file into the right-hand "documents" section of the dock.
Open /Applications/Utilities/AppleScript Editor
and enter the following:
tell application "Terminal" to do script "mutt"
Save as application anywhere you want, then drag from there to the Dock.
You might need to specify mutt's absolute path. You get that from Terminal by entering
which mutt
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句