Re: HELP Quark 6.5 Crashing on Print!!!
Re: HELP Quark 6.5 Crashing on Print!!!
- Subject: Re: HELP Quark 6.5 Crashing on Print!!!
- From: "Automated Workflows, LLC Mailing Lists" <email@hidden>
- Date: Fri, 12 Aug 2005 14:50:47 -0400
Jason,
On Aug 12, 2005, at 2:35 PM, Jason Bourque wrote:
Thanks for the confirmation on this bug. Do you have any code your
could share? I have a tight deadline and haven’t messed with GUI
scripting much, I do have Quickeys installed though.
For UI scripting, you could try something like...
tell application "System Events"
tell process "QuarkXPress"
set frontmost to true
click menu item "Print..." of menu "File" of menu bar 1
keystroke return
end tell
end tell
The terminology for UI scripting can be found under the "Processes
Suite" in the "System Events" application dictionary. In order to
use UI scripting, make sure that you first select the "Enable Access
for Assistive Devices" checkbox in the "Universal Access" system
preference.
For QuicKeys scripting, you could try manually recording a QuicKeys
shortcut to navigate the print dialogs in Quark. If you can get this
to work, then you should be able to trigger the shortcut from
AppleScript via the following code...
tell application "QuicKeys"
play shortcut named "YourQuarkShortcutName"
end
Hope this helps.
Regards,
-Ben
Benjamin S. Waldie
President & CEO
Automated Workflows, LLC
610.935.0652
=============================================
AppleScript and Workflow Automation
Consulting - <http://www.automatedworkflows.com>
AppleScript Info - <http://www.applescriptguru.com>
AppleScript Training - <http://www.applescripttraining.com>
=============================================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden