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

ExtendScript attachProxy result

Community Beginner ,
Dec 11, 2023 Dec 11, 2023

Copy link to clipboard

Copied

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

Views

178
Translate

Report

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

Copy link to clipboard

Copied

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!

Votes

Translate

Report

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