I am trying to add a command to my WineskinStartupScript that will display a dialog box using Applescript, and - for reasons I don't understand - the dialog box appears twice. Apparently the command runs twice.
Here is the command that I use for testing:
{CODE(caption="AppleScript command")}osascript -e 'display dialog "Hello world" buttons {"OK"}'{CODE}
The dialog appears once; I click OK; the dialog appears again a second or two later.
Am I doing something wrong? Is there a way to make the dialog appear only once?
Thanks for any help.
↧