Hello everyone, thanks for all the help recently I've been using Script Editor on the Mac and I have a question if these lines of code works on other platforms:
app = Appllication.currentApplication();
app.includeStandardAdditions = true;
color = app.dispalyDialog("What is your favorite color?", { defaultAnswer: "" }).textReturned;
if (color == "black") { app.dispalyDialog("I like black too!");
} else {
app.dispalyDialog("Interesting, I like black myself.");
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)