so i've got this hotkey to hold on left mouse when i pres f1
F1::
alt := not alt
if (alt)
{
Click down
}
else
{
Click up
}
Return
how would i make this so it only works on trove and not everything else?
Originally Posted by triptowel
so i've got this hotkey to hold on left mouse when i pres f1
F1::
alt := not alt
if (alt)
{
Click down
}
else
{
Click up
}
Return
how would i make this so it only works on trove and not everything else?
I dont know if you could do it automatically but you cound manually do it by adding an hotkey to pause and resume the script
so i've got this hotkey to hold on left mouse when i pres f1
F1::
WinGetTitle, ActiveWindow, ahk_exe Trove.exe
if ActiveWindow = Trove {
alt := not alt
if (alt)
{
Click down
}
else
{
Click up
}
}
Return
how would i make this so it only works on trove and not everything else?
ControlClick might possibly work, but im not sure it will.
Or make an if statement that if active window tit
Originally Posted by phj280600
ControlClick might possibly work, but im not sure it will.
Or make an if statement that if active window tit
Controlclick doesnt work with trove sadly
It can't click while on focused yes, but im not so sure it won't work if you have it focused.
Originally Posted by phj280600
It can't click while on focused yes, but im not so sure it won't work if you have it focused.
from everything what ive tested, it only clicks at the location your mouse cursor is when using controlclick with trove, so it might not even be that bad of an idea ^^ mb
- - - Updated - - -
should be enough for what he wants
Originally Posted by xoetirc
from everything what ive tested, it only clicks at the location your mouse cursor is when using controlclick with trove, so it might not even be that bad of an idea ^^ mb
- - - Updated - - -
should be enough for what he wants
Yea but something like this might also work:
F1::
WinGetTitle, ActiveWindow, ahk_exe Trove.exe
if ActiveWindow = Trove {
alt := not alt
if (alt)
{
Click down
}
else
{
Click up
}
}
Return