dapobet Posted July 18, 2012 Share Posted July 18, 2012 HelloI'm using AutoIt 3.3.8.1 in W7 and in my new script the send function is not sending keystrokes to another window.The same script in another computer ( W7 same configuration) but AutoIt 3.3.6.1 is working OK.You can use, as a example, the code example of the send function, or this code:WinWaitActive("[CLASS:Notepad]")Send("hello")Execute the code, execute Notepad ( or focus it), and it never show the word "hello".I have other scripts that use send function. They fail too. But they do it right with AutoIt 3.3.6.1.Anybody have the same issue?Thanks in advance. Sorry for my poor english. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 18, 2012 Moderators Share Posted July 18, 2012 I am running 3.3.8.1 on a number of Win7 boxes, and cannot reproduce your issue. The reproducer you supplied works fine for me. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
JohnOne Posted July 18, 2012 Share Posted July 18, 2012 Indeed, I'd bet my old grandmas last kidney that it is not notepad you are trying to send to. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 18, 2012 Moderators Share Posted July 18, 2012 Indeed, I'd bet my old grandmas last kidney that it is not notepad you are trying to send to.I'd be willing to bet your grandmas' last kidney too muttley Poor old Nana. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Skitty Posted July 18, 2012 Share Posted July 18, 2012 Indeed, I'd bet my old grandmas last kidney that it is not notepad you are trying to send to.At least he is generous enough to have read the rules. You gotta give'em that. That's pretty damn rare around here. Link to comment Share on other sites More sharing options...
Xandy Posted July 19, 2012 Share Posted July 19, 2012 (edited) wait, you mean send works on win7 now? I have got to try that. I'll feed back after shower and test. I still thought I set to set compatibly to xp. edit: Ok, I was either mistaken about send() not working, or it has been resolved. Either way send() works for me in win7. Time to test hotkeyset()! All good there too. Seems to be resolved. Edited July 19, 2012 by Xandy Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker) Link to comment Share on other sites More sharing options...
dapobet Posted July 19, 2012 Author Share Posted July 19, 2012 Hello again. I've found the problem.I'm using Synergy (http://synergy-foss.org), a program that lets you share the keyboard and mouse to several computers. In the computer acting as server ( the one with the keyboard and mouse) the send funcion fails. In a computer acting as client, send funcion runs OK.Stopping the service in the server computer lets send funcion run ok. The problem is the use of another software who deals with keyboard.That's all.thanks all for your answers. Link to comment Share on other sites More sharing options...
JohnOne Posted July 19, 2012 Share Posted July 19, 2012 Sorry Nana. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
KaFu Posted July 19, 2012 Share Posted July 19, 2012 Even if this on is resolved, remember that it might also be an UAC issue, an unprivileged program trying to send messages to a privileged one will fail. Xandy 1 OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) 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