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

Automate Autotrace via Extendscript

New Here ,
Feb 24, 2020 Feb 24, 2020

Hi! Actually what I need is to automate layer auto tracing via scripting.

I'm able to call auto trace on a layer using the following command:

app.executeCommand(app.findMenuCommandId("Auto-trace..."))
But it opens a modal dialog.Screen Shot 2020-02-24 at 23.05.07.pngexpand imageIs there some internal command using which I will be able to apply tracing, i.e. simulate pressing OK button or even change values above (tolerance, threshold...)? 
It seems internal commands are not documented by Adobe and I don't even know whether this is doable by using app.executeCommand(commandID) command.
I didn't find anything regarding autotrace even in plugin sdk. 
Can anyone help me with this problem?
Thanks!
 
TOPICS
Scripting , SDK
1.3K
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

Advocate , Feb 24, 2020 Feb 24, 2020

Just a little bit of forum search and you realize that automating OK click isn't possible:

https://community.adobe.com/t5/after-effects/automat-the-auto-trace-process/m-p/10268070?page=1#M76582

Translate
Advocate ,
Feb 24, 2020 Feb 24, 2020

Just a little bit of forum search and you realize that automating OK click isn't possible:

https://community.adobe.com/t5/after-effects/automat-the-auto-trace-process/m-p/10268070?page=1#M765...

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 ,
Feb 24, 2020 Feb 24, 2020

Thanks Tomas.

it's a pity that After effects has limited scripting capabilities. I wish it had something like Photoshop's scripting listener plugin.

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
Community Expert ,
Feb 25, 2020 Feb 25, 2020
LATEST

Tom is right, this isn't scriptable. But you can request this feature here if you'd like:

 

https://adobe-video.uservoice.com/forums/911311-after-effects

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