Hi everyone,
I script a dialog box (palette) to import XML files into InDesign Documents. I retrieve xml files shared on a network folder on a dropdownlist. At any moment I need to refresh that list. There, I don't progress anymore.
First I called my dropdownlist items with this function :
function updateXML ()
{
for (var i = 0; i < XMLfromMethode.length; i ++ )
{
g.p11.add('item', XMLfromMethode[i].name);
}
}
later I want to renew this list with onClick event :
g.p12.icoRefresh.onClick = function ()
{
g.p11.removeAll();
updateXML ();
}
Thanks for help.
Best regards