From: Marconi <[EMAIL PROTECTED]>
Date: May 9, 2008 3:59:42 PM PDT
Subject: Contextual Menu 'Notes' Script
One thing I often do is add a file of notes to a folder's contents
with some info or explanation about the folder's contents. The
notes are always plain text done in BBEdit. So I'd like to
streamline the process a bit.
What I'd like to do is right click in a folder window and select
from the contextual menu 'Add Notes' and have BBEdit create a new,
empty files named 'Notes' in that folder then open that file for
editing.
Aside from the fact that I cannot get my script syntax right, when
placed in the contextual menu items folder, it does not show up
upon a right click.
Can an AppleScript be included in a .bundle to create a contextual
menu item? Any and all help appreciated.
Check OnMyCommand:
<http://www.macupdate.com/info.php/id/9283/onmycommand>
OnMyCommand is a UNIX shell scripts and AppleScript executor.
You can build your own Contextual Menu Item or GUI application.
I use it to add notes to one file. The script I wrote copies selected
text to a dated entry in my file ClipLog. OnMyCommand is very
flexible, supported and free.
This is the text of my script:
date +%Y%m%d.%H%M%S>>~/Documents/ClipLog.txt;echo __OBJ_TEXT__ >> ~/
Documents/ClipLog.txt;printf "\n\n" >> ~/Documents/ClipLog.txt;
--
Bill Muench
Santa Cruz, California
--
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>