Return Script Step Results to Variable

Idea created by chivalry on Dec 4, 2015

    FileMaker 14 introduced the Get Directory script step, which I believe was the first time a non Set Variable script step returned something directly to a variable. Other script steps could benefit from this, most obviously Show Custom Dialog (directly setting dialog fields to a variable instead of a field and perhaps the selected button instead of requiring Get ( LastMessageChoice )), Perform Script (setting the script result to a variable), Insert from URL.