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

ExtendScript attachProxy result

Community Beginner ,
Dec 11, 2023 Dec 11, 2023

Hi,

In the docs, it says ProjectItem.attachProxy() returns 0 when successful.

 

If I try to attachProxy to a mediaPath that does not exist, Premiere pops up with file not found.

 

If I try,
var result = attachProxy 

 

result is always true, even when the mediaPath is not valid. The "file not found" pop-up is suppressed though. 

I suspect my understanding of success is not correct, but basically I just want to try another proxy mediaPath of the initial one does not exist.

 

Maybe if the attachProxy is true with an invalid mediaPath, I can just use hasProxy() to see if it was successful or not.

 

thanks

 

 

 

TOPICS
SDK
187
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 ,
Dec 12, 2023 Dec 12, 2023
LATEST

>Maybe if the attachProxy is true with an invalid mediaPath, I can just use hasProxy() to see if it was successful or not.

 

Sounds good!

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