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 22:12:47 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
At 9:01 pm +0000 16/1/06, John Delacour wrote:

>--------
>set x to text returned of Â
>   (display dialog "Command to man:" default answer "")
>do shell script Â
>   "cd /tmp;man -t " &x& " > " &x& ".ps; open -a preview " &x& ".ps"
>--------

That will need a little elaboration.  If I answer File::Path or some 
other Perl module, it fails, for obvious reasons.

JD

ATOM RSS1 RSS2