You can also watch this video at YouTube (but with ads).
Here are the JavaScript elements to save you from typing them from scratch:
function run(input, parameters) { app = Application.currentApplication(); app.includeStandardAdditions = true; var choices = ["continue to wait", "try contacting us again", "try calling"]; var selection = app.chooseFromList(choices, {withPrompt: 'Otherwise?', multipleSelectionsAllowed:false}); return selection; }
function run(input, parameters) { var response = "Thanks for your inquiry " + input[0] + ". We will respond within " + input[1] + " days. If you do not hear from us by then, please " + input[2] + "."; return response; }
Is there a shortcut that returns date ?
Sony: A simple script like this would do it:
Hi,
I followed this script & it works until the last "Get Value of Variable". It appends each get value of variable in the results, then, once getting to the last get value of variable, it removes all of the other get value variables & sets the result to only the last get value of variable.