• 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
Print Center activating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Print Center activating


  • Subject: Print Center activating
  • From: "Timothy K. Wilkinson" <email@hidden>
  • Date: Tue, 29 Oct 2002 09:00:53 -0500

I've got a script to get and set the default printers on my OS X machines
(10.1.5 and 10.2). Unfortunately every time it runs Print Center activates.
I can kill that with a "quit" at the end but I don't want Print Center
popping up every ten minutes on my machines. Does anyone know of a way to
stop Print Center from activating or a better way to reset the default
printer?

my script for 10.1.5 is:

tell application "Print Center"
set the_printer to the current printer
set the_name to the name of the_printer
if the_name is not "achsp6" then
set the current printer to printer 1
end if
quit
end tell

for 10.2 its:

tell application "Print Center"
set the_printer to the name of the current printer
if the_name is not "achsp6" then
set the current printer to printer "achsp6"
end if
quit
end tell

Thanks,


Tim Wilkinson
ITC-ACHS
University of Virginia
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.

  • Prev by Date: Re: Excel not recordable under 10.2
  • Next by Date: Re: File name search & replace question
  • Previous by thread: Re: Excel not recordable under 10.2
  • Next by thread: Need help concatenating PDFs
  • Index(es):
    • Date
    • Thread