-
Absolute File Path to Preset FFX
I need to get the absolute file path to an AE preset file on Windows and Mac for a script I’m working on.
This bit of code works on Mac:
var presetPath = Folder(Folder.appPackage.parent.absoluteURI + "/Presets/MyPreset.ffx");
var myPreset = File(presetPath);However when I run the script on Windows it does not work. I also tried adding “/Support Files” at the beginning of the string but it still doesn’t find the file and the rest of the script doesn’t run. What am I doing wrong here?