Rank: Member
Groups: Approved
Joined: 12/6/2022(UTC) Posts: 12
Thanks: 5 times
|
Hello, I'm using a plugin (thanks, Rob) to execute code every time a gesture is triggered. It works great if I add an action and assign the object I'm interested in, But if I don't do that, the script runs twice. The code is very simple, here it is: Quote: function executeOnGesture() { sp.Run('c:\\prg\\scripts\\bin\\sp.ahk "' + ExecuteOnGestureMatch.ExecuteOnGestureMatchWatcher.GestureName + '" ' + ExecuteOnGestureMatch.ExecuteOnGestureMatchWatcher.Button.ToString()) } ExecuteOnGestureMatch.ExecuteOnGestureMatchWatcher.ExecuteScript = "executeOnGesture();"; I know anybody here
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,332  Location: Tampa, FL Thanks: 28 times Was thanked: 413 time(s) in 353 post(s)
|
Quote:It works great if I add an action and assign the object I'm interested in, But if I don't do that, the script runs twice. Can you explain here a little more?
|
|
|
|
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