Rank: Member
Groups: Approved
Joined: 10/10/2018(UTC) Posts: 10 Thanks: 2 times
|
Currently there is an application whitelist for gestures, i.e. I can create a gesture specific to a single app. The global gestures are, well, global I would like to be able to disable them in certain apps/app groups, e.g. have a blacklistThank you
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
That's what the Ignore List is for, to prevent any gestures if the window matches something in the ignored list.
|
|
|
|
Rank: Member
Groups: Approved
Joined: 10/10/2018(UTC) Posts: 10 Thanks: 2 times
|
But that list is global, it disables all the gestures, while I'd like to disable only a couple of global gestures in an app, while leaving all the other global gestures working
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
S+ doesn't know in advance what gesture you're going to draw, so it can't know to not begin capturing a gesture.
Now, if you just don't want anything to happen with a gesture after you draw it, there are a few ways to handle this. One way is to define the app for which you want to ignore the gesture and create one in the app which is the same as the global, but have no steps or script. S+ will always try to match the app first before global, so if there's a match it won't look for a global action.
Another way is within the global action itself, you can check the app and conditionally do nothing. Like testing the title:
if(action.Window.Title.indexOf(' - Google Chrome') > -1) {//Chrome} else {//Not Chrome}
or the EXE:
if(action.Window.Process.MainModule.ModuleName == "chrome.exe" ){//Chrome} else {//Not Chrome}
(not at my computer, so I can't test)
|
1 user thanked Rob for this useful post.
|
|
|
Rank: Member
Groups: Approved
Joined: 10/10/2018(UTC) Posts: 10 Thanks: 2 times
|
Originally Posted by: Rob S+ doesn't know in advance what gesture you're going to draw, so it can't know to not begin capturing a gesture. Yeah, makes sense, you just haven't yet built the AI module predicting the future yet Your other three suggestions all work, thanks!
|
|
|
|
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