caramen Posted November 23, 2020 Share Posted November 23, 2020 (edited) Hello guys... I have complex behavior to solve, again... How to understand this... very easy... If I hold down any key as shortcut from one of my AutoIt script. If I don't release the key up. Before the script answer to the function. (This behavior happens for me with user32.dll and _IsPressed AI function.) The key will stay pushed down without any release. I'm trying actually the Opt("SendKeyDownDelay" , 1 ) I'm doing some test with the user32.dll as well... Then I will come with more information when I'll have them. As an example... I'm making a reproducer. Without my personal information into the code. But it will take me some time. I will edit this post when reproducer ready. But, if you guys know this behavior, and know how to resolve it. I would be grateful. I guess it will be hard to talk about advanced key function into the forum. For obvious reason. But I take any advice about this. Even if you have a magic snippet or AutoIt function I don't know yet to release all key in one time or multiple time... Edited November 23, 2020 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
Nine Posted November 23, 2020 Share Posted November 23, 2020 Do you mean this ? caramen 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...
caramen Posted November 23, 2020 Author Share Posted November 23, 2020 (edited) Wow thanks ! Yes it is exactly this behavior. If I change ControlSend("", "", "", "text", 0) into : ControlSend("", "", "", "", 0) Will it work ? The text of my windows is random.I will try myself. Edited November 23, 2020 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki 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