|
|
Sorry for the mess
I have no idea why this worked on my system, I tested it over and over before posting it. Now I just read the comments and tried it on a fresh OS X install and it doesn't work right. Anyway, here are better instructions:
Note: Make sure TextEdit is not running before you type line 5, otherwise it will not run with the rights of the superuser. This seems to cause the kCGSErrorNoneAvailable error message. TextEdit will open up with an empty window. If it's not empty because of previous attempts, clear anything in the window Now copy these two lines into the empty document: #!/bin/sh open -a "/Applications/BBEdit/BBEdit 6.1 for OS X" $* Save the document and quit TextEdit It should work now... Let me know if it doesn't.
Got it!
Thanks, the new version worked. The problem was the quotation marks, the original example had an extra set of single quotes. Once this was fixed, the script ran beautifully. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|