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

AEGP_DoCommand(2415), aka Play, doesn't do anything

New Here ,
Jul 22, 2015 Jul 22, 2015

Copy link to clipboard

Copied

Are there limitations as to when the Play command can be issued?

I am issuing it in the idle hook, and it does nothing whatsoever.

Other commands (and by other I mean RAM preview) work.

Thanks.

TOPICS
SDK

Views

587

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 , Jul 31, 2015 Jul 31, 2015

Hi Chananya,

It appears there may be a bug here.  We're tracking this as #4028815.  Thanks for your report.

Votes

Translate

Translate
Community Expert ,
Jul 22, 2015 Jul 22, 2015

Copy link to clipboard

Copied

what AE version are you testing on?

in any case, you can try doing the same through javascript using

AEGP_ExecuteScript().

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
New Here ,
Jul 28, 2015 Jul 28, 2015

Copy link to clipboard

Copied

I am using CC 2014.

I have tried both AEGP_DoCommand, and AEGP_ExecuteScript with the script being "app.executeCommand(2415)", neither worked

The functions are called from the idle hook of my AEGP plugin.

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
Community Expert ,
Jul 28, 2015 Jul 28, 2015

Copy link to clipboard

Copied

looks to me like you're doing it right. it's either an AE bug, or a

restriction by design.

can you test with CC2015? if it's not working there either, you should

contact zac lam.

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
New Here ,
Jul 28, 2015 Jul 28, 2015

Copy link to clipboard

Copied

Tested with 2015, no results there either.

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 30, 2015 Jul 30, 2015

Copy link to clipboard

Copied

Hi Chananya,

Interesting if it isn't working.  Curious, what are you using the Play command for on the IdleHook?

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
New Here ,
Jul 30, 2015 Jul 30, 2015

Copy link to clipboard

Copied

I want to use external input that my plugin will read, and according to it start/stop the timeline.

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
Community Expert ,
Jul 30, 2015 Jul 30, 2015

Copy link to clipboard

Copied

in that case, you can use any of the following to emulate a "play"

operation on each idle hook:

AEGP_SetItemCurrentTime

PF_MoveTimeStep

PF_MoveTimeStepActiveItem

not perfect, but it will get you some of the desired effect on vAE versions

where DoCommand doesn't help.

if what you're REALLY trying to do is to get frames out of AE and not just

to get it to play, then you can use:

AEGP_RenderAndCheckoutFrame

AEGP_GetReceiptWorld

and get the frames directly, instead of making AE move it's time indicator.

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 31, 2015 Jul 31, 2015

Copy link to clipboard

Copied

LATEST

Hi Chananya,

It appears there may be a bug here.  We're tracking this as #4028815.  Thanks for your report.

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