Mac OS X Automation: Services Downloads
march 2011 by mlednor
These services and Automator actions are provided as free examples of the design and use of Mac OS X automation technologies. All service workflows are fully editable and can be customized as need requires.
applescript
mac
services
march 2011 by mlednor
waffle software · ThisService
january 2011 by mlednor
Built into Mac OS X, but often neglected, is the concept of 'services'. They are small and targeted tools you can use in almost any program to insert text or do something useful with the current selection. Select text and Google it or look it up in a dictionary. Select a mathematic expression, like "6 * 7", and calculate it. Just select text (or place the insertion point where you want it) and pick a service from the Services menu in the application menu.
Normally, you have to write services using Apple's Carbon or Cocoa frameworks, using languages like C, C++ or Objective-C. ThisService lets anyone with a basic handle on programming choose their own language (like AppleScript or Ruby) to write a service in, lowering the bar for entry, and making certain tasks easier by letting you use the right tool for that task.
mac
services
applescript
Normally, you have to write services using Apple's Carbon or Cocoa frameworks, using languages like C, C++ or Objective-C. ThisService lets anyone with a basic handle on programming choose their own language (like AppleScript or Ruby) to write a service in, lowering the bar for entry, and making certain tasks easier by letting you use the right tool for that task.
january 2011 by mlednor
How-to: Create Services for Quick Search Box
october 2009 by mlednor
How-to: Create Services for Quick Search Box
Written on October 28, 2009 by Bryan Schuetz and 4 people have commented
I’ve been playing around with Google Quick Search Box lately and am especially enjoying this services plugin from Martin Kuhl which lets you activate and pass input to OS X services right from within QSB.
One snag though has been that services created through the new Automator template included in Snow Leopard leave out some vital bits that limit integration. Luckily, a handy application from Waffle Software called ThisService makes creating proper services that integrate seamlessly with QSB a lot easier than you might think.
Being able to extend the functionality of QSB with OS X services really opens up a lot of possibilities. Grab text or files in QSB and pass them on to your services to do whatever you want with them, like creating a new To Do item in iCal. I’ve been focused recently on replicating functionality that I lost when I made the switch over from Quicksilver and I think that this improved service integration will get me about 90 percent of the way there.
The bad news is that this means I need to whip up a bunch of custom services for myself. The good news is that ThisService makes that task very easy. Just give it a script (AppleScript will do, but if you’re more comfortable with other scripting languages you can use those), define the type and name of your service and click Create Service. ThisService handles all the fiddly Cocoa bits and spits out a completed service into your ~/Library/Services directory where QSB will see it and serve it up as an available action when appropriate.
Actually writing your AppleScript will likely be the most complicated part, which is why ThisServices comes bundled with some handy starter scripts to put you on the right path. They also make a number of example scripts and services available for download from their site. The scripts don’t need to be complicated. For example, here is the one I use for adding To Do items in iCal:
1.
on process(input)
2.
tell application "iCal"
3.
tell calendar "work"
4.
make new todo at end with properties {summary:input}
5.
end tell
6.
end tell
7.
end process
If you wanted to get fancy you could pass additional properties like the due date, priority, etc., but just getting a new item into the list is all I need.
Once you have your service setup accessing them through Quick Search Box is as easy as can be. Because showing seems to be more useful than describing, below is a quick little video clip of the To Do service in action. What kind of services would you like to have? Share your thoughts in the comments.
mac
services
google
Written on October 28, 2009 by Bryan Schuetz and 4 people have commented
I’ve been playing around with Google Quick Search Box lately and am especially enjoying this services plugin from Martin Kuhl which lets you activate and pass input to OS X services right from within QSB.
One snag though has been that services created through the new Automator template included in Snow Leopard leave out some vital bits that limit integration. Luckily, a handy application from Waffle Software called ThisService makes creating proper services that integrate seamlessly with QSB a lot easier than you might think.
Being able to extend the functionality of QSB with OS X services really opens up a lot of possibilities. Grab text or files in QSB and pass them on to your services to do whatever you want with them, like creating a new To Do item in iCal. I’ve been focused recently on replicating functionality that I lost when I made the switch over from Quicksilver and I think that this improved service integration will get me about 90 percent of the way there.
The bad news is that this means I need to whip up a bunch of custom services for myself. The good news is that ThisService makes that task very easy. Just give it a script (AppleScript will do, but if you’re more comfortable with other scripting languages you can use those), define the type and name of your service and click Create Service. ThisService handles all the fiddly Cocoa bits and spits out a completed service into your ~/Library/Services directory where QSB will see it and serve it up as an available action when appropriate.
Actually writing your AppleScript will likely be the most complicated part, which is why ThisServices comes bundled with some handy starter scripts to put you on the right path. They also make a number of example scripts and services available for download from their site. The scripts don’t need to be complicated. For example, here is the one I use for adding To Do items in iCal:
1.
on process(input)
2.
tell application "iCal"
3.
tell calendar "work"
4.
make new todo at end with properties {summary:input}
5.
end tell
6.
end tell
7.
end process
If you wanted to get fancy you could pass additional properties like the due date, priority, etc., but just getting a new item into the list is all I need.
Once you have your service setup accessing them through Quick Search Box is as easy as can be. Because showing seems to be more useful than describing, below is a quick little video clip of the To Do service in action. What kind of services would you like to have? Share your thoughts in the comments.
october 2009 by mlednor