>
> It looks right, but you should make sure you're sending this flags  
> value in network byte order. Otherwise, the bits are in the high byte,  
> while Growl is looking for them in the low byte. If your low byte is  
> clear (0x00), that's why Growl acts as if you haven't set the flags.

I ended up changing the code to:

priority = (flags & 7 << 1) | (bool) sticky; // bool works correctly
as one bit in php

I was playing around with it a little bit after posting last night and
dumping the output as hex and I was definitely sending 0101 for
Highest Priority + sticky but no luck. I tried the growlnotify.php
script from Tao of Mac and it didn't work either. I swear I remember
it working before. I'll check out the logging and worst case I'll just
hack the UDP classes in the growl source and add in logging myself.

Thanks for the reply.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to