In its simplest most primitive form, the script I am working on needs to access a project file stored on a server (this project would be a 'template' project of sorts for a particular show. It would include charts, mattes, LUTS etc., specific to the project. None of which has any bearing on this matter).
I have segmented and simplified the issue to a point where I can use an example from the scripting guide that will produce the same (err... actually, no result) results. See below:
[/code]
var my_file = new File ("F:\RESOURCES\compositing\SRIPTS_MACROS_PLUGINS\ae_scripts\GLOBAL\project.aep");
if (my_file.exists){
new_project = app.open(my_file);
if (new_project){
alert(new_project.file.name);
}
}
Code: Select all
Nothing happens. Heck, if I just call a function created to execute just the first if statement, nothing happens.
Occasionally, ExtendsScript spits an error saying something to the effect "F:\a completely different path\project.aep" can not be found, or is not a folder or file object. I must state that those errors are intermitent. Usually nothing happens.
What's the deal!? This should be a no brainer. Heck, what do I have to look forward to when I try and have a dynamically updated dropdownlist!!!! I'm going to bed, cauze "...if Bonnie comes home [and I am still futzin with this]... I gonna get f&%king divorved! And I don't want to get f#@king divorced!"
Assistance appreciated!