Skip to main content
Inspiring
Jul 11, 2024 8:42 PM UTC
Question

target engine in CEP

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 is closed to new replies. Start a new post to keep the conversation going.