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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Pop up windows at boot bobbytomorow Mac Basics and Help 1 Jan 1, 2011 05:44 PM
Xcode Applescript app button help lynkynpark86 Mac Programming 0 Mar 31, 2010 01:13 PM
newbie question on XCode 3.2: how to populate pop up buttons/link to applescript nickharambee OS X 0 Oct 21, 2009 06:10 AM
Pop up box help andypullen Web Design and Development 1 Oct 15, 2009 01:09 PM
Applescript click window button help! ElectricMan5 Mac Programming 3 Mar 16, 2009 01:21 PM


All times are GMT -5. The time now is 11:33 AM.

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

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