Sample Trigger

For some time I’ve been meaning to put together a sample Trigger and Task bundle to aid those wanting to create their own specialized components. And lately I’ve had a request for this as well, so I spent a little time today putting together part one of a this two part project.

Stock Quote

Stock Quote trigger

I wanted to do a little bit more than a Hello World, but nothing to complicated that it took away from demonstrating the basic principles. I had portions of this code laying about to grab a stock quote via a SOAP call, so I decided to roll that into a trigger.

This is a pretty basic trigger. It asks for a stock symbol (AAPL is always a good one to test with) and also has a slider to set the update interval.

So, if your curious, grab the source, compile with XCode, throw the bundle in /Library/Application Support/Proxi/PlugIns/ and restart Proxi. If you built it right and I didn’t screw something up, you should see Stock Quote in your trigger list.

For more information on creating your own triggers and task, check this article that I posted a while back. I’ll try and post a sample task tomorrow.

Source: quote.zip
Proxipedia: Stock Quote

Leave a Reply