More tips:
Your first set of scripts should not use any UI. ScriptUI has a learning curve that you should put off initially. You can use the File and Folder classes for prompting for files to open or save, but don't build any of your own windows. If you do need to change settings between runs of a script, use a global variable in which you store those settings. Edit the script to change them as needed.
Then you can learn ScriptUI or ActionManager next, as needed.
Use ESTK as your javascript editor unless you already have a preferred programming editor.