App::Wubot::Plugin::OsxActiveApp - monitor current active application in OS X
version 0.3.7
~/wubot/config/plugins/OsxActiveApp/navi.yaml --- enable: 1
Runs a bit of applescript using the osascript command to determine which application is currently active in OS X.
/usr/bin/osascript -e 'tell application "System Events"' -e 'set frontApp to name of first application process whose frontmost is true' -e 'end tell'
Sends a message containing the field:
application: {appname}
The standard monitor check() method.
To install App::Wubot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Wubot
CPAN shell
perl -MCPAN -e shell install App::Wubot
For more information on module installation, please visit the detailed CPAN module installation guide.