Hi,
Thank you for your enquiry.
The
Write Data to Registry action should allow you to write an array variable to the registry. I have achieved this using the following procedure;
- Create a blank new publication
- Add a script object to the page
- Create an array of number using the following syntax:
Code:
var myarray = new Array("1","2","3","4","5")
- Now click
Publication > Publication Properties > Variables
- Click
New and create a new variable named
myarray with a default blank text value
- Click
Apply and
OK to confirm the changes
- Now add a button to the page
- In the button actions, apply a
Write Data to Registry action
- Set the Source Variable to
newarray
- Set the Destination Label to
Test
- Click
Apply and
OK to confirm the changes
- Now preview the page and click the button
- Exit the preview and click
Start > Run
- Clear the current contents of the
Open: field and type "regedit"
- Click
OK. The Registry Editor should appear
- Navigate to
HKEY_CURRENT_USER\Software\Digital Workshop\Opus Publication Data
- Look through all of the subfolders until you find the one containing the
Test key
- The value of 'Test' should be
1,2,3,4,5
I hope this helps. Please do not hesitate to contact me if you have any further queries.
Kind regards,