Nakamura Posted January 24, 2022 Share Posted January 24, 2022 When I use ControlClick with Chrome, NotePad,... it works. But when I use ControlClick with WindowApps like Microsoft Store (Win10)... it doesn't work. Can you help me how ControlClick works on WindowApps? Link to comment Share on other sites More sharing options...
Nine Posted January 24, 2022 Share Posted January 24, 2022 AFAIK, you can't. You would need to use UIAutomation with InvokePattern. Nakamura 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
junkew Posted January 24, 2022 Share Posted January 24, 2022 See faq 31 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Earthshine Posted January 24, 2022 Share Posted January 24, 2022 Focus on UIAUtomatin in faq 31 mentioned above. Only way to manipulate WPF apps Nakamura 1 My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Nakamura Posted January 25, 2022 Author Share Posted January 25, 2022 6 hours ago, junkew said: See faq 31 I have read your article about UIAUtomatin. Right now I just want to do a simple ControlClick with coordinates x=500, y=500 on Microsoft Store (It's already running) (Win10). Can you make this example for me? Link to comment Share on other sites More sharing options...
junkew Posted January 25, 2022 Share Posted January 25, 2022 Quote Can you make this example for me? nope, you start yourself with simplespy or uiaspy and these tools give you some basic code where you have to experiment with and post the code you tried and there will be given advice on how to fix or proceed by forum members. All examples are in the excellent threads on uiautomation and you have to spent time to learn FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
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