Hello,
I am successfully inserting Values in a Listbox from within a VBScript. I'm using the "Twin Dialog" method to refresh the Listbox. As suggested in one of your responses on the forum, I have 2 published events (1) a DoAction which calls and executes my script and (2) the NewDialog event which shows the "Twin Dialog".
For reference, I have also downloaded the samples (DualListExample & ComboListExample) provided. They have proven to be very helpful. However, I do have a problem...
My script processes "n" number of files. After each file is processed, I want to insert a value in the listbox and display the refreshed listbox. However, I see the refreshed values only after all the files have been processed. I suppose this is because the second published event does not get triggered until after the script has run its course.
I realize that the option is for the script to process one file at a time. But this would mean pushing the button "n" times to process each file separately just to see the refreshed listbox values.
Is there a way I can resolve this problem? Can I call the NewDialog event from within my script or is there any other solution?
Thanks & Regards,
Sandy
FOLLOW US
Get the latest news in Application Packaging