Jump to content

Recommended Posts

Posted (edited)

 

Hello,

 

Sorry if this is in the wrong place.

I'm writing a script to help at work with some data analysis. I'm pretty much finished however I need to check the status of 2 checkboxes and if they are unchecked/checked act accordingly.

I'm just unsure how to get this information? Im thinking i have to use the _FFXpath however I've not done anything with this before.

I know i can select/deselect the checkbox using the following;
_FFFormCheckBox("ASR", True, 0, "value")

However before doing this i need to see if the box was already ticked? Any advice would be appreciated as I've been looking into this for the past 2 hours and made no progress.

If someone can please give an example of this done on any other page and i can check the source and adapt for my own.


This is done on Firefox, The checkbox HTML is below. I just need a way to see if this is ticked or not? I know in Autoit GUI you can use GUICtrlRead and in windows apps you can use the commandcontrol however how can I do this in FF please?

Thank you.

<input name="vl2nck" value="ASR" type="checkbox">
Edited by Clerythecleric

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...