AutoDavid Posted November 8, 2019 Posted November 8, 2019 What I want to do: Read the text of the buttons in the OBS control menu: The text will change, so if I click "Start Streaming" it will then go to "Stop streaming". I am currently using Autoit version 3.3.8.1 I am experiencing the problem where the whole area in the picture above is a "control". Summary of Autoit V3 Window Info: Advanced (Class): [CLASS:Qt5QWindowIcon; INSTANCE:1] ID: Text: obs64 Position: 872, 616 Size: 169, 164 ControlClick Coords: 63, 65 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x0016081A >>>> Mouse <<<< Position: 1595, 743 Cursor ID: 0 Color: 0x4C4C4C >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< obs64 obs64 obs64 obs64 obs64 obs64 obs64 obs64 obs64 >>>> Hidden Text <<<< obs64 I have tried using ImageSearch but it doesn't find the picture. I get no errors, it just doesn't find the picture. I might get the ImageSearch to work in the newest version of Autoit, though for now I would prefer to stick to AutoIt 3.3.8.1. Is there any way I can get the text from the buttons? Best regards, me
seadoggie01 Posted November 8, 2019 Posted November 8, 2019 UI Automation Here: Or Here: https://www.autoitscript.com/forum/topic/153520-iuiautomation-ms-framework-automate-chrome-ff-ie/ All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now