CSInterface (CEP) vs Vulcan (CPI)

Hello world

I'm looking for a means of communication to be able to send / receive messages from my HTML extension to a native C++ plugin in InDesign CC.

In different documentations, I saw two candidates therefor: Vulcan (aka CPI Toolkit) and CSInterface (aka CEP). In the creation wizard of extension for the generation of a new extension, two of them are available, by adding two different .js extension.

What is the difference between them? What are the benefits / limitations for each of them?

Rémi

My fault. I finally understood that the CEP and CSXS were the same. Documentation from Adobe has confused me.

I have seen that Vulcan is an extension of Flex, and CEP/CSXS was for an HTML/Javascript extension.

Tags: Adobe

Similar Questions

  • CEP Plugin: it notifies the C++ code html events?

    Hi all

    I'm new on CEP Plugin development architecture. I have a general query where I want to go forward according to the answer to my questions.

    (1) can I load a web page from server on CEP Plugin? (I would like to connect to my web site and need to know if I am connected or not http response).

    (2) events support CEP as a URL change on the Web page and send notifications?

    (3) provide the way to call the HTML page C++ functions? (where I'll do most of the operations and want to manage events such as when the click on html element)

    Thanks in advance,

    Hey,.

    in my opinion you need to divide CEP tampon() and extensions. The Plugin is the part of C++ using the SDK (somehow backend) and the Extension's user interface - of course you can do the same things here and there.

    (So the HTML extension can do everything you can do with HTML and JS - so, 1) and (2) actually.

    It is the CSInterface for the communication between the Extension and the Plugin, so you can send a notification HTML<->C++, pass it and make 3)

    concerning

    Patrick

  • Download file with NodeJS extension CEP

    I try to get the download file with NodeJS working in my CEP for first Pro CC 2015 extension. I have the following script:

    var http = require('http');
    var fs = require('fs');
    var file = fs.createWriteStream("file.jpg");
    var request = http.get("http://i3.ytimg.com/vi/J---aiyznGQ/mqdefault.jpg", function(response) {
        response.pipe(file);
    });
    
    
    

    The script works perfectly fine if I run it on his own. For example, if I put in a file named test.jsand run test.js node in the terminal, it registers with success the image in the same directory that the script is in.

    When I include in my CEP extension, however, nothing happens. The script runs without error, but no file is downloaded anywhere. Even if I try:

    try {
         response.pipe(file);
         alert("File downloaded");
    } catch(e) {
         alert(e);
    }
    

    The "Download file" alert appears. If lack-of-download does not seem to come from an error in the code, but maybe how CEP works itself? I am at a loss. Any suggestions?

    Thank you!

    For anyone interested, I came up with a solution.

    Instead of recording in the extension directory, you can save a file downloaded in the path of the project, using app.project.path. Here is my commented code:

    In hostscript.jsx

    function returnPath() {
         var projectPath = app.project.path;
         // split the path into an array
         var parsed = projectPath.split("/");
         // remove the last element (which is the name of the Premiere project file)
         parsed.pop();
         // rejoin the array, giving the parent directory of the Premiere project file
         var joined = parsed.join("/");
         return(joined);
    }
    

    In main.js

    function downloadAndImport(url, songName) {
         // call the evalScript we made in the jsx file
         csInterface.evalScript('returnPath()', function(result) {
              var https = require('https');
              var fs = require('fs');
              var mkdirp = require('mkdirp');
              // create a Downloads directory in the project path if it doesn't exist already
              var downloadDirectory = result + '/Downloads';
              mkdirp(downloadDirectory, function(err){
                   if (err) { // handle error }
              });
              var fullPath = downloadDirectory + "/" + songName;
              var file = fs.createWriteStream(fullPath);
              var request = https.get(url, function(response) {
                   response.pipe(file);
                   // ensure file is complete before importing
                   response.on('end', function() {
                        csInterface.evalScript("app.project.importFiles(['" + fullPath + "'])");
                   });
             });
         });
    }
    

    It works for my needs. I hope it helps someone else!

  • Import directly into the first aid extension of CEP

    Development of extensions CEP very new here. We have a web server with several media files. The goal is to create an extension of the PEC for Premiere Pro that allows users to access files on this server and import them directly into their project.

    I've seen a few other extensions that can do this already, but am very confused as to how it is actually done. I don't see how that's possible with Javascript seamlessly download a file, without any kind of guest to find out where to save it and then have first import automatically.

    Here is an example that does exactly what I describe:

    https://creative.Adobe.com/addons/products/13539#.VmMjAIRTdvU

    I had a look at the source code for the above example, but there are 83 000 lines of Javascript to sift through.

    I'm not looking for a complete tutorial on how to do this, just a general direction to look in. Is there some sort of API first that handles this? Is it really possible to do this with Javascript only? Any guidance is appreciated.

    Thank you!

    Try this:

    var csInterface = new CSInterface();

    var filePath = ~ / file.MP3;

    csInterface.evalScript ("app.project.importFiles (['" + filePath +"']) ', function (result) {}" ")

    Alert (result);

    });

  • What are the applications support 5.2 CEP?

    I tried to use CSInterface - 5.2.js in the wake of the Illustrator CC2014, but it seems it does not support this version of the CEP. Am I wrong? And what applications?

    In the CEP sample Extensions Rumtime = "5.0" version

    http://www.w3.org/2001/XMLSchema-instance '.

    ExtensionBundleId = "com.adobe.CEPHTMLTEST"

    ExtensionBundleVersion = "1.0" Version = "5.0" >

    It comes from the CEP_HTML_Test_Extensions manifest file.

    Probably, you should not change the manifest file.

    Ten

  • window.cep.fs.showOpenDialog bug in CEP4 - select max 9 files

    Hello

    I'm creating an extension of html5 for Photoshop, and I think I found a bug.

    When you use window.cep.fs.showOpenDialog () with the multipleFiles set to 'true' attrribute, I can only select up to 9 items at a time.

    When I select 9 elements, everything is as it should be: I get my table of returned file names. But when I select more than 9 points, the table is empty.

    I use CEP4 (CSInterface - 4.0.0) and Photoshop 14, since in the CC2014 and CEP5, the extension is running very very slow.
    Also I use Win 7 64 bit.

    Sam

    We found this problem and plan to fix it in the next version.

    Kind regards

    LEA

  • Question of Safari and Chrome. indicates on the navigation screen. "An element of the Protection of the family filter does not work as expected. Restart your computer. If the problem persists, contact support.  Error: failed to hose CPI. »

    Question of Safari and Chrome. indicates on the navigation screen. "An element of the Protection of the family filter does not work as expected. Restart your computer. If the problem persists, contact support.  Error: failed to hose CPI. »

    Quit Safari, Chrome to quit smoking. If necessary Forcequit.

    Start Safari while holding the SHIFT key, select the menu Safari ClearHistory, then after this check that the homepage is the one you want.

    Do the same for Chrome.

    Close all browsers, restart the mac.

  • How do I view or open a file '.cpi' / video?

    I have several video files with the extension ".cpi" which I am not able to open, or discover.  What should I do to open these files/videos?

    See on this file extension and a list of programs that can open it.

    However, it is perhaps not what you want, according to the guidelines of the page linked above,

    "Clip information file created by various high-definition (HD) digital camcorders; contains the metadata that describes an AVCHD video stream, such as the frame, frames per second rate and proportions; used to describe a. MTS video stream. »

    So that means that the .cpi file contains only metadata required for streaming of video files in AVCHD format. The video file .mts contains the actual video.

  • CEP Wreaking Havoc on WIN7 - cannot download anything. EXE files

    It started yesterday 07/02/16 when I removed a butterfly of the night-balled HP Mini and it turned on.  I had a specific goal in mind for this small and snail - like processor.  And he began.  The machine had not been on since January 2015.  So I started by trying to get the Windows updates.  That never happened.  He just sat there and never offered updates... oh yes except Win10.  So I tried.  When the downloaded Win10, the virus scan .exe file ran and has highlighted the file in red indicating the file contained a virus and was deleted.  So I tried to download the free version of Malwarebytes... same thing.  I tried a few other downloads all with the same result.  Each executable has a virus and the files have been deleted.  Because I tried to install Norton on the machine, I tried with the same result.  Finally, on Monday morning, I opened a chat session with Norton.  We worked on the machine for 1.5 hours.  I finally had installed Norton as the tech put the machine in safe mode, and we used a remote access connection via a USB key file.  So I ran a test with him even remotely connected and things well functioned.  I said, we are in safe mode, and he said no. I discovered after we disconnected that we were and I was facing the same issue.  Unable to download ANY executable as they had all 'so-called' virus.  So I tried a cat with MS Windows supports.  Technology has given me because I couldn't install the executable of remote connection... same error.  I started searching the Web to find that apparently during my year of computers long hibernation, there was a problem with the CEP (File System Center Endpoint Protection.  And while the updates were made, I did not have them.  I only had the corrupted file that would reject any downloads .exe as malware regardless of origin.  So now, here I sit.  How can I get the fix for the issue of CEP and get it downloaded on a computer that only allows no downloads?  Any site that would allow me to download the right file on a flash drive and install the fix from there?  All ideas are appreciated.

    Problem solved!

    Here's how I did it.

    (1) downloaded a free version of Revo Uninstaller on a flash drive.

    (2) installed Revo Uninstaller on the HP Mini

    (3) rand a Full Scan with Norton.  No identified viruses.

    4) ran a full (Advanced) Uninstall on Microsoft Security Essentials with Revo Uninstaller

    (5) rebooted the machine.

    (6) conducted a file download executable .exe

    7) worked perfectly!

  • LaserJet 4240n will not print landscape or 14 or 16.67 CPI

    I have 2 printers LaserJet on a RHEL 6.1 System.   One is a LaserJet 2430n and it prints in landscape and 14 or 16.67 CPI...

    The LaserJet 4240n printer does not print in landscape or 14 or 16.67 CPI.  He seems to forget how do the following.

    The system is a Dell T310 server.

    The application is an old - CIMPRO and IDOL IV.

    I have the problem in printing the application or from the command line in linux.

    It has worked before.

    The system was installed in October 2011, but is not yet in production use.

    This printing problem is preventing us from going to live.

    Anyone have any ideas?

    Hi jpdhp,

    It is a product of the profit margin. For the best answer to your questions, you need to transfer your question at the following links.

    http://h30499.www3.HP.com/T5/business-support-forums/CT-p/business-support

    http://h30499.www3.HP.com/T5/printers-LaserJet/BD-p/BSC-413

  • Information about a company called CPI Care?

    Someone at - he heard or dealt with the company CPI Care (or IPCCare)?

    Hi Greg!

    Earlier today I sent you a link for reporting these scams to phone. This link no longer works!

    The CORRECT link is: https://support.microsoft.com/getsupport/hostpage.aspx?oaspworkflow=start_1.0.0.0&wfname=scamsurvey&ccsid=635514050206231635&wa=wsignin1.0&wa=wsignin1.0

    I'm sorry for that. I'm trying to find out why some Microsoft sites are working one day and the next day not...

    In the case where you want to see what comes out of that:

    https://answers.Microsoft.com/en-us/feedback/forum/fdbk_commsite-bug/need-help-in-clarifying-why-report-scam-call-link/2d857a57-781e-460e-9b4f-ba740e77792b?TM=1418851389600

    Bye!

  • Replication failover PIX VPN (CEP) certificate

    Hello

    Had a pair of PIX 525 on 6.3 (4) version running in active/failover mode, I recently configured VPN authenticated by certificates, which involved the use of PRACTICE in order to get the certificate to the PIX. Certificates have been imported for the PIX from a snap-in with the software component CEP Protocol Windows CA server by following the instructions described here: http://www.ciscosystems.com/en/US/docs/security/pix/pix63/configuration/guide/sit2site.html#wp1007263 .

    It all works very well, the configuration has been saved, certificates registered cases using "ca save all", everything works well except the certificates that have been imported have not been replicated for the PIX failover - the command 'Show the ca certificate', shows not all certs.

    Private keys show 'sh ca mypubkey rsa' are the same on both devices.

    I'm not able to find any documentation about how certificates must be replicated on the PIX failover, and it is not possible to write certificates again on the PIX failover using the commands they were initially imported by:

    PIX - fw # conf t
    WARNING *.
    Configuration of replication is NOT performed the unit from standby to Active unit.
    Configurations are no longer synchronized.

    PIX - FW (config) auth ca ca
    WARNING *.
    Configuration of replication is NOT performed the unit from standby to Active unit.
    Configurations are no longer synchronized.

    Everyone knows a similar issue or how to get the PIX failover with the new ca certificates?

    Kind regards

    Sarunas

    Hello Sarunas

    PIX 6 indeed do not synchronize keys and certificates automatically.

    However, you should be able to do this first, forcing a failover (i.e. secondary image make it active), then register (now active) high school with the certification authority.

    HTH

    Herbert

  • ASA (v9.1) VPN from Site to Site with IKEv2 and certificates CEP/NDE MS

    Hi all

    I am currently a problem with VPN Site to Site with IKEv2 and certifiactes as an authentication method.

    Here is the configuration:

    We have three locations with an any to any layer 2 connection. I created each ASA (ASA5510 worm 9.1) to establish one VPN of Site connection to the other for the other two places. Setting this up with pre shared keys and certificates that are signed by the CA MS administrator manually work correctly.

    But when we try to enroll these certificates through the Protocol, CEP/NDE his does not work.

    Here are my steps:

    1 configure the CA Turstpoint to apply to the certification authority

    2. request that the CA through the SCEP protocol works fine

    3. set up a Trustpoint and a pair of keys for the S2S - VPN connection

    4. registration form identity certificate CA via the SCEP Protocol with a one time password works fine

    5. set the trustpoint created as for the S2S - VPN IKEv2 authentication method.

    Now I did it also for the other site of the VPN Tunnel. But when I ping on a host that is on a different location to make appear the Tunnel VPN - the VPN session is not established. In the debugs I see that there are a few problems during authentication of the remote peer.

    On the MS that I see that the certifactes of identity for both ASAs are communicated and not revoked or pending state. The certificate based on the model of the "IPSec (Offline).

    When the CA-Admin and a certificate me manually based on a copy of the model of "Domaincontroller" connection is successfully established.

    So I would like to know which is the correct certificate for IP-Sec peers template to use for the Protocol, CEP and MS Enterprise CA (its server 2008R2 of Microsoft Enterprise)?

    Anyone done this before?

    ASA requires that the local and Remote certificate contains EKU IP Security Tunnel Endpoint (1.3.6.1.5.5.7.3.6) (aka IP Security Tunnel termination). You can create a Microsoft CA model to add.

    If you absolutely must go with the 'bad' cert, there is a command

    ignore-ipsec-keyusage

    but it is obsolete and not recommended.

    Meanwhile at the IETF:

    RFC 4809

    3.1.6.3 extended Key use

    Extended Key Usage (EKU) indications are not required.  The presence

    or lack of an EKU MUST NOT cause an implementation to fail an IKE

    connection.

  • Ensure the mobility Client Certificate Problem | CEP-transfer-url

    Hi all

    I'm having a problem CEP configuration for my secure mobilty client.  I created a connection profile to allow the certificate requests, but when I fill in the url-forwarding-CEP I get an error.

    The certification authority we use is an internal MS CA with PEIE already active.  It has been configured for a long time with our current Cisco VPN client using authentication certificate.  The ASA is running 8.4.1.

    Here is the error I get when I try to enter the command in the associated group policy to my registration certificate connection profile:

    SSLGP group policy attributes

    value of CEP-transfer-url http://10.1.1.2/certsrv/mscep/mscep.dll

    Attempts to retrieve the certificates of AC/AE by using the URL. Please wait...

    Received 3 certificates of AC/AE by using the URL of the CEP.

    NON-RESIDENT CERT: serial: 11111111000100000145, subject: cn = SCEP_ADD_ON, o = OUNIT, c = UK

    NON-RESIDENT CERT: serial: 11111111000100000146, subject: cn = SCEP_ADD_ON, o = OUNIT, c = UK

    NON-RESIDENT CERT: serial: 11111111478AAB288393FAFf2a3E274, subject: cn = CERTSVR-01

    ATTENTION: Please check if you have all the required certificates in the config to authenticate the certificates that will be issued using this URL CEP

    Can someone explain why this happens, because it will not take the config?

    Thanks in advance.

    Ian

    Hi Ian,

    in case you are still having problems with this (I think the question is one week): it seems that the ASA asking you first create a trustpoint (in your case in fact 3 can be required, one for each CA certificate) and import is the CA cert.

    HTH

    Herbert

  • A well rounded tutorial of the CEP application

    Greetings,

    A hidden treasure of Photoshop (et al.) is the ability to create extensions, custom signs and even some based on HTML.

    I showed me the CEP 6/7 to do these custom panels that can pass arguments to scripts.

    CEP 6 Extension HTML Cookbook for 2015 CC · Adobe-CEP/CEP-resources Wiki · GitHub

    Do you want to know if anyone has ever made an introduction to the latter?

    Most of us in this area is effective, but non-professional script full time web programming. As a business case for the use and promotion of these custom panels and CEP functionality allows, a good, comprehensive tutorial would go a long towards the community by adopting these wonderful extensions capabilities.

    I hope there's one somewhere!

    Thank you.

    Check out the book by Davide. Probably the most comprehensive resources for extension panels.

    http://www.davidebarranca.com/

Maybe you are looking for