However... Windows is a whole other story. No matter what I do I can't target the currently open instance of AS to open a previous document. It ALWAYS opens in a new dang instance. Even double clicking a file on the hard drive will open a new instance. Very annoying.
I have to use "os" commands to open a file because AS does not have an "Open File" command via a script. These os commands for windows are the same as using the "command prompt" to find and open files or launch applications. I've searched and searched and can't find any way to target a running application instance.
If any of you are Windows "experts" or even programmers that have knowledge of how to workaround this issue I would be happy to hear it. Maybe there could be a simple application created in "basic" or something that can target an instance of AS like the Mac does?
So... this tool script as it is will work fine on Mac and probably on Linux (same command line commands but I don't know about "instancing" on linux) but doesn't do well on Windows.
All help or suggestions will be appreciated.
p.s Back to the consolidation script...

-vern