Automation Services changes in Snow Leopard
After listening to Alex on MBW, I thought i'd link to the PixelCorps MacBreak
episode 235.
Download
here. 15 minutes, 80 MB.
Sal Soghoian from
macosxautomation.com Speaks to Alex Lindsay.
Looks like a nice integration to start rolling your own automation. Send file to Bluetooth device would be useful. Text (Send Message, SMS, add to iTunes as a spoken track, etc).
Contextual menus now.
Access to Services changed.
E.g. Click on image (go to services, rotate clockwise).
E.g. Can encrypt a PDF through the cog (Action menu).
Linked tightly to Automator (5:30 in)
Services at the point you want to do it - e.g. click on rtf, get it to convert to html.
Works on selected text also, not just files. Select text, then right click, to bring up the contextual menu for it. Data detector framework (part of Mail) can then detect, w.g. an address.
e.g. 2 options
"Who do i Know near this address?"
"Show Address in Google Maps"
For a phone number:
"Where is this area code?" With pictures.
Demo of how to create a service.
You have a list of people's names. Select it in textedit. Right click, there isn't a sort. So you want a script to sort them. So open Automator, and it's new Automator - has a template picker.
iCal alarm, can then fire off an automator - i.e. a way to make a chron job. Selecting a service, say what you want to pull out of the text (URLS, addresses,dates, phone numbers, file types etc).
If you have remote desktop, you can use remote computer - select a computer in a computer list, do a workflow on it.
So services receives selected text in any application, replaces selected text. Adding an action to the workflow that does the sorting. Create a shell script,
Save services as Sort Selected Paragraphs.
So in any program that uses text, you can then right click the text, and sort the names.
Useful, non? You can also assign a Keyboard shortcut to it. You can turn off one you don't want. Chinese text conversion doesn't show if you don't have Chinese text - a useful change.
So once you've set one, you go into TextEdit, select the text, then in the Textedit menu, services, it's there, and shows the keyboard shortcut.
If you have repetitive things you do, this is contextual, customisable, convenient & configurable.
Pushing macosxautomation.com/services/downloads/index.html
Will be exploring this more soon, on MacBreak.
Kudos to them - they're adding videos of how to do this - e.g.
Rotate clockwise an image
http://www.apple.com/macosx/what-is-macosx/scripting.html
Services: Power when you need it.
The Services menu, available in the application menu of most applications, offers a wealth of powerful automation options. In Mac OS X, many applications and system components publish their capabilities as “services,” enabling the functions of one application to be used with the items selected in another application. For example, using a Mail service from the Services menu, text selected in a Pages document can automatically be used to create a new outgoing message in Mail. Or the text of a long article displayed in Safari can be quickly summarized in a few concise sentences.
Services
In Mac OS X Snow Leopard, services are more simplified, streamlined, and helpful. The Services menu is contextual, so it shows just the services appropriate for the application you’re using or content you’re viewing, rather than all available services. You can access services with a right click of your mouse, a Control-click of your trackpad, or a keystroke that you assign. You can configure the menu to show only the services you want, and you can even create your own services using Automator.
Some Demos to show off Snow Leopard
Snow Stack video and
live demo (Use space bar and <- -> arrows to navigate pictures).
Fun
CSS text shadow
3D transforms
CSS Animations
3D transforms
CSS Animations
More CSS animations
3 D transforms
http://people.mozilla.com/~prouget/demos/simpleVideo/video.html - Seems to work in FF3.5 (but Safari forces QTX, shown by the back 30 second button and it not working.)
Rotating Firefoxes
Rotatable sizeable text kind of works
Just to repost - the
thread on features of Snow Leopard is showing there are a lot of undocumented improvements being picked up all over the OS.