AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Letterproblem with SendInput!?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Wed Jun 20, 2007 3:38 pm    Post subject: Letterproblem with SendInput!? Reply with quote

I've a little bug at one of my hotkeys:
Code:
:*?:isg::
SendInput, Im Setup erfolgreich getestet
return
In rare cases the result is:
Quote:
iIm Setup erfolgreich geteste
Any ideas why the first letter is sent twice?
I'll try it the next days with another send-mode... (but IIRC I did try this already some time ago... Sad )

Thalon
_________________
AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Wed Jun 20, 2007 5:59 pm    Post subject: Reply with quote

No changes have been made to Send/SendInput/SendPlay in the last few months. Are you sure this didn't happen with older versions?

It might be better to do your hotstrings single-line when possible. For example:
:*?:isg::Im Setup erfolgreich getestet

This is because the program can then combine the automatic backspacing and the replacement text into a single SendInput API call, which should avoid any possibility of the user's physical keystrokes disrupting the simulated keystrokes.
Back to top
View user's profile Send private message Send e-mail
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Thu Jun 21, 2007 8:05 am    Post subject: Reply with quote

@Chris
No, I don't say that this doesn't happen in older versions, I do have this problem sometimes over the last month (since using it). But I'm not shure what happens there.

But I'll try it inline. If it does happen again I'll post here again (SendMode = InputThenPlay)
_________________
AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group