Yeah, I'm running into that exact problem actually. ScriptingBridge works fairly well, but for some reason Safari doesn't properly expose its "open location" command when I use ScriptingBridge. Argh...

-Gabriel


On Mon, Oct 18, 2010 at 9:26 PM, Laurent Sansonetti <lsansonetti@apple.com> wrote:
Excellent, thanks :)

Re-reading your original response, there is indeed another way: using the ScriptingBridge framework from MacRuby.  However, the experience might not be the same as using AppScript, as ScriptingBridge tends to not work on certain applications having broken scriptable definitions, so your mileage might vary. 

Laurent

On Oct 18, 2010, at 9:13 PM, Gabriel Gilder wrote:

Definitely! I will take a look at that again tomorrow and put together a ticket on it.

Thanks for all your incredible work on the MacRuby project, by the way... :)

-Gabriel


On Mon, Oct 18, 2010 at 4:23 PM, Laurent Sansonetti <lsansonetti@apple.com> wrote:
Hi Gabriel,

Could you file a ticket including instructions on how to reproduce the problem?

Thanks,
Laurent

On Oct 14, 2010, at 3:33 PM, Gabriel Gilder wrote:

Hi all,

I've just updated to MacRuby 0.7 and it appears that it breaks Appscript... I've recompiled the framework, re-ran the macruby-appscript setup.rb, but if I try to require "appscript" I get:

Program received signal:  “EXC_BAD_ACCESS”.
sharedlibrary apply-load-rules all
warning: Unable to restore previously selected frame.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.)

Does anyone have a suggestion for an alternative easy way to script other applications from MacRuby?

Thanks,

-Gabriel


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


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


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


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