Using Peerjs with Adobe InDesign

Hy,
I'm creating my own InDesign PlugIn and I need to connect to another web application I created. I tried using socket.io, but I didn't want to have another server, so I have passed to Peer JS, in this way I have a peer to peer system that would work perfectly, but I met some unexpected problems.
I'm working with Adobe InDesign CC, that uses CEP5, which has support for google chrome BROWSER (CEF (Chromium extended framework )).
In the Docs it's said that CEP5 has support even for WebRTC but when I try to connect with peerjs (wich uses WebRTC) to another peer I get a :"TypeError: undefined is not a function", under further investigation I discovered that the error is thrown by Object.Negotiator._startPeerConnection, but I can't understand what I'm getting wrong...
I tried using the same PEER JS code in another application(just a normal web site) and connecting to the same peer and was successfull, so I'm guessing that the problem is the in WebRTC support provided by InDesign.
I am not confined to using PEER JS, I just want my adobe plugin and my site to communicate in the most intelligent way possible, so any idea is welcome, however this is the piece of code of my plugin where I try to connect to the PEERJS
    var peer = new Peer({key: mySecretKey});
    var conn = peer.connect('editor-vaComeVibraEEE');//the exception is     generated here
    conn.on('open', function(){
        conn.send('hi!');
Thank's for the help... . . .

I do know next to nothing about CEP5.
Just a question: Why do you try to escape "/" in the string "editor-vaCome\/ibraEEE" ?
At least this is my guess what you want to do here…
If you want to feed the argument string "editor-vaComet/ibraEEE" to peer.connect() you cannot "escape" that slash… At least not in terms of ExtendScript.
Uwe

Similar Messages

  • Is it legal to buy a used laptop with Adobe software on it?

    I'm thinking about buying a used laptop with Adobe CS5 Master Collection on it.
    Would I be able to use this software if I wasn't the original purchaser?
    How does licensing work in a situation like this?

    Hi Darryl,
    Provided it isn't an Education version (which are non-transferrable with Adobe), plus if you meet the other criteria for a license transfer, then it could be possible to legally do it.

  • Incompatible with Adobe InDesign (Error code: 14)

    Hi all,
    I've been having major problems with InDesign CS3 and OS 10.5. It always crashes when I try to Place, Export, Save As, anything that requires it to navigate the finder.
    Now, while trying to export to PDF, the document froze. So I had to force quit it. Now ANY InDesign file I try to open gives me the error message:
    The file "file name" is incompatible with Adobe InDesign (Error code: 14).
    Has anyone experienced this? I'm now stuck as I cannot open anything to get some work done.
    Thanks in advance.

    Hi all
    I have the excat same problem. Indesign CS5 and also my CS4 comes op with the error code 14.
    It qrashes before I get into the program, also when I open it throug the program Icon and not the file.
    I have tried:
    Restarting
    Shot down and take out the power cord for severeal minutes
    Deleting the preference files "Defaults" and "SavedData" manualy
    Deleting the file "InfoPlist.Strings" in folder "itlproj" which was a folder that keept showing on restart. (it was a italian languae to a dropdown shadow throug Flash CS5)
    Remove indesign CS5 and CS4 (with the program uninstall icon) and reinstalled it
    I have no clue to what more I can do. Think it could be a system fault. I have the following:
    Mac OS X Version 10.6.8
    Dual core Intel Xeron
    Snow leopard
    It just suddenly didnt work. Couldnt copy paste text from a mail into a file in Indesign and then it just crashed. Havent installed any new updates or programs so it is very weird.
    Any help would be very much appriciated
    Take care
    Fustrated Jinnie

  • Is OnLocation available with CC service? I want to use it with Adobe Story.

    Is OnLocation available with CC service? I want to use it with Adobe Story.
    I have never had a copy of OnLocation, but it looks to be a great way to manage Adobe Story and the workflow for shoots.
    Is there something else that is exports to that works similar to OnLocation?
    help

    I see that I can view Adobe Story in two locations of Premiere Pro. As a window and under File, Adobe Story (which is usually grayed out).
    I have exported the script as an .astx, Opened PP and clicked file, Adobe Story, Attach Script File ; then I am not sure what to do to see it.
    I clicked on Metadata but there is nothing there.
    The Window, Adobe Story shows dialog and scene no. and est duration. Is that all I should see? Why the Attach Script File option? And what about seeing the schedule?
    Thx Troy

  • Using Aperture with Adobe Bridge: Can It Work?

    I have used all the Adobe apps for ages and love them.
    Photoshop and Bridge are a mainstay of our studio operation here.
    I have been using Adobe LightRoom lately to deal with my RAW shooting.
    I take it to a certain point with LR then I use Bridge to do other things with my files. LR and Bridge can see eachother's metadata and XMP info so they can be opened back and forth between the apps as need be.
    This is critical for our work process.
    What Im wondering is can Aperture be used in a similar way?
    Can Bridge see Aperture's adjustment info and visa versa?
    Do they read eachother's Metadata and or XMP info?
    Does Aperture even use XMP data?
    Reason Im asking this is I admire Aperture's interface and functionality.
    I'd like to possibly use it in place of LightRoom for dealing with my RAW files.
    But without the compatibility with Bridge it wouldnt work for us.
    I read lots of Mac and Adobe publications and have yet to see this issue addressed in any articles.
    Surely other people are in the same boat as me on this one...
    Anyone have any knowledge to share on this matter?
    Thanks.

    Bridge and LightRoom can see each other's image adjustments because they are using almost exactly the same engine to do RAW conversions. Aperture and Bridge won't understand each other's image adjustments, in just the same way that Bridge and Nikon Capture, Canon DPP, Bibble or Capture One etc. can't.
    When it comes to metadata you won't be much better off, as any changes you made in Bridge wouldn't be seen in Aperture unless you re-imported the file and vice-versa.
    Basically, if your workflow is based around Bridge you are stuck with Adobe apps as they are the only ones designed to work with it.
    Ian

  • Help with Adobe InDesign -opening pdf's & Plug-ins please

    I am receiving the following message when I try to open a pdf in indesign....."Adobe indesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application. I really need to use indesign an complete a project for my work, otherwise this application was a waste.
    Please help me

    dianne74 wrote:
    Hi Steve, a year ago I opened a PDF and edited the wording in indesign…
    You may be mis-remembering that. There are programs like PDF2ID that will convert a PDF into an InDesign file that can be edited, but they essentially recreate the elements of the PDF to the best of their ability and usually require tweaking to get to look exactly like the original. If you did this on your own computer, you would know if you had one of these programs, but if you did it at a job, they might have had something that you don't have now.
    And there are tools to edit PDFs that you can search for, but many people consider PDF to be the final format in the design stage, and if editing is needed, it is recommended to be done in the design phase, which is usually the live InDesign file from which the PDF has been generated. If all you have is the PDF, you may want to consider using an editor, but only if you can't find the original files.

  • Using Acrobat with Adobe Drive

    I am exploring using Acrobat professional with Adobe Drive 2.1. I have not seen an explict statement that Acrobat can use Adobe drive.
    Here are my questions:
    1. Can Acrobat 9 or 10 interact with Adobe Drive 2.1?
    2. Are there any Acrobat limitations to using the exposed Adobe Drive 2.1 CMIS functionality?
    Thanks
    Tom

    FatMac>MacPro is correct about using Preview to read PDF's. It is built in, reliable and kept up to date by Apple software updates.
    Adobe Reader has had vulnerabilities that can cause your Mac to be attacked via malicious PDF's. Keeping Reader up to date is essential for good security, however Adobe updaters nag so much that it is simpler to avoid installing it if at all possible.
    PC users recommend it because they had no PDF support for so long, OS X has always had PDF support from Apple.

  • Using Uberconference with Adobe Connect

    Hi Everyone
    I have been beating my head against the ball trying to set up Uberconference to work with Adobe Connector.
    I have tried to set it up as an Audio Provider -- but I just can't figure out how to set up the dial-in steps properly.
    Has anyone out there used Uberconference -- or any other 3rd party audio conferencing provider -- successfully.
    Help is much appreciated!
    Greg

    The dial in process would be exactly the same as if you were dialing into the bridge as a participant. Most of the time it needs the following steps.
    Phone number:           800-555-5555
    Delay:                        3000 ms
    DTMF: (passcode)     123456#
    Delay:                        3000ms
    DTMF:                      1 or # (for a roll call or to join the bridge)
    However if the provider is not using a SIP compliant bridge, the Universal Voice tool will fail upon attempting to dial out.
    Also, for the hosted environment, the phone bridge must have a toll-free number.

  • Using IX500 with adobe?

    How can I use the Fujitsu snapscan ix500 scanner with Adobe Acrobat XI?

    The dial in process would be exactly the same as if you were dialing into the bridge as a participant. Most of the time it needs the following steps.
    Phone number:           800-555-5555
    Delay:                        3000 ms
    DTMF: (passcode)     123456#
    Delay:                        3000ms
    DTMF:                      1 or # (for a roll call or to join the bridge)
    However if the provider is not using a SIP compliant bridge, the Universal Voice tool will fail upon attempting to dial out.
    Also, for the hosted environment, the phone bridge must have a toll-free number.

  • How To Get Started with Adobe InDesign CS6 - 10 Things Beginners Want To Know How To Do | Adobe Evangelists - Terry White | Adobe TV

    In this episode Terry will demonstrate 10 things beginners want to know how to do in Adobe InDesign CS6.
    http://adobe.ly/RabkVF

    Hiya!
    When i 'alt double click' my RGB image (to edit in photoshop) it opens in 'preview'.
    I can choose 'edit with photoshop' in the menu.  But how do i make the shortcut work like yours did?
    Thanks.

  • Unable to use 'q' in Adobe InDesign

    Apparently I am unable to use the 'q' key within a text box in InDesign. As you can see - I am able to use 'q' outside of InDesign and it also works in at least Photoshop and Dreamweaver out of the Creative Cloud.
    Anyone else having a similar problem?
    I am using a new MacBook Pro Retina if that aids diagnostics.

    We actually can't see anything. I suspect you tried to attach some images, but attachments onthe forum have been disabled for years. You can post a link to images stored on a server, or embed them in your posts using the camera icon on the web page, like this:
    I'm not sure why the Q key wouldn't work. Is this true in all files, just one file or only new or only old files? Does it happen in a new user account?

  • Problem with Adobe Indesign in the creative cloud

    Goodevening,
    I have a problem with the program Indesign, it doesn't start up at all...
    Can you help me?

    Might be a bad installation.
    http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    You'll get much better answers to product questions if you use the appropriate product forums.  See link below.
    InDesign http://forums.adobe.com/community/indesign
    Nancy O.

  • Using Filemaker with Adobe Illustrator for Book Project

    Hi All,
    I have a database of musical works contained inside a Filemaker Pro database - it's a mixture of images and text.
    I'd like to make a book with the content and was hoping to use a template within Adobe illustrator and pull the data in dynamically from Filemaker.
    Is Illustrator the right tool for this? I can't find many links or articles.
    Any advice at all on using Filemaker to generate book content much appreciated.
    Thanks
    Antknee

    I don't really want to post screenshots here of a proprietary solution. But here's a description of a similar FMP-based "publishing" solution:
    You have a layout for end-users' main browsing. Similar-looking layouts are used for data entry, but include administrative functions, fields, and flags which expedite content creation, but are not meant for end-users. Typical FMP stuff. But now you take it to the next step:
    You build a Report Layout specifically sized and formatted for printing and/or exporting to PDF. You use the FMP tools for object sliding; use Container Fields and/or WebViewer objects for illustrations; use the Merge Field function and/or text Calculation Fields to format text content from multiple data fields. You can overlap fields, so having a container field in the background is simple.
    You basically ignore the "publish" Layout as you create, edit, and work with data. But it's always there, and is always "already built and populated." Whenever you want to publish a print version catalog for a particular product, you just launch an FMP script which automatically:
    Prompts you for the desired set of records (product model, chapter, category, etc.)
    Performs the necessary find and sort.
    Creates a table of contents. (Based on another print-formatted Report Layout.)
    Exports the TOC as a PDF. (Typically a dozen or so pages.)
    Exports the content pages as a separate PDF. (Several hundred pages is no problem.)
    In a few minutes, you have an updated print-ready book.
    You open the Content PDF in Acroat Pro, insert the pages from the TOC PDF in the front of it, and send it to your on-demand printing outsource. The end result is a perfect-bound manual, without ever having jumped through hoops to dump data into a conventinal-wisdom page-layout app.
    So this one FMP solution:
    Is used for data entry.
    Serves as a live internal reference tool served on FMPSA.
    Serves as a data export and data analysis tool.
    Can be bound as a fully-functional standalone runtime application.
    Is web-deliverable via FMPSA's IWP.
    Is web-deliverable as a web site's "backend data" via PHP.
    Serves as the "publishing platform" for print-ready and/or web-delivered PDF-based catalogs.
    Vector drawings are created in Illustrator, Draw, CAD software, or whatever, and saved as vector PDFs in a folder acessible to the FMP database. The PDFs are named according to a record's unique identifier field (primary key).
    You launch Acrobat Pro and run a Batch operation which opens the folder full of PDFs and batch-exports them to an adjacent PNGs folder. The PNGs are exported to the correct size for the Container Field(s) on the print Layout. (Optionally, another Container Field on the browsing Layout displays PDF icons which are links to the PDFs for when a user needs a scaleable, zoomable vector version.) During data entry, each time a new record is created or edited, a scripted button imports both the PNG and the PDF with a click; or batch-imports the images for all records at once.
    One could just as easily build a layout and script the solution to create and send HTML-formatted emails of a found page or set of pages.
    Like an XML / InDesign solution, FMP effectively figures out for you how many pages are needed for the length of the TOC, and the length of the parts list that accompanies each illustration and creates and numbers them; and it does so without any need for mucking around with XML.
    So in this workflow, FileMaker Pro itself is serving as the "page layout" app. All that's sacrificed is high-end printing and exacting typography; which for many practical purposes today is becomming increasingly unnecssary.
    The underlying concept herein is "FileMaker and PDF"; not "FileMaker and Illustrator." (Use any graphics program you want that can render to common RGB raster formats and/or PDF).  And it's "let FileMaker automate the page assembly" instead of XML / InDesign. Just keep the page design within the capabilities of a FileMaker Layout.
    JET

  • Error Message with Adobe Indesign CS6 on Mac

    Hello,
    I just downloaded Adobe Sets CS6 on my Mac.
    All other programs works with no problem except for InDesign CS6.
    It pops up a message saying Errors if I tried to open InDesign CS6.
    What should I do?
    Thank you~~!!

    If you tell us the exact error message we'll have a better chance of helping you...

  • Using AngularJS with Adobe CQ

    Has anyone else tried creating single-page applications with AngularJS and Adobe CQ? I'm finding the combination difficult to work with when trying to keep the advantages of the CQ authoring tool. I'm hoping that someone here can relate some of their best practices.
    In a nutshell, here is the conundrum I'm running into.
    I'm using AngularJS routes to pull "partial" pages into a view. This is working properly in CQ at the moment, using a set of components, one per partial, linked to a super resource type and template which are emtpy. I have pages declared for each partial in the site tool, and their resourceType is declared properly. The end result is each partial is being pulled without any unnecessary header/footer information being added. That's all good. The problem comes when viewing the site in the authoring tool.
    The way it's set up is that I have a main template component which draws the site header and footer, including all the script and style tags, then includes a parsys in the middle of the page. Into that parsys I've dropped an instance of a component I created that i'm calling "angularview". It contains nothing but:
    <div data-ng-view></div>
    Those familiar with angular will recognize this as a simple view declaration. This is the container tag for angular to drop the currently selected view into based on the route configuration.
    The way this renders on screen is a header, a blank section, and a footer. All the sub-component partials used by AnguarJS are hidden from the author, and I see no way to obvious way to present them.
    The only thing I've been able to think of is to add dialogs for each of the partials so that they appear in the sidekick, then create a dummy page in which I drop all the partials. Maybe I could just code them in using <cq:component>, then declare each partial as a container component? This is where I'm hoping someone can offer some advice. What's the best way to go here?

    Hello,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for