• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Make Bwana work with recent Safari releases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make Bwana work with recent Safari releases


  • Subject: Make Bwana work with recent Safari releases
  • From: Lists <email@hidden>
  • Date: Tue, 29 Oct 2013 15:09:25 -0700

I finally got tired of not being able to display a formatted man page in Safari 6 and up using Bwana. For Example, man:ls, in Safari's address bar simply brings up a Google search page - No help.

The following script run from the Scripts menu gets formatted man pages back in Safari (if it is default browser).

# This script snippet will open man pages in Safari 6.x using Bwana.
# Prior to Safari v6, typing "man:command," e.g. man:ls, in Safari's location field would open a formatted man page. Now that initiates a search instead.
# Run this from the Scripts menu with Bwana installed anywhere you like. Bwana never actually opens but Safari will display a formatted man page for a command entered.
# Bwana is here.  http://www.bruji.com/bwana/index.html

set x to text returned of (display dialog "Enter the name of a Unix manual to open." default answer "ls" buttons {"Cancel", "OK"} default button 2)
set mancmd to "man:" & x
open location mancmd
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Make Bwana work with recent Safari releases
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: ASEditor Drag&Drop
  • Next by Date: Re: Article on missing Applescript in new iWork
  • Previous by thread: launch command bug
  • Next by thread: Re: Make Bwana work with recent Safari releases
  • Index(es):
    • Date
    • Thread