I'm looking to do some scripted control of Skype, and not able to get too far 
with MacRuby.  Please let me know if this is not the proper forum to ask, 
thanks.

I can find the app:

>> skype = SBApplication.applicationWithBundleIdentifier("com.skype.skype")

And I see in the Applescript editor that there is a single command called 
"send" that matches the Skype documentation.  I can't seem to invoke it, asking 
for suggestions.

The list of available functions shows a few relevant details:

>> skype.methods(true,true) - Object.methods(true,true)

(This is trimmed):
:classesForScriptingNames, :classNamesForCodes, :"sendCommand:scriptName:",  
:classForScriptingClass,
 :setDelegate, :delegate, and then a handful of init methods.

It looks like ':"sendCommand:scriptName:"' is that doorway into AppleScript, 
but I'm not sure what to do with it.  I don't see "send" anywhere, and I don't 
know if that's an issue as it is also a standard Ruby method.

Ideas anyone?

Thanks,

- Mike G
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to