Re: Scriptable Chooser 8.6??
Re: Scriptable Chooser 8.6??
- Subject: Re: Scriptable Chooser 8.6??
- From: JollyRoger <email@hidden>
- Date: Wed, 22 Aug 2001 15:51:00 -0500
On 8/22/2001 1:59 PM, "Mark Ritter, CRNA" <email@hidden> wrote:
>
JollyRoger wrote:
>
>
> On 8/21/2001 8:03 PM, "Mark Ritter, CRNA" <email@hidden> wrote:
>
>
>
>> Is the Chooser scriptable in OS 8.6? If so, can someone help me??
>
>
>
> You wish! ;) What exactly do you want to do with the Chooser? Mount a
>
> volume or choose a printer?
>
>
>
I have an application in use in an operating room. For one circumstance, I
>
will need to print to "printer A," for another circumstance, I wil need to
>
print to "printer B." Rather than having my people get to the Chooser or
>
the Finder and screw things up, I would rather have them launch a script
>
that selects the appropriate printer for them.
Which application is it?
If these are desktop printers, then you might use the Desktop Printer
Manager to change the default printer:
tell application "Desktop Printer Manager"
set pList to the desktop printers
set d to default printer
set the default printer to d
end tell
BTW, you might want to post your questions not only to me, but also to the
list so that others can help too.
JR