• 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: Moving printers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving printers


  • Subject: Re: Moving printers
  • From: Jan Cobb <email@hidden>
  • Date: Wed, 28 Feb 2001 22:06:37 +0000

(Dateline: 26/2/01 10:02 PM) Amir Bozorgzadeh wrote:

> I am trying to move a desktop printer into a folder called Printers within
> the sytem folder at startup. Is there a way to do this and what would be
> the syntax. I have tried to use apple's help but am having trouble creating
> the path.
>

<snipped>

I, too, used the Help application and played around until I got this script
to work (just make the name of the new folder whatever you want):


tell application "Finder"
activate

--next 2 lines are really just one in the script

set NewFoldPath to (make new folder at system folder of startup disk
with properties {name:"Desktop Printers"}) as alias

end tell
tell application "Desktop Printer Manager"
set the container of every desktop printer to the NewFoldPath
end tell


You can use the Help example to move the printers back again at a later date
and, if you want to play around, you can check for the existence of the
folder before making it (to avoid an error) and (perhaps) have your script
toggle between the 2 locations.

Janette Cobb


84 Christchurch Street
IPSWICH
IP4 2DE

Tel: +44(0)1473 421385
Fax: +44(0)1473 421386 (Weekdays, 0730 - 1700 only)
Mobile: +44(0)7850 435842

ICQ# 75156560


References: 
 >Moving printers (From: Amir Bozorgzadeh <email@hidden>)

  • Prev by Date: Re: I want to convert a list of integers to their negative self
  • Next by Date: Re: Questions from Newbie
  • Previous by thread: Moving printers
  • Next by thread: Duplicate and rename folder path
  • Index(es):
    • Date
    • Thread