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
 About
 Did you know...
 DYK: Ignoring a global action for a specific app
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rob

USA
2615 Posts

Posted - 01/08/2012 :  10:24:18  Show Profile  Visit Rob's Homepage
Did you know...

If you want to have a global action ignored for a certain window, but don't intend to have a specific action associated with that window for the action being ignored, you can create an app to qualify that window, then make an action with the same qualifiers (gesture, key/mouse modifiers), and either leave the Lua Script box empty (if you want to have the NoMatchSoundFile play), or enter a commented line (prefixed with "--") to essentially do nothing at all.

For example, say you want to suppress the Close Program (default draw stroke C) action when drawing on the Desktop, you would:

1. Open the Actions window
2. Click Add App
3. Select the Desktop ("Progman" owner class, "explorer.exe" file name)
4. Click Add Action
5. Select the "C" gesture
6a. Leave Lua Script box empty to make S+ believe there was no match, which would play the No Match sound if you have that option enabled.
- OR -
6b. Enter a comment line to simply do nothing, e.g. "--Do nothing here"

I've decided to reverse my decision to ignore the Desktop by default, and simply perform the steps above to ignore the default global actions which are problematic for the Windows Desktop, such as the default "/ Up" to maximize or restore window. On a multiple monitor setup, this causes the desktop on a secondary screen to become unresponsive (in Windows 7, that is, not sure about XP).

However, this is still a useful tip in general for other situations.
  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