StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Feature Updates
 Requests
 Send command to window under gesture
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

Christopher

10 Posts

Posted - 08/22/2017 :  09:44:23  Show Profile  Reply with Quote
Hi Rob,

a new feature could be a "send command to window under gesture" option. Sometimes I loose focus of a.e. the browser window when I'm taking a note in another window/application. When I then want to send a "browserback"-command I first have to focus again on the browser. But if the command would be recognized by the (unfocused) application under the gesture it would be one click less.

All the best,
Christopher

Rob

USA
2420 Posts

Posted - 08/23/2017 :  12:34:04  Show Profile  Visit Rob's Homepage  Reply with Quote
Check out this post:

http://www.strokesplus.com/forum/topic/316/dyk-acsendkeys-and-window-focus

Also, in the Global Lua tab, you can leverage the sp_before_action function to always do this (obviously, don't create the sp_before_action again by pasting this in if it's already there, just use the acActivateWindow line):
function sp_before_action(gnm, gsx, gsy, gex, gey, gwd)
	acActivateWindow(nil, gsx, gsy)
end
By default, I didn't want S+ to change the focus, figuring it could be done by the user. In hindsight, it seems a lot of people expect this behavior by default, and is probably an option I'll include in the new version of S+.

Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2017 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000