• 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: applescript-users digest, Vol 2 #244 - 5 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 2 #244 - 5 msgs


  • Subject: Re: applescript-users digest, Vol 2 #244 - 5 msgs
  • From: Super Julio <email@hidden>
  • Date: Fri, 19 Jan 2001 10:34:40 +0100

Super Julio dixit:

> QuarkXPress scripting question


Mattias:
This should be useful:

tell app "QuarkXPress"
activate
open (file) use doc prefs yes remap fonts no do auto picture import no
tell document 1
tell print setup
set printer type to "LaserWriter 16/600 PS"
set adjust horizontal tile to false


end tell
print copies 1
close document 1 saving no
end tell

If it doesn't, try with keyboard emulators. Prefab Player:

tell print setup
...
end tell
tell app "Prefab Player"
disable user input
do menu menu "Print" of menu "File"
repeat 2 times
click button "Save" -- "print dialog" + "save dialog"
end repeat
try
click button "OK" -- broken image links
on error
end try
enable user input
end tell

Or Sigma's additions
tell print setup
...
end tell
type text "p" holding down command
type text (ASCII character 3) -- enter (now we are talking about ASCII code)
type text (ASCII character 3)
try
type text (ASCII character 3)
on error
end try

(Sdndi's additions -> TypeText " " with command/option... )


  • Prev by Date: Re: OSAX within tells
  • Next by Date: Re: Follow-up on appletalk volume mounting
  • Previous by thread: Re: Can I...
  • Next by thread: variables
  • Index(es):
    • Date
    • Thread