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:
"J. Stewart" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 16 Jan 2006 08:24:39 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
On 1/16/06 at +1100 Shane Stanley said this

>> 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")


Or download and install ManOpen.
<http://www.clindberg.org/projects/ManOpen.html>

JBS
-- 
The tree of liberty must be refreshed from time to time with the blood of patriots and tyrants. It is its natural manure. - Thomas Jefferson

ATOM RSS1 RSS2