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

Open video in Source monitor from extension / ExtendScript?

New Here ,
May 19, 2014 May 19, 2014

Copy link to clipboard

Copied

I want to write a panel extension which browses a remote asset management system, downloads proxy videos, and shows them in the Source monitor; similar to the Media Browser panel.

However, I can't find any way of getting a local file to open in the source monitor. The script functions I have tried either expect a Premiere project, or will open the file in QuickTime Player.

Does this functionality exist in Premiere?

TOPICS
SDK

Views

975

Translate

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

correct answers 1 Correct answer

Adobe Employee , May 21, 2014 May 21, 2014

Yes it does (in PPro 7.2 and later). Please write me directly with any questions: b b b at adobe dot com

        app.enableQE();

  var file_to_open = File.openDialog ("Choose file to open.", 0, false);

  if (file_to_open != null)

  {

  qe.source.openFilePath(file_to_open.fsName);

  qe.source.player.play();

  }

Votes

Translate

Translate
Adobe Employee ,
May 21, 2014 May 21, 2014

Copy link to clipboard

Copied

Yes it does (in PPro 7.2 and later). Please write me directly with any questions: b b b at adobe dot com

        app.enableQE();

  var file_to_open = File.openDialog ("Choose file to open.", 0, false);

  if (file_to_open != null)

  {

  qe.source.openFilePath(file_to_open.fsName);

  qe.source.player.play();

  }

Votes

Translate

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
Explorer ,
Jul 02, 2014 Jul 02, 2014

Copy link to clipboard

Copied

Is it possible to directly pass a string to qe.source.openFilePath(), without using the File.openDialog() method?

In particular, I have URLs like this, pointing to somewhere on a network:

file://10.10.101.11/somefolder/somefile.avi

and would like to be able to open them directly in ExtendScript, without prompting the user to select a file in a File Open dialog.

Please advise what type of URLs does qe.source.openFilePath() expect?

Your help is much appreciated!

Votes

Translate

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 ,
Jul 02, 2014 Jul 02, 2014

Copy link to clipboard

Copied

LATEST

In addition to local file paths, PPro imports from mounted network volumes (Mac), mapped network drives (Win), and UNC paths.

Votes

Translate

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