Home Download Screenshots Wiki Plugins Translations Developers Donate Forums/Help Contact Us |
StrokeIt
This is not a plugin, so call me off-topic ;-)
This is a Perl script which will list all your defined actions and their gestures. I found it useful to have such a thing while I'm getting to know StrokeIt, to try to keep some consistency among applications of what gestures I use for what. It will go to your Actions folder and read all the .cfg files there, producing output like this: Internet Explorer Back Left Forward Right Media Player Full Screen F Zoom 50% Up Zoom 200% Down Play/Pause P Zoom 100% Right Stop S ... etc. If you don't have Perl installed (I suppose there are a few of you out there ;-) and would like a standalone executable version of this script, send an email to kairys@comcast.net and I'll mail you one.
Whoops, here's the script:
# Change to the Strokeit Actions directory. $actiondir = sprintf "%s\\Strokeit\\Actions", $ENV{PROGRAMFILES}; chdir $actiondir or die "Can't find Strokeit Actions folder\n"; print "\n"; # For each .cfg file ... foreach ( <*.cfg> ) { # Print the application name print "$1\n" if /([\w\s]+)\.cfg/i; open IN, $_; while ( <IN> ) { # Find an action $action = $1 if /(^.*)\s+\[/; # Print each associated gesture printf " %-24s%s\n", $action, $1 if /gesture\s+=\s+(.*$)/; } print "\n"; close IN; }
|