Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Click menu item with option key down



Matthew,

I guess the lpadmin command could work, but I am not familiar with it.
 Can I setup a printer  the same way I would with the Printer Setup
Utility?  I am specifically going to be setting up a printer with the
address "popup://printserver.domain.com/quename".

I still would like to know if my original question is possible or not though.

Thanks for the help.

-Rhon

On 4/21/05, Matthew Smith <email@hidden> wrote:
> If you are adding a printer perhaps you could do this with "do shell script"
> and the lpadmin command. It would look much better than seeing Printer Setup
> Utility appearing on the screen.
> 
> --
> Matthew Smith
> 
> > From: rfitz <email@hidden>
> > Reply-To: <email@hidden>
> > Date: Thu, 21 Apr 2005 21:01:58 -0400
> > To: AppleScript Studio <email@hidden>
> > Subject: Click menu item with option key down
> >
> > How can I change the code below so that when the click action is
> called, it
> > sends a click with the option key down.
> 
> activate application "Printer Setup
> > Utility"
> tell application "System Events"
>  tell process "Printer Setup
> > Utility"
>   click menu item "Add PrinterÅ " of menu "Printers" of menu bar
> > item
> "Printers" of menu bar 1
>  end tell
> end tell
> 
> In order to get the advanced
> > menu item to appear, you need to hold
> down the option key and either click the
> > Add button or hold the option
> key and select Add Printer from the Printers
> > menu.
> 
> Any suggestions would be appreciated.
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-studio mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-studio/email@hidden
> 
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >Click menu item with option key down (From: rfitz <email@hidden>)
 >Re: Click menu item with option key down (From: Matthew Smith <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.