jresine Posted February 17, 2017 Author Share Posted February 17, 2017 (edited) It is the complete code of the page that returns me the tools of development of the navigator, I have nothing modified Controlsend is just another solution I'd like to avoid. Edited February 17, 2017 by jresine Link to comment Share on other sites More sharing options...
Subz Posted February 17, 2017 Share Posted February 17, 2017 Well ControlSend("Discord Responder","","","{enter}") suggests that the name of the Window is "Discord Responder", the title of the code in your post is #testchan Link to comment Share on other sites More sharing options...
jresine Posted February 17, 2017 Author Share Posted February 17, 2017 Not the title of the window is my GUI. I find information to send an order with a dll, Is it possible to make a single line to send an "enter"? Link to comment Share on other sites More sharing options...
Subz Posted February 17, 2017 Share Posted February 17, 2017 Sorry it appears things are getting lost in translation, can you please post your AutoIt code? Link to comment Share on other sites More sharing options...
jresine Posted February 23, 2017 Author Share Posted February 23, 2017 (edited) Hello, unfortunately I can not provide the full code, there is some critical information. Basically, is there a way to send an 'enter' simulation on a non-active window? Sorry if I explain myself wrong, I speak french and I use google trad to help me... Edited February 23, 2017 by jresine Link to comment Share on other sites More sharing options...
Subz Posted February 24, 2017 Share Posted February 24, 2017 Is Discord Responder your Gui or a third-party app or a web page? If it's third-party app you will need to use Send or ControlSend, ControlSend is better than Send as it sends directly to the id that matches. I noticed you used ControlSend without ClassNameNN, that basically will send it to the window and click enter so if it's not focused on a specific control then it will fail. If Discord Responder is a web page then we can use the IE tools to send the action. Link to comment Share on other sites More sharing options...
jresine Posted February 25, 2017 Author Share Posted February 25, 2017 I use : $ie = _IECreateEmbedded() $ieobj = GUICtrlCreateObj($ie,0,0,1300,680) Link to comment Share on other sites More sharing options...
jresine Posted April 19, 2017 Author Share Posted April 19, 2017 No news ? Link to comment Share on other sites More sharing options...
junkew Posted April 19, 2017 Share Posted April 19, 2017 without more details of au3inf or simplespy (see frequently asked questions question 31 for other tools) its hard to say. In general the only bypass is sendmessage/postmessage where you can find examples for in the forum. My advice for unattended running is have a virtual machine installed where you run your scripts so you can continue working 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