AutoIT ControlSend Modifiers Inconsistent -
I have participated in a strange problem with AutoT Control's Function Function on Windows 7, so I'm hoping that someone Can help. / P>
I wrote the Foose filesystem, which is shared with Windows through Samba
When I was using "off" for the first time, I removed the tests I was trying to automate the file system tests on Windows by using AutoIT to write and modify files on the file system. The method for sending keystrokes, but I found that other applications would sometimes steal the focus and grind me with a laziness in my tests. I was hoping that using the ControlSend would allow my tests to proceed, if the focus was stolen Ho. The problem I'm having is that sometimes the modifier keys (like shift and control) are not sent to them. For example, if I use ControlSend ("Open", "", "Edit1", "Z: \ test.txt") to set the path in
Code> , I sometimes see the text as "z;; test.txt", apparently reversed the shift key for some characters.
If I send
to send "Ctrl + o" to ControlSend ($ hWnd, Notepad Window, I would sometimes think that to bring Open Dialog Instead, simply type "O" to the AutoIT in Notepad Text field. I need to be able to install these scripts and they need to run continuously for current periods, Write what are not explicitly sent to create an inconsistent solution There was something like that which can do to make me more relevant to sending the correct letter, send myself many times in my experience, but only send when they are sent. Fast one after the other.
The function is a flag in the ControlSend, which after the string you want to send it to, which does not auto-send or keys to Auto.
Flag changes how" key "is processed:
0 = (default) text Has special characters such as + SHIFT and {LEFT} to indicate the left arrow.
1 = keys are sent raw
for Ctrl. + O Try to make the problem like this:
ControlSend ("title", "", 0, "^ {o}")
Hope it helps :)
Comments
Post a Comment