Champak Posted March 3, 2008 Share Posted March 3, 2008 My application is set up to use two exe files. One hidden running in the background and the upfront one. If I create an object in the upfront one, can I still control that object with the one running in the background? The object is wmp. Link to comment Share on other sites More sharing options...
Bert Posted March 3, 2008 Share Posted March 3, 2008 If I create an object in the upfront one, can I still control that object with the one running in the background? The object is wmp.Yes you can. If you have the window minimized, you can still sent to the controls using ControlSend The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Champak Posted March 3, 2008 Author Share Posted March 3, 2008 You can send a function command in a ControlSend? I'm not trying to control an actual button or "element", it's an actual function that I am trying to control in the first exe from the second exe. I guess I can make a hidden button in the first exe to activate the function, but I would rather not. So is your thinking the ControlSend would be the only way to do this? Link to comment Share on other sites More sharing options...
Champak Posted March 7, 2008 Author Share Posted March 7, 2008 (edited) I finally got a chance to work on this portion and ControlClick (I assume you meant ControlClick instead of ControlSend, because ControlSend sends text, according to the help) is not working for this, because the window is not visible....I assume that is the reason. I set it up to have the second program ControlClick a hidden button on the first program, and that hidden button activate the function. I pretty much know I can't control the object, I remember being told that wmp object can't use the get function to control it. So is there another way to activate a function in my main app from my secondary app? VERY IMPORTANT. Thanks. Edited March 7, 2008 by Champak 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