Pause while running an script

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

furikake

Pause while running an script

Post by furikake »

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?

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

Mike Hale

Pause while running an script

Post by Mike Hale »

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.