TheBlackGamer Posted August 13, 2014 Share Posted August 13, 2014 hey iam Trying to make A Silent AutoSaver Which Send "Ctrl + S" To An inActive Window Is it Possible ... I tried ControlSend Function But it Needs The Window Active Link to comment Share on other sites More sharing options...
czardas Posted August 13, 2014 Share Posted August 13, 2014 (edited) I don't believe it is impossible, but any solution (which I don't have unfortunately) is likely to vary from program to program. You could however block user input for the time it takes to activate a hidden window and send the message. It's not really a very elegant solution. Tell us more about the application you want to send the save command to. If it is your own program, then there are likely to be several alternative ways to achieve what you want - it could be as simple as creating a log file. Edited August 13, 2014 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
caramen Posted August 13, 2014 Share Posted August 13, 2014 (edited) You can try something like If _IsPressed ("11") and _IsPressed ("53") then Wingetfocus ("windows tittle") Send ("{CTRL}") and Send ("S") and if you need to get back the focus in the preview windows send an ALT TAB you should probably re-write this in a better way but maybe that logic can help yourself ... Edited August 13, 2014 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