Re: changing quark page name/number
Re: changing quark page name/number
- Subject: Re: changing quark page name/number
- From: Hans Haesler <email@hidden>
- Date: Thu, 18 Apr 2002 09:28:28 +0200
On Wed, 17 Apr 2002, Jason Toews wrote:
>
Is there any other way to set this without user
>
intervention? Anyone know of a Scripting Addition, XTension, etc. that
>
would allow this?
Jason,
I use an XPress command for showing the dialog and the free
Scripting Addition "Sandi's Additions" for activating the check-box,
for typing a tab (to skip the Prefix), the value of the page number
and a Return for closing the dialog:
---
set pageNumber to 9
tell application "QuarkXPress 4.11"
activate
select menu item 6 of menu 6
MouseClick At {16, 16} with LocalCoordinates
TypeText tab & pageNumber & return
end tell
---
Note that you must address the 'select' command at the application,
not at the document.
Note, too, that the first page must be showing, else a wrong page
will get the Section start. And when it's a left-hand page, you'll
get a crash...
If you use an 8-pages template, where the Section start is already
activated, then you can omit the MouseClick command.
'select menu item ...' is the XPress command, 'MouseClick...' and
'TypeText' are from Sandi's Additions.
You'll find the latter in the folder "Popular" at
http://www.osaxen.com/
---
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.