Trove only autokey

Posts 1–8 of 8 · Page 1 of 1
Trove only autokey
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?
Quote Originally Posted by triptowel View Post
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
Quote Originally Posted by triptowel View Post
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
Quote Originally Posted by phj280600 View Post
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.
Quote Originally Posted by phj280600 View Post
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
Quote Originally Posted by xoetirc View Post
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
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us