Skip to content

Instantly share code, notes, and snippets.

@chrislloyd
Created April 5, 2011 05:51
Show Gist options
  • Save chrislloyd/903095 to your computer and use it in GitHub Desktop.
Save chrislloyd/903095 to your computer and use it in GitHub Desktop.
#!/usr/bin/env macruby
framework 'cocoa'
loop do
puts NSWorkspace.sharedWorkspace.activeApplication['NSApplicationPath']
sleep 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment