@laserlight and @NogDog ,
I thought Atom might help me to write a script to automate those tasks, but since then I had some help writing a PHP script that basically does the same thing, so I think my orginal request no longe applies.
But while you are asking, maybe it would still be good to know if I can use an editor like Atom to automate manual tasks that I might do now or in the future.
I don't know any Linux, but often hear people talk about Bash scripts and whatnot?!
I also know people use Perl and Pythn a lot to automate repetitive tasks.
Also, on my Macintosh I have BBEdit for simple editing, but apparently to do any scripting you need the paid version and that is $50!!! Not sure if it is worth the money?
Any suggestions on all of this?