| Message |
 |
Date: 2007-07-10 07:31
Sender: Alan Norbauer
I upgraded to rubyosa (0.4.0) gem and tried again. I'm getting
a different
error. Here is the code:
require 'rubygems'
require 'rbosa'
mail = OSA.app('Mail') # Mail.app
mail.merge(:by_path => '/System/Library/ScriptingAdditions/
StandardAdditions.osax')
mail.choose_from_list %w[foo bar]
And here is the error:
ArgumentError: expected :name, :path, :bundle_id or :signature
key/value
method __scripting_info__ in rbosa.rb at line 263
method merge in rbosa.rb at line 263
at top level in untitled document at line 5
Program exited.
Any ideas? |
Date: 2007-02-01 14:59
Sender: Laurent Sansonetti
Closing the bug, please re-open as before if the problem is still
there. |
Date: 2007-01-31 10:45
Sender: Laurent Sansonetti
Hi Alan, I committed a fix as r154, can you try again? |
Date: 2007-01-31 01:20
Sender: Laurent Sansonetti
At a glance this seems to be a limitation of the OSA infrastructure
(as the error it sent by the application itself). I keep this
opened for investigation, maybe we can work around the problem.
I nevertheless rename the bug title for more clarity. |
Date: 2007-01-30 23:46
Sender: Alan Norbauer
I installed rbosa from trunk (r153).
I tried to use "choose_from_list" from StandardAdditions
and
get this error:
RuntimeError: application returned error: No user
interaction allowed (-1713)
Is this just something that needs to be turned on, or is it
a limitation of rbosa?
Can I look forward to it being added?
Thanks again for all your help, Laurent. |
Date: 2007-01-29 23:54
Sender: Laurent Sansonetti
I just added an sdef merging facility to the subversion repository
(as r152).
It's now possible to do:
app = OSA.app('iTunes')
app.merge(:by_path => '/System/Library/ScriptingAdditions/Stan
dardAdditions.osax')
app.beep
Unfortunately, app.merge('StandardAdditions') doesn't work as
the launch services are not able to locate it, but RubyOSA may
be smarter and see in /System/Library/ScriptingAdditions first. |
Date: 2006-10-29 23:50
Sender: Laurent Sansonetti
RubyOSA doesn't support this at the moment, but we might want
to do it in a futur release. Stay tuned! |