MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter N Lewis <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 16 Jan 2006 20:51:51 +0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
At 21:01 +1100 16/1/06, Shane Stanley wrote:
>On 16/1/06 8:58 PM, "Chuck Pelto" <[log in to unmask]> wrote:
>
>>  How can I capture the information in the manual to a text
>  > document? Simply?
>
>Put this in your Script menu:
>
>set theResult to (display dialog "Command to man:" default answer "")
>do shell script ("man -t " & (text returned of theResult) ¬
>     & " | open -f -a /Applications/Preview.app")

Bwana <http://www.bruji.com/bwana/> is also a 
good solution, then you just type "man:hdiutil" 
into Safari and it comes up nicely formatted and 
linked.

Enjoy,
    Peter.

-- 
<http://www.stairways.com/>  <http://download.stairways.com/>

ATOM RSS1 RSS2