This content has been marked as final.
Show 3 replies
-
-
2. Re: [JS] doScript Question
Roy Marshall May 29, 2010 3:34 AM (in response to Shonkyin)Hi Jong
I saw that your other post speaks about closing the window/panel. I am already doing this:
myOK.onClick = function()
{
myDialog.close();
if(myButtonFive.value == true)
{
app.doScript(myOpenScript);
}
So as I see it the dialog is closed before the doScript.
I will keep on trying different things, but at the moment, I am stuck!
Cheers again
Roy
-
3. Re: [JS] doScript Question
Roy Marshall May 29, 2010 4:35 AM (in response to Roy Marshall)Well, I got it working. I had the doScript within the function controlling the dialog, even the it was after the close() command.
Taking the doScript outside the function works a treat.
Thanks for the tips Jong.
Roy

