AutoHotkey Community

It is currently May 27th, 2012, 11:31 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: September 29th, 2009, 3:55 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
I'm running v1.0.48.05, but this was also happening with .03.

If I call SendInput using a HotKey, then immediately hit another key in the middle of SendInput printing the data, the key is interspersed in the text.

According to the Help documentation SendInput should be buffering keys:
The Manual wrote:
Reliability is further improved by the fact that anything the user types during a SendInput is postponed until afterward.

The Manual wrote:
In addition, they buffer any physical keyboard or mouse activity during the send, which prevents the user's keystrokes from being interspersed with those being sent.


This happens for both regular keys and modifier keys (ie, if I hit shift the sent text will change case).

In the meantime I'm calling BlockInput before and after my SendInput command.

Also, I have only one script running, so there is no interference from other scripts.

*edit* SendPlay is working fine, I just tested that. My keystrokes aren't interfering when SendPlay is used...

*edit2* to make sure I wasn't reverting to SendEvent I added
SendMode, InputThenPlay
to my script. My keystrokes were still being interspersed.

My original thread is here:
http://www.autohotkey.com/forum/viewtopic.php?t=49258
in Ask for Help.

Thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2010, 3:14 pm 
Offline

Joined: April 6th, 2007, 5:16 pm
Posts: 12
I have the same issue. Win7 and WinXP.

Any mouse movement, clicks or typing does this. Older version worked fine...

_________________
~ Eric D. Burdo


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group