Re: Printing PS files from QuarkXPress
Re: Printing PS files from QuarkXPress
- Subject: Re: Printing PS files from QuarkXPress
- From: Juergen May <email@hidden>
- Date: Mon, 13 Jan 2003 09:17:01 +0000
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"
-- Insert the rest of your code here.
--
NOTE: To get the chevrons ('<<' and '>>') use 'option-\' and
'shift-option-\'.
I can't remember who posted that piece of code so I can't credit them I'm
afraid - needless to say it wasn't me who came up with it!
Hopefully this should get you going again!
All the best,
Juerg
_______________________________________________
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.