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

how to call importMGTFromLibrary method

Community Beginner ,
Jul 05, 2018 Jul 05, 2018

I see there is an importMGTFromLibrary method available in sequence objects when using Premiere's ExtendScript API, but I can't seem to get it working.  I assume it works in a similar way to the importMGT method (the use of which is demonstrated in the code for PProPanel and takes 4 arguments - a file path, a sequence in point, a video track index and an audio track index).

importMGT(mogrtToImport.fsName, targetTime.ticks, vidTrackOffset, audTrackOffset);

How would you go about (if that's the right way to do it) specifying a 'path' for a mogrt stored in an Adobe CC Library when using importMGTFromLibrary? I tried '/LibraryName/FileName.mogrt' and various other combinations and omissions of the file and library name but no cigar... !

TOPICS
SDK
1.2K
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

correct answers 1 Correct answer

Community Beginner , Aug 02, 2018 Aug 02, 2018

Thanks to Bruce Bullis​ answering this one off the back of another question I posted:

sequence.importMGTFromLibrary("Library Name", "MoGRT Name", targetTime.ticks, vidTrackOffset, audTrackOffset);

Translate
Community Beginner ,
Aug 02, 2018 Aug 02, 2018

Thanks to Bruce Bullis​ answering this one off the back of another question I posted:

sequence.importMGTFromLibrary("Library Name", "MoGRT Name", targetTime.ticks, vidTrackOffset, audTrackOffset);

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
New Here ,
May 11, 2024 May 11, 2024
LATEST

I need the example for the Importing from Local Library in premire pro ( Essential Graphics ) 

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