7 messages in com.googlegroups.google-desktop-developerRe: Designer, Javascript, and Notific...
FromSent OnAttachments
hunt...@gmail.com15 Dec 2006 08:41 
James [GD Team]15 Dec 2006 13:32 
hunt...@gmail.com15 Dec 2006 13:59 
James [GD Team]15 Dec 2006 17:51 
hunt...@gmail.com15 Dec 2006 21:58 
James [GD Team]19 Dec 2006 06:08 
hunt...@gmail.com19 Dec 2006 10:00 
Subject:Re: Designer, Javascript, and Notification
From:James [GD Team] (j.@google.com)
Date:12/15/2006 01:32:35 PM
List:com.googlegroups.google-desktop-developer

Hello,

Within the designer, is "Uses notifier for displaying alerts?" checked in "Project Settings"?

Also, your code might be perfect, but gadgets will refuse to actually display the alerts unless the user opts-in and allows it. So make sure your gadget is running and within the sidebar go to "Options > Configure Gadgets". Find your gadget among the list and check the "Enable alerts" checkbox. Be sure your users are aware of this too.

And as you've seen, the notifications do not work in the designer preview.

Cheers! James

hunt@gmail.com wrote:

Hey All,

I've doen searches and tried the code snippets here in the group but I still can't get notification working.

Does anyone have a good simple example of working notifications I can look at and work through what is happening?

Right now when I do this:

ci = new ContentItem(); ci.heading = "Heading"; cnArea.AddContentItem(ci, gddItemDisplayAsNotification);

In the designer I get an error saying 'Code:0x800a01ad Description: Automation server can't create Object". And if I run it from Google Desktop nothing happens.

Any ideas?