This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

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

 All Forums
 Lua Scripts
 General Action Scripts
 windows 7: how to close INACTIVE BROWSER's tab
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

xpectmore

14 Posts

Posted - 05/27/2014 :  11:17:23  Show Profile
Open any browser you want in windows 7 , then open tabs , so at this point try to do right click with the right button on strokes's icon in try (do not click anything !) .. just look at your browser window: it's loose the focus so it's no more active.
so at this point if you try the right command mouse gesture will not close the tab/window!

i modified the line of script of Window \Tab-close with this:
local iHandle = acGetOwnerWindowByPoint(gsx, gsy)
acActivateWindow(iHandle,0,0)
acSendKeys("^w")

xpectmore

14 Posts

Posted - 05/27/2014 :  11:27:51  Show Profile
....what i think now after i tested again all this stuff(when a window loose focus)
the conclusion is one:

it is good to add these lines before any script code of program so you will obtain excelent results of "Strokesplus" :

local iHandle = acGetOwnerWindowByPoint(gsx, gsy)
acActivateWindow(iHandle,0,0)
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000