I am trying to go up and down in the result list while the everything window is not active but when I use ControlSend,either nothing happens or Everything accept it as if I trying to jump to a word that contains Down or Up
Nothing
ControlSend,SysListView321,{Down},ahk_exe Everything.exe
Accept it as text
ControlSend,SysListView321,Down,ahk_exe Everything.exe
Does Everything supports ControlSend from AutoHotKey?
Re: Does Everything supports ControlSend from AutoHotKey?
I will make ControlSend work for the next alpha update.
For now, to send result list down, please try:
SendMessage, 0x111, 41018,,, ahk_class EVERYTHING
For now, to send result list up, please try:
SendMessage, 0x111, 41019,,, ahk_class EVERYTHING
You can find all the commands in the SDK -> ipc/everything_ipc.h.
For now, to send result list down, please try:
SendMessage, 0x111, 41018,,, ahk_class EVERYTHING
For now, to send result list up, please try:
SendMessage, 0x111, 41019,,, ahk_class EVERYTHING
You can find all the commands in the SDK -> ipc/everything_ipc.h.
Re: Does Everything supports ControlSend from AutoHotKey?
Btw maybe I found a bug
Here is an example
When the window is visible but not active,it works file
When the window is minimized or hidden(hide on close),up and down are acting as if I am pressing Home and End
Here is an example
Code: Select all
#IfWinActive,AHK_class WorkerW ; when the desktop is active
~Down::
~Up::
Keywait,% Substr(A_ThisHotkey,2)
DetectHiddenWindows,on
IfInstring,A_ThisHotkey,Down
SendMessage, 0x111, 41018,,, ahk_class EVERYTHING
Else
SendMessage, 0x111, 41019,,, ahk_class EVERYTHING
StatusBarGetText,File,1,ahk_class EVERYTHING
Tooltip,% File
Return
When the window is minimized or hidden(hide on close),up and down are acting as if I am pressing Home and End
Re: Does Everything supports ControlSend from AutoHotKey?
Everything thinks the focus is coming from the search edit.
Try setting the result list as the focus before sending 41018 or 41019:
SendMessage, 0x111, 41010,,, ahk_class EVERYTHING
SendMessage, 0x111, 41018,,, ahk_class EVERYTHING
-or-
SendMessage, 0x111, 41010,,, ahk_class EVERYTHING
SendMessage, 0x111, 41019,,, ahk_class EVERYTHING
Everything 1.5 alpha has the following commands:
Previous item:
SendMessage, 0x111, 41106,,, ahk_class EVERYTHING
Next item:
SendMessage, 0x111, 41107,,, ahk_class EVERYTHING
Try setting the result list as the focus before sending 41018 or 41019:
SendMessage, 0x111, 41010,,, ahk_class EVERYTHING
SendMessage, 0x111, 41018,,, ahk_class EVERYTHING
-or-
SendMessage, 0x111, 41010,,, ahk_class EVERYTHING
SendMessage, 0x111, 41019,,, ahk_class EVERYTHING
Everything 1.5 alpha has the following commands:
Previous item:
SendMessage, 0x111, 41106,,, ahk_class EVERYTHING
Next item:
SendMessage, 0x111, 41107,,, ahk_class EVERYTHING
Re: Does Everything supports ControlSend from AutoHotKey?
Everything 1.5.0.1262a fixes an issue with Everything not handling keydown messages sent externally.
The following should now work:
ControlSend,SysListView321,{Down},ahk_exe Everything.exe
The following should now work:
ControlSend,SysListView321,{Down},ahk_exe Everything.exe