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:
John Delacour <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 16 Jan 2006 10:06:12 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (12 lines)
At 9:01 pm +1100 16/1/06, Shane Stanley wrote:

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

Terrific!

JD

ATOM RSS1 RSS2