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

 All Forums
 Lua Scripts
 General Action Scripts
 Close Confirmation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rob

USA
2516 Posts

Posted - 01/15/2012 :  15:59:17  Show Profile  Visit Rob's Homepage  Reply with Quote
Sometimes I get mixed up while in Chrome and accidentally gesture to close, but I only meant to close the tab, not the whole browser. So I added an action to the Chrome app setting in Actions, selecting the same gesture/modifer (to override the Global Close action) and added this script, which pops up a message box to make sure that's really what I meant to do (because I usually don't!).

iRes = acMessageBox("Seriously?", "Close?", 324)
if iRes == 6 then
acCloseApplication(nil, gsx, gsy)
end
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000