USERS  
  Log-In  
  Register  
  Members  

Daniel A. Shockley's OnMyCommand prefs

Daniel A. Shockley's OnMyCommand Prefs

OnMyCommand is a great Contextual Menu plugin for Mac OS X! It lets you perform any UNIX commands on a control-clicked file in the Finder, and just added the ability to control-click on text and perform actions on it, or even using it as a parameter or command! It is made using the Abracode Contextual Menu Workshop, and is a free contextual menu they made using their workshop.

I've been enjoying thinking about all the things I can do with it. One simple example saves highlighted/clipboard text to a ClipLog.txt file in your Documents folder.

<dict>
	<key>ACTIVATION_MODE</key>
	<string>act_selected_or_clipboard_text</string>
	<key>COMMAND</key>
	<array>
		<string>echo "</string>
		<string>__OBJ_TEXT__</string>
		<string>" >> ~/Documents/ClipLog.txt;printf "\n" >> ~/Documents/ClipLog.txt</string>
	</array>
	<key>ESCAPE_SPECIAL_CHARS</key>
	<string>esc_none</string>
	<key>EXECUTION_MODE</key>
	<string>exe_silent</string>
	<key>NAME</key>
	<string>Clip/Text Log</string>
	<key>NOTES</key>
	<string>Saves the selected ro clipboard text to a log file.</string>
</dict>

Return to my main page

Daniel A. Shockley on Tuesday, September 23, 2002, using BBEdit for Macintosh.
Built With BBEdit

For more information, please