RE: Quark 5 script issues?
RE: Quark 5 script issues?
- Subject: RE: Quark 5 script issues?
- From: "Wadson, David" <email@hidden>
- Date: Tue, 15 Apr 2003 16:53:33 -0400
Gotta love it...all those extra lines of code because somebody goofed up and
forget to make sure the save command worked properly.
I'll have to experiment then with Quark's script menu to see how I can get
some speed improvements. Asides from a few minor quirks, most of the scripts
have transfered to the new version with relative ease.
With any luck Quark might release a maintenance upgrade for Quark 5. Seeing
as Quark 6 will be OS X only, perhaps they will be considerate to those
still using OS 9.
Geez, some days I crack myself up...
Dave
>
----------
>
From: Hans Haesler
>
Sent: Tuesday, April 15, 2003 2:46 PM
>
To: email@hidden
>
Subject: Re: Quark 5 script issues?
>
>
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.
_______________________________________________
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.