Code: Select all
WinExist("ahk_exe Mp3tag.exe")
Code: Select all
WinExist("ahk_exe Mp3tag.exe")
Keymaker wrote: ↑10 Jun 2022, 08:12[...]
Also I have noticed that when running my code, when I use SHIFT to select some files then I can still add to that selection files one-by-one using the middle button - but I am no longer able to de-select them one-by-one in the same way [which I can do normally when the script is not running]
[...]
In other words:
Keymaker wrote: ↑30 Jun 2022, 10:10[...]
E]
And also: would it be possible to add other binding to that Middle Mouse Button when the focus would be in a different area of Mp3tag?
That file-selecting script is meant for the [irremovable] main window which hosts the list of files - and now I would also to add a script that would work only in the [removable] box of Filter feature. How can I do that?
[...]
After clicking in that Filter Box of Mp3tag, I got ClassNN: Edit1 for Focused Control and Filte&r: for Visible Textmikeyww wrote: ↑30 Jun 2022, 20:22[...]
If you run Window Spy, which comes with AHK, it shows names of windows & controls. You can have a hotkey check for the presence of some control, check whether the mouse is over a specific control, or check whether the keyboard is focused on a specific control. Your hotkey routine can then use that information to do what you wish.
[...]
Code: Select all
#If WinActive("ahk_exe Mp3tag.exe") && ControlClick, Edit1, Mp3tag.exe
MButton::X
SoundBeep, 1900
Return
#If