Hehe :)
But why not just use:
options.putDefaultValue("GID",new Date().getTime());
?
Thanks,
Teo
On Wed, Sep 10, 2008 at 9:02 PM, ezCandlesticks <[EMAIL PROTECTED]>wrote:
>
> Know how folks say when you have trouble with something, walk away a
> bit and come back at it fresh?
> Yesterday I finally had time to come back to this item, and in minutes
> I realized my problem. Figured I come back here and confess my
> dumbness.
> Sure, I was declaring a default value, but I had it just hanging out
> in the main.js
>
> options.putDefaultValue("firstInstall",true);
>
> Of course it made a new value each time - duh on me. Nestle it inside
> a check like this:
>
> options.putDefaultValue("firstInstall",true);
>
> if (options.getValue("firstInstall")) {
> options.putValue("GID",new Date().getTime());
> options.putValue("firstInstall", false);
> }
>
> And all is well. I can be so thick headed sometimes! :)
> Cheers
>
> >
>
--
Teo (a.k.a. Teodor Filimon, Teominator)
Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com
GMT +2 (or PDT +10)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Desktop Developer Group" 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/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---