Jump to content

Check Radio Button External App


Recommended Posts

Hello,

I am trying to figure out how to have autoit automatically check a radio button on a external application I have tried the following without any success.

 

Opt("WinTitleMatchMode", 1)
while true
   $win = winwaitactive("Night Utilities Setup")
   if $win <> "" Then
        ; msgbox(0,"","found")
   endif
   ;ControlClick($win, "Sunday", "[CLASS:WindowsForms10.BUTTON.app.0.33c0d9d:rbtnSunday]", "left", 1, 48, 13)
   ControlCommand($win, "Sunday", "[CLASS:WindowsForms10.BUTTON.app.0.33c0d9d:rbtnSunday]", "Check")
wend

Here is the window info

>>>> Window <<<<
Title:    Night Utilities Setup
Class:    WindowsForms10.Window.8.app.0.33c0d9d
Position:    110, 103
Size:    790, 547
Style:    0x16CB0000
ExStyle:    0x00050180
Handle:    0x0012020C


>>>> Control <<<<
Class:  WindowsForms10.BUTTON.app.0.33c0d9d
Instance:   38
ClassnameNN:    WindowsForms10.BUTTON.app.0.33c0d9d38
Name:   rbtnSunday
Advanced (Class):   [NAME:rbtnSunday]
ID: 1049020
Text:   Sunday
Position:   63, 119
Size:   104, 16
ControlClick Coords:    48, 13
Style:  0x5600000B
ExStyle:    0x00000000
Handle: 0x001001BC

>>>> Mouse <<<<
Position:   114, 170
Cursor ID:  0
Color:  0x2B2F37

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
&Run Now
&Apply
&Cancel
&OK
Programs To Run
One Agency
All Agencies
Validate Cash Balances
To
       
       
Range
All Clients
Rename Codes
Rebuild Sections
11:45:00 PM
Saturday
Use Customized Time For
Batch Update From Files
Delete All Files in AS_TEMP and AS_LOCK
Batch Change Activity File
Change Request Updates
Real-Time Alerts
IVANS Transmission
Run Pseudo Post
Prepare Company Reconciliations
Validate Receivables
Validate Client Balances
Maintenance Options
Dequeue Reports
Database Maintenance
Processing Mode
Distributed
Stand Alone
File Selection
FIM Only
TAM Only
All Files
Maintenance Operations
* You cannot scan with delete and pack
Smaller Than
Backup Data Files Before Pack
Pack Data Files *
Reindex Data Files
Delete Unfixed Records *
Fix Corrupt Records
Print Scan Results
Scan for Corrupt Records
Day and Time
11:45:00 PM
Sunday
Saturday
Friday
Thursday
Wednesday
Tuesday
Monday


>>>> Hidden Text <<<<

any help would be appreciated. 

Edited by digitalexpl0it
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...