Information on Coalescing

The Growl forums have moved to Google Groups, this forum is read only.
Locked
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Information on Coalescing

Post by DeltaTee »

Where can I find basic information on the coalescing features of growl?
- What is/will be the first version to implement it?
- Is it/will it be supported though AppleScript to GrowlHelperApp
IngmarStein
Latté
Posts: 63
Joined: Fri Dec 03, 2004 5:35 pm

Re: Information on Coalescing

Post by IngmarStein »

DeltaTee wrote:- What is/will be the first version to implement it?

0.7
DeltaTee wrote:- Is it/will it be supported though AppleScript to GrowlHelperApp

0.7.1
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

Is the coalescing support for GrowlHelperApp in Beta 3 (June 2nd), or will it appear in a later beta version?
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

Is the coalescing support for GrowlHelperApp in Beta 4 (June 17th)?

I didn't see the feature as outstanding in Trac and I couldn't figure out a way to upgrade my scripts to use coalescing (from the applescript dictionary).
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

Is the coalescing support for GrowlHelperApp in Beta 5 (August 1st)?

I didn't see the feature as outstanding in Trac and I couldn't figure out a way to upgrade my scripts to use coalescing (from the applescript dictionary).

Is this feature still planned for .7.1?
User avatar
Diggory
Growl Team
Posts: 129
Joined: Sat Dec 04, 2004 12:17 pm
Location: London

Post by Diggory »

You pass the notification command an optional parameter 'identifier' [string]

Notifications with the same identifier should coalesce
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

The code I have without coalescing works fine:

tell application "GrowlHelperApp" to notify title "theTitle" description "desc" application name "Rename Files" with name "Finished"

But trying to add the support gives me an "identifier can't go after this" error on compile:

tell application "GrowlHelperApp" to notify title "theTitle" description "desc" application name "Rename Files" with name "Finished" identifier "test1"


Does a bug need to be filed on Trac since the GrowlHelpApp dictionary does not seem to have been updated?
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

Has the support for coalescing been dropped from GrowlHelperApp AppleScript for the next release (since I still cannot make it work with .7.2 beta 3)?
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

It's never been there right? Make a ticket requesting it for .8
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

I will do that. (I hadn't yet because I was told earlier in this thread that it was implemented for .7.1)
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

ingmarstein: How does one make coalescing work in GrowlHelperApp?

I have asked with the betas, and was never given an answer except its in there.

A bug is filed, but closed and said it is "in there".

My posted code still doesn't compile.

The dictionary doesn't show the command.

If the code is in there, please let me know how to enable it.
- Would a reinstall of X fix this?
- Do others see this command in the dictionary?
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Look here: http://src.growl.info/growl/trunk/Bindi ... Growl.sdef

It contains this:

<parameter name="identifier" optional="yes" code="iden" type="text" description="The identifier of the notification for coalescing.">
<cocoa key="identifier"/>
</parameter>

This was added in svn revision 2552 to the trunk, and not to the .7x branch.

Here we have it in the trunk, revisions 2552:
http://trac.growl.info/trac/file/trunk/ ... Growl.sdef

Here we do not see it in the .7.2 tag, which was the .7x branch:
http://trac.growl.info/trac/file/tags/g ... Growl.sdef

There will not be another .7x release, you will need to wait for .8. Even though we released .7.2 after the change to the trunk, any release after the original .7 release were bug fixes.

You will see coalescing in AppleScript with .8. If you need this sooner, I would suggest looking into Cocoa or Carbon, both should have Coalescing support via the framework.
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

Nope, I will wait just fine. The coalescing support should appear in the first beta of .8 and will appear in the final release.

I was confused because earlier messages pointed to this change being part of .7.1 (which it was not). It was added to the trunk, before the latest release, but after that code split from the main trunk.

I'm still working on figuring out how code release cycles work. Thanks for the detective work in looking back though the subversion commits. :-)
DeltaTee
Latté
Posts: 71
Joined: Sun Jun 05, 2005 7:58 pm
Contact:

Post by DeltaTee »

Yes, it has been added to .8. Thanks for putting up with me Ingmar.

Also thanks to the person that put the SVN directions together. Everything works likea champ (and looks great to boot).
Locked