I have a script that:
- creates a new folder
- scans an InDesign document for images
- formats the images and copies them to the new folder
When the script is done doing all of this I want it to bring to focus the new folder directory (in Windows).
As of now I am displaying the folder-path in an alert window, but I would rather it open the directory (if it isn't already) so the user can see the new files.
I wish I could just call one of these:
myNewFolder.bringToFront()
: works only on program focus, i.e. --BridgeTalk.bringToFront("photoshop")
myNewFolder.open()
: seems to apply only to file I/O operationsmyNewFolder.show()
: seems to apply only to theWindow
object
...but none of these work.
EDIT:
new ActiveXObject("Scripting.FileSystemObject")
does not work either...