sumanthupar Posted January 10, 2014 Share Posted January 10, 2014 Hi, Anyone knows how to send TAB Function to an inactive window...can we use controlsend to do this...if so please let me know hoe to do . TIA Link to comment Share on other sites More sharing options...
l3ill Posted January 10, 2014 Share Posted January 10, 2014 Hi sumanthupar, Yes, according to the help file it is possible: ControlSend() works in a similar way to Send() but it can send key strokes directly to a window/control, rather than just to the active window.ControlSend() is only unreliable for command prompts as that works differently to normal windows (seems to check physical states rather than accepting the keystroke messages). For normal windows ControlSend() should be way more reliable than a normal Send() - and yes it does send shift, ctrl, alt etc. Use the window info tool to get some info about your window and then add this info to the ControlSend Parameter. Give it a shot and come back if you get stuck. Bill My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
sumanthupar Posted January 10, 2014 Author Share Posted January 10, 2014 Thanx...for the suggestion..it's working fine for me... 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