Copy link to clipboard
Copied
Please help! Out of nowhere, my image processor has stopped working. First it wouldn't run from Bridge, and then I reinstalled photoshop and bridge...and it would then open Image Processor in Photoshop, but only process one image before getting this error: "Script Alert. I am unable to create a file in this folder. Please check your Access Rights to this location: (Name of newly created PSD folder on drive)." The funny thing is, it creates the PSD folder, writes one image, and then I get the error on the rest of the images I am trying to process. I have checked permissions on drive, and they are there. I have turned off my antivirus when I run the script. I have reinstalled Windows 11. Has anyone had this issue? What can I do? It is really killing my Photography workflow.
Copy link to clipboard
Copied
It also happens on my C: drive, so it is not my external drive.
Copy link to clipboard
Copied
Were you ever able to figure this out? I'm having the same trouble.
Copy link to clipboard
Copied
I get this also on the latest Photoshop beta ... (25.12)
Copy link to clipboard
Copied
I don't know what version of the script you have. I have in 1.1.0.6.
Check that your IsFolderWritable function code is like this.
// see if i can write to this folder by making a temp file then deleting it
// what I really need is a "readonly" on the Folder object but that only exists
// on the File object
function IsFolderWritable( inFolder ) {
var isWritable = false;
var f = File( inFolder + "deleteme.txt" );
if ( f.open( "w", "TEXT", "????" ) ) {
if ( f.write( "delete me" ) ) {
if ( f.close() ) {
if ( f.remove() ) {
isWritable = true;
}
}
}
}
return isWritable;
}
If so, then make a backup copy of the original script. Then in the code, change the function code to this.
function IsFolderWritable( inFolder ) {
var isWritable = false;
var f = File( inFolder + "deleteme.txt" );
if ( f.open( "w", "TEXT", "????" ) )
{
if ( f.write( "delete me" ) )
{
if ( f.close() )
{
if ( f.remove() ) {
isWritable = true;
else
alert(f.error + "\n\n" +f.fsName);
}
else
alert(f.error + "\n\n" +f.fsName);
}
else
alert(f.error + "\n\n" +f.fsName);
}
else
alert(f.error + "\n\n" +f.fsName);
}
return isWritable;
}
Run the script. Before the message about the impossibility of writing, you will get a message with the name of the file and an error. Perhaps this will help to understand the nature of the glitch.
If the glitch cannot be fixed based on the file error message, then replace the IsFolderWritable function code with this one.
function IsFolderWritable( inFolder ) {
return true;
}
This will eliminate the appearance of errors and messages in principle.
P.S. All this requires minimal knowledge of scripts and how functions are arranged in the code. Hope you figure it out.
Copy link to clipboard
Copied
I just switched to using image processor pro and it works fine. I was trying to use the default image processor from photoshop 24.1.1 20230112.r.238 4bbfa7a
Copy link to clipboard
Copied
what do you mean by "Pro", is there such a Pro thing in photoshop
Copy link to clipboard
Copied