the widnow info is this :"下载 - Clover ahk_class Clover_WidgetWin_0"
Code: Select all
#IfWinActive, - Clover
{
^o::
{
Return
}
Return
}
Code: Select all
#IfWinActive, - Clover
{
^o::
{
Return
}
Return
}
Code: Select all
SetTitleMatchMode, 2
Code: Select all
#if (WinActive("ahk_exe something.exe))
^o::
; ...
Return
Code: Select all
[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
Code: Select all
#IfWinActive, ahk_exe something.exe
^o::
; ...
Return
It's expression style, and You can put anything after #If, like it's actual if. Luckily obsolete command syntax gets removed in v2DyaTactic wrote:That is certain a possibility. It is written different however. Not sure if this works, it seems legit.
Code: Select all
[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
No I change the code to this, it doesn't work fine.DyaTactic wrote:Alright.
Does the ahk_exe title work?
Code: Select all
#IfWinActive, ahk_exe Clover.exe
{
^o::
{
MsgBox xixi
Return
}
Return
}
The code works fine when I click the window again, I don't know why but it works~DyaTactic wrote:Alright.
Does the ahk_exe title work?
Users browsing this forum: ccqcl, Descolada, Google [Bot], inseption86, mebelantikjaya and 344 guests