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

File/Folder access via script broken in AME on Windows 10

Contributor ,
Nov 18, 2024 Nov 18, 2024

I have a script that adds files to the AME batch list from a user selected folder. I haven't used the script in a while and when I went to use it today I found the file/folder access is no longer functioning?! The same script works fine on Mac but not on Windows 10. I tried a bunch of different file and folder access methods hoping something might work but they all seem broken. also rolled back to AME 24 which definitely worked in the past but still no joy.

It seems that people were having a similar issue with Premiere a while back that was caused by a Windows update.  I aslo thought there might be an equivalent preferences setting to "allow scripts to access files" as there is in Ae, but couldn't find anything. I really need this script going again asap... Hoping someone has some intel or workaround. thanks ../JL

TOPICS
Error or problem
238
Translate
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 Employee ,
Nov 19, 2024 Nov 19, 2024

Hi, would you be able to share your script so I can have look into it. And also would you mind telling me if you have Windows AMD or Intel? 

 

Best regards,

-Sue

Translate
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
Contributor ,
Nov 19, 2024 Nov 19, 2024
hi Sue , here's a snippet of the file access code, works fine on Mac but not on Windows 10 Intel. also works in Premiere and After Effects on Windows. Thanks for looking into it.
 
 

 

//-- file access testing AME - Nov 2024

var presetSourceFolder = Folder("F:/2022 - MU/Calib");

if (presetSourceFolder.exists) { var rootSourceFolder = presetSourceFolder.selectDlg("choose a source folder")}

else { var rootSourceFolder = Folder.selectDialog("choose a source folder")}

if(rootSourceFolder){

    var myFileList = rootSourceFolder.getFiles();

    $.writeln(myFileList.length + " files in " + rootSourceFolder.fullName)

} else {

    $.writeln("doh!")

}

 

 

Translate
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 Employee ,
Nov 20, 2024 Nov 20, 2024
LATEST

Hi,
good news,! I was able to test your script and indeed it is a bug and we have fix for it. I will let you know as soon as we have the fix in Beta. Possibly in AME Beta release 25.2x. 
AMe 2023 works fine though, if you need inbetween some automation running.
Best regards, 

Sue

Translate
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