I have been using a folder object as part of a script written in javascript and used for photoshop cs6 scripting.
My question regards the folder object
The cs6 javascript referance document says the following about folder objects
"ExtendScript defines the JavaScript classes File and Folder to encapsulate file-system references in a platform-independent manner; see ‘JavaScript support in Adobe Photoshop CS6’ on page 32. For references details of these classes, see the JavaScript Tools Guide."
(ExtendScript is Adobe’s extended implementation of JavaScript)
I am able to set the Folders directory by using something similar to Folder.setDialogue (the code is on my other PC so I cant remember what the exact method is but this prompts the user to select a folder.
I want to hard code the folder location into the script
the documentation says that the folder object accepts the folder as a constructor but i cant make this work
i have tried code which looks something like
Folder(c:/some folder) and have tried replacing none text characters with their hexadecimal values but this has not worked ether.
How do i make it work?