YAPC::NA 2011 • Asheville, NC

Pimp your Mac with Perl
By Mark Fowler (‎Trelane‎) from Albany.pm
Date: Monday, 27 June 2011 14:25
Duration: 20 minutes
Target audience: Beginner
Language:
Tags: automation mac


Slides and notes at: http://www.pimpyourmacwithperl.com/

As a Perl Programmer you are the ultimate Mac power user - using a few simple techniques you can apply what you already know to automate your Mac with Perl. Avoid the rigmarole non programmers must suffer in day to day tasks and empower your Mac to act autonomously on the grunt work so you don't have to.

In this session we will be briefly covering techniques to:

- Create new services to consume, produce or manipulate text anywhere on your system
- Trigger scripts from utilities like TextMate, TextExpander, QuickSilver and LaunchBar
- Write Plack powered local web tools and starting these whenever you log in
- Configuring launchd to run Perl scripts periodically to deal with stuff so you don't have to
- Efficiently watch directories for changes and take action using FSEvents
- Run AppleScript from within Perl to control other applications
- Manipulate the contents of webpages inside Safari from Perl
- Use template XCode projects to produce simple GUIs for Perl scripts

Attended by: