Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Pure Ruby App that receives events
Perry Smith
8/10/2008 1:54:00 PM
Does anyone know if it is possible to have a Ruby application that
receives Apple Events? I assume it would be in an event loop. Really,
what I'm asking is if I can create a pure Ruby app that behaves like a
"first class" application as Apple has promised.
Thank you,
pedz
--
Posted via
http://www.ruby-...
.
3 Answers
Francis Rammeloo
8/10/2008 3:45:00 PM
0
On 10 aug, 15:53, Perry Smith <p...@easesoftware.com> wrote:
> Does anyone know if it is possible to have a Ruby application that
> receives Apple Events? I assume it would be in an event loop. Really,
> what I'm asking is if I can create a pure Ruby app that behaves like a
> "first class" application as Apple has promised.
It may not be a bad idea to do a few standard Cocoa with Objective-C
tutorials and familiarize yourself with the framework a bit.
If you want to use Ruby there is a Cocoa wrapper called RubyCocoa, it
is supported by Apple:
http://developer.apple.com/documentation/Cocoa/Conceptual/RubyPythonCocoa/Introduction/Introdu...
I found one article that seems to deal with events:
http://codeintensity.blogspot.com/2008/01/rubycocoa-...
HTH
Francis
hengist podd
8/10/2008 8:20:00 PM
0
Dolazy wrote:
> I found one article that seems to deal with events:
>
http://codeintensity.blogspot.com/2008/01/rubycocoa-...
Installing event handlers via NSAppleEventManager is fine for simple
tasks. For full-blown scripting interfaces that expose a query-able
object model a-la Finder, Mail, etc., Cocoa Scripting would be more
appropriate (if a bear to get right). Matt Neuburg - who often lurks
around this list - would be the best person to speak to.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourc...
--
Posted via
http://www.ruby-...
.
John Joyce
8/11/2008 2:28:00 AM
0
On Aug 10, 2008, at 3:20 PM, hengist podd wrote:
> Dolazy wrote:
>> I found one article that seems to deal with events:
>>
http://codeintensity.blogspot.com/2008/01/rubycocoa-...
>
> Installing event handlers via NSAppleEventManager is fine for simple
> tasks. For full-blown scripting interfaces that expose a query-able
> object model a-la Finder, Mail, etc., Cocoa Scripting would be more
> appropriate (if a bear to get right). Matt Neuburg - who often lurks
> around this list - would be the best person to speak to.
>
> HTH
>
> has
> --
> Control AppleScriptable applications from Python, Ruby and ObjC:
>
http://appscript.sourc...
>
> --
> Posted via
http://www.ruby-...
.
>
Also take a look at MacRuby
It is still in it's formative stages, but is the next level of
bridging Ruby and Cocoa.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Pure Ruby App that receives events
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password