Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 22, 2005, 03:08 PM   #1
silly34
macrumors newbie
 
Join Date: Apr 2005
Applescript Pop up button help!!

I am trying to access a pop up button menu but am having difficulty. I am trying to install a program on multiple computers and when the installer opens the default pop up button item is Upgrade and I need it to be Install and then for it to click ok to start the install.

My Script:

tell application "PG (OS X) Mac Installer"
activate
tell application "System Events"
tell application process "PowerGrade Installer"
select menu item "Install 4.6.0" of menu of pop up button

end tell
end tell
end tell

I can run it and I get the error "Can't get menu of pop up button."

I used UI Element and the order top down is pop up button, menu, menu item

I am a newbie but want to learn, any suggestions are appreciated!

B.
silly34 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Creating button info pop ups larswik Mac Programming 5 Jul 24, 2013 04:40 PM
Applescript how to check radio button redwgaontoy Mac Programming 1 Jun 18, 2013 08:35 AM
Applescript Safari how to click button redwgaontoy Mac Programming 1 Jun 11, 2013 11:12 PM
AppleScript To Click One Button Only If Another Button Is Unavailable JonHimself Mac Programming 2 Jul 4, 2012 12:16 PM
How to make IKImageBrowserView images category select in pop up button? julius94 Mac Programming 0 May 31, 2012 04:58 PM

Forum Jump

All times are GMT -5. The time now is 05:45 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC