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 21:38:03 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
At 12:57 pm -0800 16/1/06, Paul Berkowitz wrote:

>But its file name displayed in the Preview title bar
>does end in .pdf, viz
>
>A4143742-9962-4A50-B789-6F7E0BB15AB8-1679-0000093E459F2615.pdf
>
>Quite a file name. No idea where it's located, Even Spotlight can't find it.

I wrote in my last message where it is, but that's only where Preview 
decides to create it; other apps will save it in different locations.

echo sometext | open -f
echo sometext | open -f -a textedit
echo sometext | open -f -a bbedit


>Perhaps it has only a "virtual" reality (i.e. it's an unsaved document):

It is STDOUT piped to STDIN

>Preview is an app that shows a file's path hierarchy when you click on the
>title bar...It must be an unsaved document, although Preview itself 
>is a read-only app.

It is not an unsaved document, and if you run the scripts above you 
will be able to see where BBEdit or TextEdit saves the docs:

Eremita:/var/tmp/folders.501/TemporaryItems jd$ ls
109141AC-3922-4B76-A2CB-B81C19C4B7E7-7993-00000828C82C426A.txt

JD

ATOM RSS1 RSS2