[MacRuby-devel] Start Small...Get Big

Laurent Sansonetti lsansonetti at apple.com
Mon Feb 9 12:11:20 PST 2009


On Feb 8, 2009, at 9:10 PM, Jordan K. Hubbard wrote:

>
> On Feb 8, 2009, at 4:43 PM, Tedd Fox wrote:
>
>> I would like to create a small program that I can do mundane tasks  
>> for my server with a minimal interface.
>>
>> First I would like to create a program that runs software  
>> update..before you say it...I know I know I know
>
> Use the Scripting Bridge API to control Software Update.  http://www.apple.com/applescript/features/scriptingbridge.html

As Jordan says, if you can do it from Apple Script you should also be  
able to do it from MacRuby using ScriptingBridge.framework. You can  
search on google for more information on this, I think you will mostly  
find RubyCocoa examples but they can be easily ported to MacRuby.

Good luck!

Laurent


More information about the MacRuby-devel mailing list