Has something changed in the extendscript/premiere sdk regarding setting of scratch disks? We've had code in place for the last few years that has worked well, but broke with Premiere 12.0.0.
This worked prior to 12.0.0.....(where <..._FolderPath> is our variable representing the location to this that particular scratch disk will be assigned.)
//Assign the variables to the currently open instance of Premiere's preferences and project variables with ExtendScript commands:
app.setScratchDiskPath(FirstVideoCaptureFolder_FolderPath,"BE.Prefs.ScratchDisks.FirstVide oCaptureFolder");
app.setScratchDiskPath(FirstAudioCaptureFolder_FolderPath,"BE::kPrefsScratchDisksFirstAudi oCaptureFolder");
app.setScratchDiskPath(FirstVideoPreviewFolder_FolderPath,"BE::kPrefsScratchDisksFirstVide oPreviewFolder");
app.setScratchDiskPath(FirstAudioPreviewFolder_FolderPath,"BE::kPrefsScratchDisksFirstAudi oPreviewFolder");
app.setScratchDiskPath(FirstAutoSaveFolder_FolderPath,"BE::kPrefsScratchDisksFirstAutoSave Folder");
I'm wondering if the names for the disks (for which there appears to be a few more new locations in the Project manager/Scratch disk dialog) have changed or if the setting command has changed?