ScriptingBridge offers a couple of ways of creating objects. One is to use the
generated classes and then just alloc/-init or -initWithProperties to create an
object of that class type.
The other is to use -classForScriptingClass on SBApplication to get the
scripting class you want to create an
Morning,
I've been trying to use MacRuby to drive an integration between a popular
webservice and the stock Reminders.app. I'm attempting this through the
scripting bridge and am running into difficulty getting the scripting bridge
Create new objects within reminders.app, or notes.app, or any
I've been having some problems importing 3rd party gems.
Basically, this is what happens
#!/usr/local/bin/macruby
framework 'Foundation'
framework 'ScriptingBridge'
framework 'cocoa'
puts "Hola"
require "rubygems"
puts "Imported rubygems"
require "mechanize"
puts "Imported mechanize..."
I will