Quark 5.01 scripting syntax
Quark 5.01 scripting syntax
- Subject: Quark 5.01 scripting syntax
- From: "K.Schreckengost" <email@hidden>
- Date: Wed, 22 Oct 2003 15:49:32 -0400
- Organization: Reliance Vitamin, Inc.
Hi All,
I have two questions about scripting in Quark which would cause me to pull my hair out, if I had any. How do you bring a background document to the front? I have 300 plus existing Quark document containing 7-12 grouped picture and text boxes. I would like to open specific Quark documents copy the contents of page 1 and paste them on a separate page of a new document. I start by making the destination document that I will paste the contents into. Next I open the first existing document, copy and attempt to paste into page one of the recently created document. I am having troubles accessing the document that is in the background. To make things simple I have tried the following code:
tell application "QuarkXPress"
activate
make document
make document
tell document 1 of application "QuarkXPress"
activate
end tell
end tell
The event log indicates that it executed the command but nothing happens. I have tried many variation including; accessing by window index, name, saving the destination document first and using the file name. I have tried to search the archives but that was painfully slow and no luck.
My second question involves positioning the grouped 7-12 boxes. Once I have the group selected is it possible to specify coordinates of where I want the group moved to? I am running Quark 5.01 on Mac OS 8.6 and AppleScript, I think I am back in the dark ages, 1.3.7 it look like. My company is holding out on OS X, rats! Any help would be much appreciated.
--
Kurt Schreckengost
Reliance Vitamin Co.
732.537.1220 ext. 33
*****************
"This message and any attachments is solely for the intended recipient. If you are not the intended recipient, disclosure, copying, use, or distribution of the information included in this message is prohibited without the written consent of Reliance Vitamin Company -- please immediately and permanently delete or discard this information."
_______________________________________________
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.