View Full Version : how to create FileSystemObject?


Denis Khitorv
11-12-2004, 10:15 AM
Can anyone tell me how to create ActiveXObjects withing Photoshop script.
I need to create folders from the script, but following code is not working in Photoshop

var fso = new ActiveXObject("Scripting.FileSystemObject");

Any ideas and help is much appreciated.

Regards!

Leah
11-12-2004, 10:26 AM
I don't actually script myself (keep meaning to, but...), so take this with a pinch of salt, but don't you need to do

var fso;
fso = new ActiveXObject("Scripting.FileSystemObject");

rather than trying to do it all in one line?