Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Nov 23, 2017 4:00 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Growl GNTP class
PostPosted: Sat Oct 15, 2011 8:59 am 
Offline

Joined: Sun May 20, 2007 9:22 am
Posts: 45
Location: Belgium
With the new Growl 1.3 available on the Mac App Store, I have to make my application compatible again.
Until now, I used GrowlMBS, but the new Growl version does not work anymore with that framework.

So, I'll have to find/make a GNTP class for Growl, that provides me with the same methods I had with GrowlMBS, and that I can use as an alternative when Growl 1.3+ is detected.

Anyone confronted with this challenge as well? I'm a bit intimidated by the task of writing the whole thing, sockets, listeners, callbacks, etc.
I would be cool if I could share some ideas here.


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Sat Oct 15, 2011 2:09 pm 
Offline

Joined: Sun May 20, 2007 9:22 am
Posts: 45
Location: Belgium
OK, got it. I wrote 2 classes that act like GrowlMBS and GrowlNotificationMBS. Using sockets.
They're not finished yet, but I'm able to register, notify and even got the callback stuff working.
So consider this solved on my part. End of monologue.


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Mon Mar 12, 2012 5:28 pm 
Offline

Joined: Mon Oct 03, 2005 3:34 pm
Posts: 17
Location: Italy
I know it's some months from your post, but I'm evaluating doing the same, so, have you finally got working your classes?
If so, have you thought to share your work?


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Mon Mar 12, 2012 6:41 pm 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
I have some interests in this too !

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Tue Mar 13, 2012 1:03 am 
Offline
User avatar

Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden
I'm also interested in this!
Hope it can work with WE ;)

_________________
Image http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
Xojo Pro 2013r1


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Tue Mar 13, 2012 3:17 am 
Offline

Joined: Sun May 20, 2007 9:22 am
Posts: 45
Location: Belgium
I quickly copied the code out of my project, and when I tested it, it did not compile immediately.

But I leave the debugging up to you guys…:-) Inside my project it works.

Uh, is there there a way to post a file on this forum?
Here's a dropbox URL:
http://dl.dropbox.com/u/18762341/GNTPGrowl.rbp


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Tue Mar 13, 2012 5:24 am 
Offline

Joined: Mon Oct 03, 2005 3:34 pm
Posts: 17
Location: Italy
It seems the Socket class is missing. Can you share/describe this class? (I guess it could be a IPCSocket subclass).

Thanks!


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Tue Mar 13, 2012 1:53 pm 
Offline

Joined: Sun May 20, 2007 9:22 am
Posts: 45
Location: Belgium
More time this evening. Sorry about this.
I copied all class depencies into the project. There's a couple of MBS classes that might require plug-ins, but you might have them as well.
In fact I didn't bother to clean up to much, hope you don't mind.
I saved the rbp file again, you can download the modified version.
Hope this helps.

I wonder what Mountain Lion will bring us. Maybe this will not be needed anymore in the future.
Cheers! -- peter


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Tue Mar 13, 2012 5:17 pm 
Offline

Joined: Mon Oct 03, 2005 3:34 pm
Posts: 17
Location: Italy
Thanks, it works now.

I guess we'll still need to support Growl even with Mountain Lion.


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Fri Mar 16, 2012 2:57 am 
Offline

Joined: Mon Oct 03, 2005 3:34 pm
Posts: 17
Location: Italy
I polished a little the code:
- removed the MBS dependencies (used macoslib instead)
- added support for sending icons as binary (both app icon and single notifications icons)
- corrected some minor bugs/inconsistencies

Anyone wants the updated version? :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Fri Mar 16, 2012 6:27 am 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
MaxValle wrote:
I polished a little the code:
- removed the MBS dependencies (used macoslib instead)
- added support for sending icons as binary (both app icon and single notifications icons)
- corrected some minor bugs/inconsistencies

Anyone wants the updated version? :D


sure!

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Fri Mar 16, 2012 7:00 am 
Offline

Joined: Mon Oct 03, 2005 3:34 pm
Posts: 17
Location: Italy
Here it's the link: http://dl.dropbox.com/u/2252587/Growl.rbp.zip

I had to include the latest macoslib because I made some additions to the Process class.


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Fri Mar 16, 2012 12:36 pm 
Offline

Joined: Sun May 20, 2007 9:22 am
Posts: 45
Location: Belgium
Great stuff MaxValle. Bedankt! -- peter


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Fri Dec 28, 2012 2:12 pm 
Offline

Joined: Fri Apr 13, 2012 3:32 pm
Posts: 16
I tried the last dropbox link and it is no longer available. Can someone repost the Growl GNTP class?

-- Rob


Top
 Profile  
Reply with quote  
 Post subject: Re: Growl GNTP class
PostPosted: Sat Dec 29, 2012 12:05 am 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
swort wrote:
MaxValle wrote:
I polished a little the code:
- removed the MBS dependencies (used macoslib instead)
- added support for sending icons as binary (both app icon and single notifications icons)
- corrected some minor bugs/inconsistencies

Anyone wants the updated version? :D


sure!


Swort can you forward me a copy of the code so I can make a permanent link to it? :-)

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group