guivho
Joined: 04 Jun 2005 Posts: 26 Location: Lokeren, Belgium
|
Posted: Fri Jun 10, 2005 12:02 pm Post subject: problem with hotkey in xplorer2 |
|
|
I am having problems to define a hotkey for the xplorer2. Following little script demonstrates the problem:
| Code: |
#3::
WinGet, f_window_id, ID, A
WinGetClass, f_class, ahk_id %f_window_id%
ControlGetPos, f_Edit1Pos,,,, Edit1, ahk_id %f_window_id%
msgbox, f_window_id=%f_window_id%`nf_class=%f_class%`nf_Edit1Pos=%f_Edit1Pos%`npath=%path%
ControlSetText, Edit1, c:\windows, ahk_id %f_window_id%
ControlSend, Edit1, {Enter}, ahk_id %f_window_id%
return
|
The msgbox shows that all values have been set properly.
The Edit1 box becomes 'c:\windows' as expected.
But the {Enter} is never sent to the Edit1 box, but rather to the active ListPane, either BrowserListView1 or BrowserListView2.
Do I have to do something special?
The xplorer2 is a unicode version: could this explain this behaviour? |
|