Skip to main content
Inspiring
July 11, 2024
Question

target engine in CEP

  • July 11, 2024
  • 0 replies
  • 143 views

I need my extendscript to run in "main", but CEP panel launches it in transient. is there a workaround?

 

test.jsx:

//@targetengine main
alert($.engineName);

 

index.html:

<button onClick="__adobe_cep__.evalScript('$.evalFile(\'/Library/Application Support/Adobe/CEP/extensions/test/test.jsx\')', function(result){});">
launch
</button>

it seems evalScript ignores targetengine directive and script alerts "transient"

This topic has been closed for replies.