Re: Cocoa and REALbasic communication?
Re: Cocoa and REALbasic communication?
- Subject: Re: Cocoa and REALbasic communication?
- From: Michael Diehr <email@hidden>
- Date: Mon, 12 Dec 2005 12:59:07 -0800
Great link, thanks!
The author shows how to instantiate a Cocoa object in REALbasic at
runtime. I want to do something similar, but inside-out -- I want to
have my REALbasic app masquerade as a Cocoa screensaver bundle, so
that when the OS opens my NSScreensaverview subclass, it's actually
launching my app.
On Dec 12, 2005, at 11:53 AM, Alex Fischer wrote:
You may read the following article:
http://www.declaresub.com/iDeclare/Cocoa/index.html
This may probably help you but it takes getting to the lower level
part of the ObjC runtime and probably complicates things more than
doing them straight in Cocoa/ObjC.
Alexander Fischer
On Dec 12, 2005, at 20:19 , Michael Diehr wrote:
I've asked this question on a REALbasic mailing list too. Seeking
any ideas you may have.
I'm trying to write a screensaver using REALbasic. At first
glance, this seems impossible because RB can't generate the right
kind of code bundle (as a subclass of NSScreensaverView).
However, I think there's almost always a way to get things
done. I'm wondering if I might be able to create a
screensaverview subclass in Cocoa (as usual) that then somehow
magically opens the REALbasic application and talks to it. I
could imagine doing this with AppleEvents but it seems there may
be some tricks to getting Mac OS X to treat the cocoa screensaver
process and the RB app as a unitary thing.
Any ideas? Don't be shy -- nothing is too weird!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden