• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

Image Processor Only Processing 1 Image - Then I Access Denied

Participant ,
Aug 08, 2022 Aug 08, 2022

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. Screenshot (37).png

TOPICS
Actions and scripting , Windows

Views

701

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Participant ,
Aug 08, 2022 Aug 08, 2022

Copy link to clipboard

Copied

It also happens on my C: drive, so it is not my external drive.

Screenshot (38).png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 08, 2023 Feb 08, 2023

Copy link to clipboard

Copied

Were you ever able to figure this out? I'm having the same trouble.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2024 Aug 17, 2024

Copy link to clipboard

Copied

I get this also on the latest Photoshop beta ... (25.12)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Feb 08, 2023 Feb 08, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 17, 2023 Feb 17, 2023

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 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2024 Aug 17, 2024

Copy link to clipboard

Copied

what do you mean by "Pro", is there such a Pro thing in photoshop

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2024 Aug 17, 2024

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines