Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Box (Website)
#2
Macro Macro2132
Code:
Copy      Help
;test with:
;http://www.w3schools.com/html/tryit.asp?filename=tryhtml_form_checkbox
;in Internet Explorer

int w=wait(3 WV win("Tryit Editor v1.8 - Windows Internet Explorer" "IEFrame"))
Acc a.Find(w "CHECKBUTTON" "" "a:value=Bike" 0x3004 3)
if a.State&STATE_SYSTEM_CHECKED
,out "checked"
else
,out "unchecked"
a.DoDefaultAction ;;toggle
Macro Macro2123
Code:
Copy      Help
;test with:
;http://www.w3schools.com/html/tryit.asp?filename=tryhtml_form_checkbox
;in Firefox

int w=wait(3 WV win("Tryit Editor v1.8 - Mozilla Firefox" "Mozilla*WindowClass" "" 0x4))
Acc a.FindFF(w "INPUT" "" "value=Bike" 0x1004 3)
if a.State&STATE_SYSTEM_CHECKED
,out "checked"
else
,out "unchecked"
a.DoDefaultAction ;;toggle
Macro Macro2133
Code:
Copy      Help
;test with:
;http://www.w3schools.com/html/tryit.asp?filename=tryhtml_form_checkbox
;in Chrome

int w=wait(3 WV win("Tryit Editor v1.8 - Google Chrome" "Chrome_WidgetWin_1"))
Acc a.FindFF(w "input" "" "value=Bike" 0x1004 3)
if a.State&STATE_SYSTEM_CHECKED
,out "checked"
else
,out "unchecked"
a.DoDefaultAction ;;toggle


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)