|Tuesday, February 12, 2002|
There is a bug in the way Carbon applications interact with services. Actually, it may not be a bug, but just a limitation of the Carbon apps themselves in that they don't automatically handle Text selections in a similar fashion as to Cocoa. No big deal; it'll be fixed over time. Under OS X 10.0, Carbon apps didn't even have a services menu, now they do...
Off to bugreport.apple.com to file a report...
- launch any Carbon App; IE, Word, whatever...
- select some text
- try to find an enabled menu item under the Services menu
If this post works, it is because I have successfully imported the source to RadioService into MOSXLand, checked it back out, built and ran the application.
Assuming it did work, you can check out a copy of the source by doing this:
% cvs -d :pserver:email@example.com:/cvsroot/mosxland login (Logging in to firstname.lastname@example.org) CVS password: ***no password-- just hit return*** % cvs -d :pserver:email@example.com:/cvsroot/mosxland checkout RadioService
New features since the 'release'; earlier today:
Oddities: The code isn't pretty and there is some silliness/laziness. Please feel free to ask questions.
The biggest items on the TODO list are to fix up the error handling and to improve/ensure interoperability with other Bloggers. As well, fixing up some of the cosmetic issues-- quotes are being escaped for some reason, for example-- will go a long way to improving usability.
Jason Gillman calls this a "Major Breakthrough!" How about a screen shot for us Mac-deprived people?
The above was selected and posted via RadioService from OmniWeb. Here's the screenshot of the posting process. The services menu is automatically generated based on the various services advertised by the applications installed on the system. A service is advertised by what pasteboard types it can consume and what pasteboard types it produces. There is another mechanism called a 'filter service' which can automatically filter from one data type to another. Example: If you write an app that can only consume GIF images and I write a filter service that convert JPEG and TIFF to GIF, your application will automatically be able to open JPEG and TIFF.
OS X rocks.
Currently, RadioService only consumes NSStringPBoardTypes (that is, pasteboards that contain straight string data). This will change as the app evolves.
Radio Services alpha releaseAn initial alpha release of Radio Services is available as a disk image. The image contains full documentation (including instructions for those that might want to experiment with RadioServices and other Blogging services). Pleaselet me know if you have suggestions or problems. The app is far from perfect and there are a couple of known bugs (documented in the README). However, it does work-- this post was created in <b>WebObjects Builder</b> (the closest I have to a WYSIWYG HTML editor, at the moment) and posted via RadioServices.
It Works!!! RadioServices.app now: