|
|
Perl script
Here (below) is a Perl script that will pass the appropriate 'man:' URL to Safari, opening either a new window or a new tab according to your choice. (Edit the last line of the script to choose which way you want it to work.)
Note that opening a new tab (as in the original script suggested in the article) requires that "Assistive Devices" be enabled in the Universal Access preferences. The script checks for this and shows you the Apple web page about enabling this if it is currently disabled.
As usual, you need to save this script into a file, make that file executable (with 'chmod +x') and make sure that file is in a folder that is on your execution PATH. Sample use (in a Terminal window), assuming you saved it in a file called "mann":
mann ps
The first would show the man page for 'ps'.
Perl script
I added the ability to modify the Bwana AppleScripts internally in the new version and made this script available with the new Bwana. All you have to do is change the script in the file scripts.strings in Bwana's resource folder. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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 |
|