MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Mime-Version:
1.0
Content-Type:
text/plain; charset="iso-8859-1" ; format="flowed"
Date:
Mon, 16 Jan 2006 20:51:51 +0800
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Peter N Lewis <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
quoted-printable
Sender:
Macintosh Scripting Systems <[log in to unmask]>
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