Unfortunately the options only support primitive types (boolean,
numbers, strings). If you want to store a complex type like an array
or object you could try converting your object or array to a JSON
string and store it. See www.json.org for more details on JSON.

Best regards,
Benjamin

On Jan 5, 12:42 pm, darky <[email protected]> wrote:
> In the API-Reference is written: putValue(string name, object value)
> So the value can be an object. And I think an array is an object, am i
> right?
> I work with the GoogleDesktopGadgetDesigner. And when I try this
> gadget out with the Preview-function all works.
> But when I add it to GoogleDesktop and i want to store an array, there
> is the warning, that the options coud not be stored.
> I'm using "Google Desktop 5.7.0805.16405-de-p".
>
> How can I store arrays as options?
> Thank you
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to