Join our global community of Adobe Exchange developers.
Recently active
Hi,Within .js file i can fine the extension root using:var csInterface = new CSInterface();var extensionRoot = csInterface.getSystemPath(SystemPath.EXTENSION)how do i get the extension path from within .jsx file?I want to use: var scriptDir =<path to extensionRoot>/host/libs var scriptFile = "/myScript.jsx"; var runScript = File(scriptDir + scriptFile); $.evalFile (runScript);my jsx file is under extentionRoot/hostmyScript is under extentionRoot/host/libsUntil recently my scriptDir was external but i want to move everything under the extension folder.
Hello,I have two versions of Adobe InDesign installed on my computer (CC 2017 and CC2018).I am creating an extension for both versions.I use grunt-cep for building and launching my extension (in release or debug mode).Debugger tools worked well on InDesign CC2017 when I had only this one installed.Now that I have both, if I run in debug mode my extension on InDesign CC2018, debugger tools work as expected.But if I run my extension in debug mode on CC2017, debugger tools doesn't work properly :- Sometimes, I have my panel listed, but not linked to debug window (cannot access it)- Sometimes, I can access to it but :- elements panel is empty ; I have to switch to another, close debug, and go back to have them. But I cannot see CSS ... (this is my main problem)- console panel as no scrollbar .. I cannot access to all logs- some panels are just "broken" ; i can see only a part of themDon't know what I can do to solve that ... My register key for PlayerDebugMode seems Ok ...Thanks in advance
Hi All,I have panel that contains aem assets and need to place/import assets into indesign document that are placed into one rectangle frame.And also updated into links panel.I have doubt on this. How to use HttpLinkConnectionManagerObject , createTextFragmentLink for the above requirement?Please advice.Thanks,John.
Hi,I am trying to include the file myFunc.jsx which has local functions I created.It contains e.g:function getDocName() { return app.documents.length ? app.activeDocument.name : "No docs open!";}getDocName is used in my main.js file:function f_DocName() {var csInterface = new CSInterface();$("#btnDocName").click(function () {csInterface.evalScript('getDocName()', function (result) {$("#folderName").val(result);});});}I tried to load the jsx in my main.js file like this:function loadJSX() {var csInterface = new CSInterface();var extensionRoot = csInterface.getSystemPath(SystemPath.EXTENSION) + "/host/include/";csInterface.evalScript('$._ext.evalFiles("' + extensionRoot + '")'); }And of course I call loadJSX() in my init function.But getDocName() was not recognized, not unless i defined it in my main.jsx fileWhat is the right way to include jsx files with local function to be accessed from within main.js ?Thank you
I run an online store that aims to provide fun, creative AE tools - https://davey.studio/ - I'm interested in the idea of partnering with an experienced extension developer to pump out new tools and share in the profits. Contact me through my site if you are interested in furthering the conversation. Also, if you know someone that may be interested, I would be very grateful if you were to pass on the message.Hopefully this is within the guidelines of the forum Thanks!
HiI am trying to create a hybrid extension for Photoshop. I have created an HTML 5 extension and added code to listen events and dispatch events. Then I created a Photoshop plugin, added plugplug to it, added code to listen to events but I am unable to have communication between extension and plugin. Please guide.Thanks!
Hi,I create a panel and I noticed that since it does some calculation after I press my main "Run" button:The user can mistakenly think it is not running and press the "Run" button again which may cause the main function to run several times.How can I allow only a single press of this button?The relative functions are:in the main.js i use:csInterface.evalScript('createSplitExportWrapper(' + JSON.stringify(panelData) + ')');in jsx i use:function createSplitExportWrapper(panelData) { var scriptFile = "/wrappers/createSplitExportWrapper.jsx"; var runScript = File(scriptDir + scriptFile); // alert("scriptDir:\n" + runScript); $.evalFile (runScript); }
Hi Guys,In InDesign i want to autoload my panel at startup. I added the event com.adobe.csxs.events.ApplicationInitialized to StartOn tag in the manifest but its not working. Any suggestions on how to do this?I even tried to write a extendscript with registering an idle task that makes the panel visible but that is also not working always-Manan
I have a CEP plugin panel for Adobe Premiere which allows the user to search for assets in a remote system and add them to the project using drag & drop. Specifically it is populating the "com.adobe.cep.dnd.file" property in the dataTransfer event property on the dragStart event. I have been adapting the plugin to work with After Effects but this particular feature is not working. I have checked the documentation and code samples for CEP 8 and CEP 9 and nothing seems to address whether the API doesn't work and/or uses a different property for messaging. Is anyone aware if there is an API / event model for drag & drop from a CEP panel in After Effects? Thanks!
Dear All,I need to build an Adobe CEP html extesnion for InDesign application. Please anyone suggest me to where need to start ?
Hi,I ma trying to store my panel setting using cookies and i try to load jquery.cookie.js.for some reason all the other files are loaded but not jquery.cookie.js and i get an error that $.cookie is not a function.why is it not loaded??
Hi,I am trying to debug my panel creation.I have .debug file properly configured in my panel root and i can access it via Chrome.I can see the log files as well.I use Visual code extension for extended script to debug script i create for Photoshop.Is there a way to interactively debug my panel code, similar the the was I run a debugger to analyze my scripts in visual code?Dan
Hi,how to change the cep extension panel name in indesign through js/jsx code?for ex: "extension(ver 1.0)" is the current name i want to change that name to "extension(ver 2.0)"i have manually edited in manifest file but did not worked..pls help
Hi, Does anyone know where we can download a CEP html panel sample project for Indesign?Is there a CEP 7/8/9 Extensions Cookbook for Indesign available ?Thanks
Hi,I create a panel and i am using Topcoat styles.Is there a default style for simple text elements? <p> <label> <h1-5>basically i want my test to fit the color theme but i only found css styles for input element, not for pure text.How do you style the text?of course i can write my own css rules for text but i expect that it si already integrated in topcoat.e.g.: style this to match the panel.
I'm working on a Photoshop CES extension and attempting to encrypt data using CryptoJS. This works, except when I convert the encrypted data to a string and then try to decrypt it.Here's a link to a JS Fiddle that works:https://jsfiddle.net/davevsdave/atwpbmr5/3/This same code in ExtendScript Toolkit or running in Photoshop does not return the correct finalResult var. Here's the code I'm running in extendscript, identical to what is in the above JSFiddle (except $.println instead of console.log and an extra line showing that decrypting the obj works)://JSON from PaneljsonStr = '{"date":"1563662582633","email":"email@email.com","password":"1234324","uniqueID1":"12345","uniqueID2":"asfdsa-asdfsa-adsfas-sadfsdf-asfsaf\n"}';//Encrypt Datavar encrypted = CryptoJS.AES.encrypt(jsonStr, 'secret_passcode');//Convert OBJ to String so I can save itvar encryptedString = encrypted.toString();$.writeln('encryptedString is ' + encryptedString);//Decrypt string - DOES NOT WORK IN EXTENDSCRIPTvar
Hi guys, I know FastSpring is a separate partner business, but they've been ignoring my emails for over a week and I can't proceed with publishing my Adobe Exchange paid plugin without the key they have to provide. Does anyone know of typical estimates and delays when waiting for my FastSpring partner account request to be approved? I just need some guidance here to be sure I'm doing things in a right way. Thanks!
i,How do i prevent multiple instantiation of the same dialog from opening?I created a panel with a button which run a script.When i press a button a script runs and the script open a dialog.How can i suspend/prevent the user from pressing the panel button while the script dialog is open to prevent multiple instantiations of the same script/dialog?When multiple instantiations are open - only the last ids activeI noticed that if i run it from the script menu in PS, I can only open a single dialog for the same script.
Hi,I'm working on a complex Photoshop script which will triggered by selecting it from a panel.Currently all user interaction is done when the script is invoked - text fields, radio buttons, forms, checkbox etc.My CEP panel contains all the required scripts and basically triggers the script main dialog.In order to upload his to adobe exchange, do i have to integrate all my dialog (currently in the script) into the panel?Or is it acceptable to upload, to exchange, my panel in it's current from where the user triggers the script by pressing the appropriate button on the panel?Dan
I'm just starting to create my 1st panel and I hope i did everything right.I'm stuck on the with the alerts about unsigned extensions.I added PlayerDebugMode 1 to all the CSXS and am still unable to run my 1st panel.I also restarted my win10 and still the same.running win10 with latest version of photoshop.any clue why?
Hi,This is my first try to create a panel.I decided to start with eclipse and download Extension Builder 3.0.I went on and create a basic test as show here:https://www.youtube.com/watch?v=ZzdRfhT6R68&t=34sIt did not work at first so i had to do 2 things:1. i copied the test extension to c:\Program Files (x86)\Common Files\Adobe\CEP\extensions\eclipse created them under: c:\Users\danl\AppData\Roaming\Adobe\CEPServiceManager4\extensions\and that did not work2. after comparing some files to existing extensions, I modified manifest.xml manually under CEP/extensions/com.example.test/csxs/manifest.xml<Host Name="PHSP" Version="[14.0,14.9]" /><Host Name="PHXS" Version="[14.0,14.9]" />to<Host Name="PHSP" Version="[14.0,99.9]" /><Host Name="PHXS" Version="[14.0,99.9]" />that did the trick and my very first panel was working (I also had to add a key in my registry to prevent unsigned extensions alert.https://github.com/Adobe-CEP/Getting-Started-guides/blob/master/Clie
Hi,I'm glad it's now possible to subscribe to "Active Sequence Changed" event in Premiere scripting.This wasn't possible some years ago, so thanks for this.I found no way to react in a similar way to "Active Project Changed" event. Did I miss something? The goal is to update project-related information in the panel as soon as the user changes the active project. At least a way to react to "user opens a project" would be great.
Vscode has just been updated to v1.36.0 (on Windows 10) and the debugger has stopped working. I can not select a target engine in the debug bar and if I start a debug session, I don't see the alert to select a target engine. It seems that the debug session runs for a couple of seconds and stops without any apparent problem. I have rebooted Vscode, the hosts and the pc, but it's still the same. Is there any way to solve this?
I have generated a self-signed certificate on Mac using ZXPSignCmd -selfSignedCert CA ON MyCompany MyProduct password my-certificate.p12and then signed my after effect extension usingZXPSignCmd -sign .extension .extension.zxp .my-certificate.p12 password -tsa http://time.certum.plit worked fine on my Mac.then I pushed everything in git.Another developer tried to signed the extension on Windows using the same commandZXPSignCmd -sign .extension .extension.zxp .my-certificate.p12 password -tsa http://time.certum.pl and got this error ...Error - Failed to parse certificate. Please check that your certificate file(s) are valid, stored in an accepted file format (e.g. PKCS12 'p12'), and that you have entered the correct password.If he regenerate the self-signed certificate on windows and sign the extension, it work.But then when I get it back from git and try to resign the extension I get the same error...What is going wrong ?ThanksMat
Hello there,I am trying to send some data from JSX to JS, but the async operations are unreliable.I return from JSX a folder path and then I try to commit a mutation to vuex, but it works like a lottery...I tried using promises with no result. I increased the timeout to 1000 but it also kinda doesn' work all the time.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.