• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa and REALbasic communication?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Cocoa and REALbasic communication? (From: Michael Diehr <email@hidden>)
 >Re: Cocoa and REALbasic communication? (From: Alex Fischer <email@hidden>)

  • Prev by Date: Getting the arguments of methods in other frameworks (from GDB)
  • Next by Date: Re: Ignore hide messages sent to my application?
  • Previous by thread: Re: Cocoa and REALbasic communication?
  • Next by thread: Re: Cocoa and REALbasic communication?
  • Index(es):
    • Date
    • Thread