The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Wubot::Plugin::OsxActiveApp - monitor current active application in OS X

VERSION

version 0.3.7

SYNOPSIS

  ~/wubot/config/plugins/OsxActiveApp/navi.yaml

  ---
  enable: 1

DESCRIPTION

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}

SUBROUTINES/METHODS

check( $inputs )

The standard monitor check() method.