Re: Printing PS files from QuarkXPress
Re: Printing PS files from QuarkXPress
- Subject: Re: Printing PS files from QuarkXPress
- From: Kai <email@hidden>
- Date: Mon, 13 Jan 2003 20:59:48 +0000
on Mon, 13 Jan 2003 09:17:01 +0000, Juergen May <email@hidden>
wrote:
>
Hi Scott,
>
>
> Sorry to reply to my own post, but after several more hours of banging
>
> my head against the wall, I've become convinced that the problem
>
> involves coerced variables, and I'm hoping that rings a bell with
>
> someone.
>
>
Yep. I think you're on the right lines.
>
>
I had a similar problem recently - it turned out that aliases under later
>
versions of AS are returned as styled text which QuarkXPress doesn't like.
>
To resolve the problem you need to turn the coerced alias into plain text
>
format.
>
>
Try the following...
>
>
--
>
>
set myFilePath to ((choose folder) as string)
>
>
try
>
set myFilePath to<<class ktxt>> of (myFilePath as record)
>
end try
>
>
set myFileName to myFilePath & "0000_0001.ps"
I suspected that might be the nature of the problem, although I haven't been
able to recreate it here. I can therefore only guess at this, too - but you
might be able to abbreviate things bit further with something like:
====================================================
set {text:myFilePath} to ((choose folder) as string)
set myFileName to myFilePath & "0000_0001.ps"
====================================================
Worth a try, perhaps...
--
Kai
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.