StrokesPlus.net Forum
»
General Discussion
»
General Discussion
»
How to set shortcut and gesture on specific website?
Rank: Member
Groups: Approved
Joined: 8/8/2020(UTC) Posts: 12 Thanks: 1 times
|
I am using google chrome as internet browser, I want to set specific shortcut and gesture only for youtube.com, how could I do that?
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Approved Joined: 4/23/2020(UTC) Posts: 161 Thanks: 46 times Was thanked: 23 time(s) in 17 post(s)
|
Try this, when the foreground page is Youtube or the video page, the gesture will do the specific thing. Code:
if(sp.ForegroundWindow().Title.indexOf("- YouTube")>-1 && sp.ForegroundWindow().Title.indexOf("- Chrome")>-1) {
//do something
} else {
//do something
}
|
|
|
|
StrokesPlus.net Forum
»
General Discussion
»
General Discussion
»
How to set shortcut and gesture on specific website?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close