Quark Xpress 4.11
Quark Xpress 4.11
- Subject: Quark Xpress 4.11
- From: email@hidden (Michael Sullivan)
- Date: Fri, 21 Jun 2002 16:54:39 -0400
- Organization: Society for the Incurably Pompous
Any way to script non-standard dashes & stripes?
Here's what I want to do -- I'm trying to auto generate documents that
require a whole pile of non-standard dashes and Stripes.
From the dictionary it looks like I can't select anything other than the
ones that start out defined by default when the app ships.
I could *change* those, but that seems headed for trouble since the auto
generated files end up as templates that could have someone else's
design copied into them. A test reveals that copying a line into a
document with a different definition for say "Dotted" will change to
meet the definition of the document.
That's bad and we can't have that at all, so changing the defaults in
untenable.
My next trick was to try making the line tools default to one of these
new styles I'd created. Then a new line box would default to the style
I want. That succeeded in crashing Quark hard (the whole machine), as I
confirmed after about a day of testing to figure out what had gone
wrong. (First I thought some other change to my script might have
caused in, then I finally isolated the crash to the creation of the
first line box -- then I tried trashing Xpress preferences. worked fine,
then I rebuilt all my necessary preference changes *except* the tool
preference for a custom dash/stripe. Everything worked. Then i backed
everything up, and changed just that one preference. Froze again.)
SD's Explorer doesn't help me out because if I have a line box where
I've used the UI to make it a custom stripe, under style it just says
"Get failed because coercion from one data type to another failed."
At this point, I'm stumped and ready to just accept that I can't
completely auto generate these documents and will have to change the
dashes by hand.
But that's just obnoxious! I can't accept it. Someone tell me they
have the answer!
I've also tried copying from a document that already has the line set
correctly. That seems to have hope, but I can't seem to make this work
correctly either. The following script
tell application "QuarkXPress 4.11"
duplicate current box of document "Document2" to beginning of page 1
[NO-BREAK]of document 2
set properties of result to {left point:{87, 54} as points point,
[NO-BREAK]right point:{187, 154} as points point, width:"12 pt"}
end tell
produces a line of the correct kind and width, but the position is *not*
what I specified! I have no clue why not, or what's going on.
Can anyone confirm this odd behavior?
Michael
--
Michael Sullivan
Business Card Express of CT Thermographers to the Trade
Cheshire, CT 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.