Re: Quark 5 script issues?
Re: Quark 5 script issues?
- Subject: Re: Quark 5 script issues?
- From: Hans Haesler <email@hidden>
- Date: Tue, 15 Apr 2003 20:46:10 +0200
On Mon, 14 Apr 2003, Wadson, David wrote:
>
Has anyone else noticed a problem in Quark 5 with opening a template and
>
then saving it as a document? It seems to always save as a template
>
regardless of any syntax telling it not to (i.e. "without template").
I can confirm this problem. Here is a workaround.
---
set newPath to ((path to startup disk) as string) & "noTemplate.qxd"
set filePath to (choose file with prompt "Select an XPress template" of type "XTMP") as string
tell application "QuarkXPress 5.01"
open filePath as alias
-- do your stuff
save document 1 in newPath
close document 1
my makeTemplate(newPath)
end tell
on makeTemplate(newPath)
tell application "Finder" to set file type of file newPath to "XDOC"
end makeTemplate
---
>
Also, it seems that scripts seem to run much more slowly in Quark 5 then
>
they did in Quark 3. We use OSA Menu to call a bunch of workflow scripts and
>
it seems much more responsive now that we've switched to Quark 5.
From my tests I recall that best performance was with _compiled_
scripts which were run from the new Script Menu of QXP 5. Speed
was better than with OSA Menu.
Initially, all Script Menu scripts were saved as applications. But they
were much slower than the compiled versions. After my report, most of
them were changed to this faster format. Except some scripts which import,
export or output. Actions which seem to be executed more reliably when
run by apps.
---
Hans Haesler <email@hidden>
_______________________________________________
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.