AppleScript to JavaScript
A small example how to rewrite make
call from AppleScript to JavaScript.
tell application "Microsoft Outlook"
make new signature with properties {name: "Signature Name", content: "Best regards, ..."}
end tell
Application("Microsoft Outlook").Signature({name: "Signature Name", content: 'Best regards, ...'}).make();