Hi,
would it be posssible to get a description of the Growl UDP datagram format (when not using DO) somewhere?
Growl seems exceptionally cool, and several REALbasic users are asking for Growl support. Since you can't use DO from REALbasic, I'd like to write a module using UDP...
Thanks for any pointers!
Cheers,
Frank+++
UDP protocol info?
-
fbitterlich
- Harmless
- Posts: 4
- Joined: Thu Sep 01, 2005 11:43 am
- Location: Frankfurt, DE
1) Growl has REALbasic bindings so you don't have to write it yourself.
2) Here are Growl's protocol specs - http://trac.growl.info/documentation/de ... otocol.php
2) Here are Growl's protocol specs - http://trac.growl.info/documentation/de ... otocol.php
-
fbitterlich
- Harmless
- Posts: 4
- Joined: Thu Sep 01, 2005 11:43 am
- Location: Frankfurt, DE
Yes, noticed that, but it didn't compile for me. Plus, it's based on AppleScript, and I prefer UDP.ofri wrote:1) Growl has REALbasic bindings so you don't have to write it yourself.
Thanks, that's what I was looking for!ofri wrote: 2) Here are Growl's protocol specs - http://trac.growl.info/documentation/de ... otocol.php
Cheers,
Frank+++
-
fbitterlich
- Harmless
- Posts: 4
- Joined: Thu Sep 01, 2005 11:43 am
- Location: Frankfurt, DE
Can I use the AppleScript interface to post notifications to remote machines on the network as well?The_Tick wrote:If you don't like the bindings we have, might be easier to talk to applescript than udp. UDP is not guaranteed to be running, whereas applescript is always there.
Could you clarify this? Do you mean to call into a framework/dylib with a "Declare" statement in RB?The_Tick wrote:Or you can talk to cocoa/carbon. You get more functionality that way, but it's not as easy afaik.
You have to use udp for network notifications.. I was under the impression you were just going to use them for local notifications.
I'm not familiar with rb, but I do know that most languages can wrap most other languages.
Maybe if you told us what error message you were getting with the rb bindings, we could fix that.
I'm not familiar with rb, but I do know that most languages can wrap most other languages.
Maybe if you told us what error message you were getting with the rb bindings, we could fix that.
-
fbitterlich
- Harmless
- Posts: 4
- Joined: Thu Sep 01, 2005 11:43 am
- Location: Frankfurt, DE
There's no such thing as "inline C" or something in RB. But you can call libraries if you know the exact function names and arguments.The_Tick wrote:You have to use udp for network notifications.. I was under the impression you were just going to use them for local notifications.
I'm not familiar with rb, but I do know that most languages can wrap most other languages.
I get a "This method requires fewer parameters than were passed" on both the call to growlNotifyScript and growlRegisterScript. I don't know the reason; 6 parameters are passed to growlNotifyScript and 3 to growlRegisterScript, exactly what the scripts' "On Run" handlers require. But still I get this message.The_Tick wrote:Maybe if you told us what error message you were getting with the rb bindings, we could fix that.