Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Jun 13, 2013, 09:53 AM   #1
macrumors newbie
Join Date: Jun 2013
Applescript how to check radio button

I am trying to check a radio button on a webpage and I thought I could use keystoke tab and get the the button and then the return key but the return key does not select the button.

How to I select it? This is the page source code:
<input type="radio" name="ShipExport_SendEmail" value="0" checked> 	
<br />
<input type="radio" name="ShipExport_SendEmail" value="1"> <input type="text" size="40" name="ShipExport_Email" value="fun@redwagontoy.com">
So I would like the applescript to select the "ShipExport_SendEmmial" value = "1"
redwgaontoy is offline   0 Reply With Quote
Old Jun 18, 2013, 08:35 AM   #2
macrumors newbie
Join Date: Oct 2012
GUI scripting can be involved. I'd suggest using UI Browser to determine the correct way to reference the button you want to press.

You might also find the information on this forum thread useful.
see.solve. is offline   0 Reply With Quote

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
Applescript to open itunes at 7am and set radio to send to airplay speaker gordo5150 Mac Programming 1 Apr 23, 2014 12:48 PM
[AppleScript] Check what application is running in the foreground Amad3U5 Mac Programming 2 Jan 27, 2013 01:16 PM
AppleScript modification: Check if event already exist bibyfok Mac Programming 0 Dec 4, 2012 04:03 AM
Anyone know of an Applescript to check if an app is NOT running? amityweb Mac Programming 1 Oct 18, 2012 02:42 PM
AppleScript To Click One Button Only If Another Button Is Unavailable JonHimself Mac Programming 2 Jul 4, 2012 12:16 PM

Forum Jump

All times are GMT -5. The time now is 07:39 AM.

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

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