How to set check box with WIN_UseHandle

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Provalian
Newbie
Posts: 7
Joined: Mon Jan 23, 2006 3:41 pm
Location: Roanoke VA

How to set check box with WIN_UseHandle

Post by Provalian » Mon Jan 30, 2006 5:04 pm

I need to set a check box on a window with no name. I can get the value of the box using GetCheckBox but having trouble setting it. Here is my script. I did not find anything about using the handle with setCheckBox. Any help would be appreciated.

Let>WIN_UseHandle=1
SetFocus>4327158
GetCheckBox>4327158,&Print Parcel Detail,res
If>res=1,checked,unchecked
Wait>5
Label>checked
SetCheckBox>4327158,&Print Parcel Detail,FALSE
Wait>5
Goto>end
Label>unchecked
SetCheckBox>4327158,&Print Parcel Detail,TRUE
Wait>5
Label>end

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts