I'm using javascript to call a vbs because I can't use FSO methods in Javascript.
But If I try to do something while it is running I get a debug error. Is it possible to make Photoshop, or the Javascript wait until the VBS is done?
Pause while running an script
Pause while running an script
Look in the javascript tools guide( it should be under the folder where ExtendScript Toolkit is installed ). That guide lists the properties and methods for File and Folder objects in extendscript. So you shouldn't need to call FSO in vbs to work with files or folders.
Unless I don't understand what you are trying to do.
Unless I don't understand what you are trying to do.