• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Print PS file Quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print PS file Quark


  • Subject: Re: Print PS file Quark
  • From: Peter Waibel <email@hidden>
  • Date: Thu, 8 Jun 2006 14:59:27 +0200


On version 6 and 6.1 (which I have here in the office) both version crash as they produce the PS file. Rather frustrating.. I'm wondering if someone has had this problem and knows how to avoid it?


Quark's print command is broken when using Max OS Tiger.
The print command worked with Panther.

With Tiger you must use UI scripting

Try something like this:


tell application "System Events"
tell process "QuarkXPress"
--
set menuPath to ""
set isPrintMenuClicked to false
--
tell menu bar 1
if enabled then
--
tell menu bar item 3
if enabled then
--
tell menu 1
set menuPath to menuPath & "/" & name
if enabled then
--
set menuItemNameList to name of every menu item
--
set printMenuItem_LanguageNameList to {"Print..."}
repeat with aMenuItemName in menuItemNameList
if (contents of aMenuItemName) is in printMenuItem_LanguageNameList then
tell menu item (contents of aMenuItemName)
set menuPath to menuPath & "/" & name
if enabled then
click
set isPrintMenuClicked to true
else
error "Not enabled! Menu: " & menuPath
end if
end tell
end if
end repeat

else
error "Not enabled! Menu: " & menuPath
end if
end tell
else
error "Not enabled! Menu Bar Item 3: " & name
end if
end tell
else
error "Not enabled! Menu Bar: " & name
end if
end tell
end tell
end tell



Peter _______________________________________________ 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
  • Follow-Ups:
    • Re: Print PS file Quark
      • From: Hans Haesler <email@hidden>
    • Re: Print PS file Quark
      • From: Mark Butler <email@hidden>
References: 
 >Print PS file Quark (From: Wayne Melrose <email@hidden>)

  • Prev by Date: Re: Print PS file Quark
  • Next by Date: Re: Print PS file Quark
  • Previous by thread: Re: Print PS file Quark
  • Next by thread: Re: Print PS file Quark
  • Index(es):
    • Date
    • Thread