How to stop error message on open file script


the below script i've been running years. use open specific folders can choose appropriate psd file use. works fine

but after execute script , open dialog box appears decide not choose 1 of psd files , close dialog box.

when below error message: there way modify javascript if don't choose psd file , close dialog box won't below message.

photoshoperror.png

below script:

// ui strings localized

var uititleselectgridfile = "select texture file";

 

var folder = new folder(app.path.parent + "/photoshop plugins presets n stuff/textures")

var openfile = folder.opendlg(uititleselectgridfile, "psd:*.psd");

open (openfile);

[question moved ps scripting forum]



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop