UI printer selection problem
UI printer selection problem
- Subject: UI printer selection problem
- From: Oakley Masten <email@hidden>
- Date: Mon, 27 Aug 2007 12:18:10 -0700 (PDT)
Greeting good people.
Using UI Scripting I am trying to set the printer for
my Excel doc from within the Excel Print window. I
can get the current printer name but can't change it
to a new one.
Can anybody point me in the right direction on this?
I have a registered copy of "UI Browser" but it is not
helping here.
I am writing in ScriptDebugger 4 on a G5 OSX 10.4.9
activate application "Microsoft Excel"
tell application "Microsoft Excel"
tell application "System Events"
tell process "Excel"
delay 1
get value of pop up button 3 of window "Print"
set whatme to value of pop up button 3 of window
"Print"
--whatme shows a value of "Toshiba_Print" --Which
is correct
set value of pop up button 3 of window "Print" to
"HP5100 Creative"
--this does not work --How do I get it to work?
end tell
end tell
end tell
I can't figure out how to choose an item from a drop
down list would appear to be the issue.
Thanks
Oakley
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden