Questions tagged [adobe-extension]

See the CEP GitHub org to learn more:

20 questions
2
votes
0 answers

Can I Replace ProjectItem path with Another projectItem in Premiere Pro Extended Script?

ProjectItem.changeMediaPath(path); where path is path for example a video files path. This can be done. But the real question is ProjectItem is like a i have created subClip created from ProjectItem with in and out points, with speed / duration…
2
votes
2 answers

Is it possible to detect the change of page in InDesign using CEP/ExtendScript/JS?

I'm currently creating a plugin on InDesign and I would like to know if it's possible to detect if the user changes page ? I searched in the web and documentation, I found a few events but nothing that interests me. I thought about storing the…
2
votes
2 answers

Data binding with `ng-model` not working on some systems

Quite strange, but yes the same code works on one system but not on the other. I developed a HTML-5 based extension for Adobe Creative Cloud Applications (Adobe CC have the chromium framework built in that supports HTML based extensions) in which I…
1
vote
1 answer

Zoom on a layer in Photoshop with a button using CEP/JavaScript

I'm developing an extension in Photoshop and I need to zoom in on a layer when the user clicks on a button. To do this manually in Photoshop, I have to hold the Alt+Option keys and click on the layer in the Photoshop layer panelI want to zoom in on.…
1
vote
1 answer

How to draw a line on Photoshop using CEP/JavaScript/ExtendScript?

I am developing a Photoshop extension and I need to draw a line according to coordinates I receive from a server. I found this code that almost answers my question: Draw circle on a new layer in Photoshop using cep/Javascript but unfortunately, the…
1
vote
1 answer

How to declare the "beforeClose" event once time using CEP/JavaScript?

I need to know when the user decides to close the document he is on, so I found on various sites the "beforeClose" event. I have 2 problems: When I declare it in my ExtendScript file, the 1st time, the event is called 2x (1x when clicking and 1x…
1
vote
1 answer

How to set default document effects using CEP/JavaScript?

I'm building an application which is drawing many objects (rectangles, lines, circle, etc.) in an Indesign document using CEP/JS. The issue I have is that all objects I’m adding are inheriting document’s default transparency settings, etc. which is…
Fitspade
  • 377
  • 1
  • 11
1
vote
1 answer

(CEP/ExtendScript) Is it possible to include a JSX file from a server?

I am developing an extension for InDesign and I would like to store the jsx file on a server. This would allow me to update the plugin if I change something in the jsx without the user having to re-download the extension. I tried to directly do an…
1
vote
1 answer

Shapes aren't drawn on the good page when the document setup is 'facing page' in InDesign (CEP/JavaScript)

I am creating an InDesign plugin where one of the features is to draw shapes on a given page. I get a drawing from the backend with the page number on which it should be drawn. For this, I do : app.activeDocument.pages[index] to get the page I…
1
vote
1 answer

How to draw a graphicLines in InDesign using CEP / ExtendScript?

I saw that there was a similar question but my problem is not the same : This is how I create my graphicLines : var myArr = [ [x1, y1], [x2, y2], ... ] // Get the active document var doc = app.activeDocument; // Get item from the page var…
Fitspade
  • 377
  • 1
  • 11
1
vote
2 answers

(JavaScript/CEP) Is it possible to get the origin of my page on InDesign?

I'm working on an InDesign plugin and I would like to know if it is possible to get the origin of my page? I was thinking about something like this : var origin = app.activeDocument.pages[0].getOrigin(); Thank you in advance for your help ! EDIT: I…
1
vote
2 answers

Access node in Adobe CEP extension

Adobe allows usage of Node.js in CEP extensions, if activated through the manifest.xml. I followed all steps and tried to reproduce this example from Davide…
Stefan R.
  • 438
  • 1
  • 5
  • 22
0
votes
0 answers

InDesign/CEP: The automatic launch of the extension at application startup does not work

I found this thread that is supposed to work: https://community.adobe.com/t5/exchange-discussions/auto-launch-extension-at-application-startup-indesign/m-p/10563054 So I applied the code in the manifest of my extension but it doesn't work. My…
0
votes
2 answers

How to close a layer folder on Photoshop using CEP/ExtendScript/JavaScript?

I'm developing an extension in Photoshop and I need to close a layers folder (containing a lot of information) to make the layers view cleaner. I haven't found anything in the Photoshop documentation and nothing on the forums. From : To : Thanks…
0
votes
1 answer

How to detect the closing of a Photoshop document using CEP/JavaScript?

I'm developing an extension on Photoshop and I need to detect the closing of a document to send information to the server. My research did not lead me to any solution. Is there not an event like on ID like : app.addEventListener('beforeClose',…
1
2