How to open an extension programatically?

Hi,
I would like to open an extension from my cpp code. How can I do it?
Regards
maddy1907

I work on the InDesign SDK. I'm not sure exactly which version of InDesign you are developing plug-ins for, but given you are also creating HTML extensions I assume you are using InDesign CC 9.1 or later.
There is no public API in InDesign for you to launch an extension from a plug-in. It is more common for the reverse of what you are talking about: an extension (with menu item and UI) that calls into native plug-in APIs.
However....
In InDesign CC 9.0 we exposed some plugplug APIs for the first time, enabling you to construct and dispatch CSXS events from native InDesign plug-ins. The file is: <sdk>/source/public/interfaces/ui/ICSXSPlugPlugEventHandler.h.
We also added a new sample to the SnippetRunner sample demonstrating how to use the new plugplug APIs (see: <sdk>/source/sdksamples/codesnippets/SnpHelloCSXS.cpp).
More recently I wrote a blog post about communication between native plug-ins and HTML extensions, here: https://blogs.adobe.com/indesignsdk/html-extensions-in-indesign/.
We might consider exposing this functionality in a future release. If you are a member of the pre-release program perhaps you could raise a bug about this? If not I can raise the subject internally. If this did happen, it wouldn't be overnight so I would definitely try an alternative workflow for your plug-in/extension in the mean time. Can you share why you wish to launch the extension from the plug-in and not the other way round? Perhaps we can help you find a workaround.
Tim

Similar Messages

  • How to open .erd extension files in windows system

    Hi,
    we generated erd diagram with TOAD application from oracle database that generated a file with .erd extension . but could not able to open .erd file in our windows system for review.. please help me out which tool/utility or free software help us to view or open .erd extension diagram documents in windows sytems?.. thanks

    That's a Quest proprietary file extension. You need to use their Toad data modelling tool to look at those files. Unlike TOAD for Oracle there is no free version of Data Modeller. Find out more.
    Cheers, APC
    blog : http://radiofreetooting.blogspot.com

  • How to open a file with the extension x3f (sigma)

    how to open a file with the extension x3f (sigma)?

    RAW data from the following Sigma cameras is currently supported:
    DP1
    DP1s
    DP2
    SD9
    SD10
    SD14
    If your camera is among these, then simply import the photo as usual. https://helpx.adobe.com/lightroom/help/importing-photos-lightroom-basic-workflow.html

  • I downloaded and installed extension mega. How I open it, so I can use it? (I have spent 1 hour trying, what is problem firefox?)

    Using mac os x, and mac version of Mozilla Firefox. I don't know what is the problem but I haven't figured out single thing. How I open extension? So I can use it? Can u make this little bit easier?

    To use the mega addon you need only active the addon, go to '''Tools''' >> '''Addons''' >> '''Extensions''' look for Mega and check if it is active, then just search for one archive on the internet to download through the Mega site, then addon is necessary to download from mega but it isnt a manager

  • How to open old LR collections with .ivc extension?

    Hi, I have transferred my photo selections created some years ago in Lightroom from Macbook to a PC.   The file extension is .ivc.  I have downloaded Lightroom to the PC but my computer claims that there is no program associated with the files.  Any ideas on how to open them?

    What version of Lightroom are you using that created these files?
    I never used Lightroom 1, but I have used Lightroom since Lightroom 2 and it does not create .ivc files, as far as I know. With Lightroom 2 and newer, there is no way to save a collection outside the catalog file.

  • HELP - How to open IDML?

    How to open IDML in other editors, when I tried to open in Notepad it's showing as junk and also how to edit the IDML file?
    Pl. help.
    Thanks,
    ArcRaj

    IDML is a zip archive of a folder structure with an IDML extension. If
    you want to examine the contents, you can just change the extension to
    zip and decompress.
    If you want to actually do anything useful with it, you should do a
    proper expand and package of the IDML. The easiest way is with a script
    from within InDesign. Here's what I use:
    Script #1
    //DESCRIPTION: Expands an IDML file into folder format
    ExpandIDML();
    function ExpandIDML(){
    var fromIDMLFile = File.openDialog( "Please Select The IDML File to
    unpackage" );
    if(! fromIDMLFile){return}
    var fullName = fromIDMLFile.fullName;
    fullName = fullName.replace(/\.idml/,"");
    var toFolder = new Folder( fullName );
    app.unpackageUCF( fromIDMLFile, toFolder );
    Script #2
    //DESCRIPTION:Produces an IDML package from the contents of a directory:
    CreateIDML();
    function CreateIDML(){
    var fromFolder = Folder.selectDialog("Please Select The Folder to
    package as IDML");
    if(!fromFolder){return}
    var fullName = fromFolder.fullName;
    // var name = fromFolder.name;
    // var path = fromFolder.path;
    var toIDMLFile = new File( fullName+".idml" );
    app.packageUCF( fromFolder, toIDMLFile );
    Harbs
    http://www.in-tools.com

  • I downloaded Newest mozilla yesterday, adobe updated, and now when I click a YouTube video I get a box saying "Firefox doesn't know how to open this address, because the protocol (rtsp) isn't associated with any program." and can't watch any videos?

    I downloaded the latest version of Mozilla Firefox yesterday, full and complete, and I am actually using it right now. The only problem I have had is upon clicking any YouTube video, the box pops up saying "Firefox doesn't know how to open this address, because the protocol (rtsp) isn't associated with any program." But there are no directions or suggestions on how to address this problem. Ive looked at YouTube add-ons and none of them really seem related. Upon the finish of the new Mozilla, I also was prompted to upgrade the flash player, and did so without any trouble. I am only guessing this is an extension/plug-in problem. I really am quite confused!

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • How to uninstall CS Extension Builder 1.5 or update to 2.0?

    Hi,
    I'm in Flash Builder 4.6. Bellow is a long procedure on why I'm here asking this simple question. But a shorter version of my question is exactly the title of this thread: How can I uninstall 1.5 or, better, simply upgrade to 2.0? Does someone know if it's possible without uninstalling Flash Builder completly?
    Here are the (ho so long and painfully long to read) steps that leads to my problem:
    I've installed CS Extension Builder 1.5 TRIAL whitout any issues. Even coded some working extensions.
    Then, a license have been bought.
    I've updated the files through the Install Software menu. No problems.
    To what I can remember, there was no menu option at this point in the Help menu to get information about the license or log out from the Adobe ID
    Later, I had to show to my coworkers how to install the CS Extension plugin into Flash Builder. A few weeks have already went by since I've done it myself, so just to remember how to do it properly, I figured I should try to do it again.
    Help/Install Software/What's Already Installed/Selected all CS Extension releated plugins/Uninstall/Restard Flash Builder
    Problem #1: All the extension features and menu options are still in Flash Builder. BUT, they are correctly removed from the "Installed Software" window.
    I've searched all over the Internet, I've done nothing wrong. The right way to remove a plugin is from the Installed Software window.
    So, how to clean CS Extension from Eclipse?
    I looked at the CS Extension plugin package to find back which files were copied in the plugins folder of Eclipse and figured I could just remove them manually. Which I did.
    Restart Flash Builder
    CS Extension Builder seems to be sucessfully removed from Eclipse.
    Problem #2: While trying to re-install CS Extension Builder 1.5, Eclipse throws an error. Some files I've removed are missing. Damn.
    Those files were still in my Recycle Bin, so I restored them.
    Install again
    Restart
    Success
    Note that here, 2 new menu options in the Help menu are available to me: one to get information about my license and one to log out from my Adobe ID. There is also a link at the bottom left of Eclipse where I see the Adobe ID register name.
    I don't remember if I needed to enter my serial key the first time, but this one, it seems that only linking Eclipse with the Adobe account does the trick.
    Ok. So far so good, everything's working fine again. But ho, suprise, CS Extension 2 is released and my coworkers are getting this copy instead of 1.5. So hey, I need to upgrade too.
    I figured that I didn't need to uninstall 1.5. Just installing the new files should do it. So Help/Install New Software/Add/Local/CS Extension 2 package/Update
    It tells me that I already have CS Extension Builder and that an upgrade will be done instead. Great, that's what I needed.
    Everyting updates. No errors.
    Restart
    Problem #3: I'm stuck with 1.5. No options to create a project in CS6, and if I go to Help/About Create Suite Extension Builder, it's still displaying the 1.5 panel (my coworkers are getting the red panel, I still have the gray one).
    I do the exact same steps than before (uninstall via Eclipse all plugins related to CS Extension and manually remove the files, restart Eclipse, voilà it's gone).
    But before trying to install again, I read somewhere that I should clean the Installation History to make sure Eclipse unlink itself from the old versions of the files. So I clear everything, leaving the history blank but the Current Installation (which doesn't contains any references to CS Extension.
    Restart Eclipse
    Try to install 2.0
    Same error that is telling my that some files are missing (like com.adobe.cside. core....).
    Get back the plugin files from the recycle bin.
    Now it works but version 1.5 is back
    I notice in the Installation History that a state is there, not containing any CS plugins. I say hey, why not trying to revert there.
    Problem #4 and last one: Now not only I'm still stuck with 1.5, which asn't been unistalled, but the plugins are still in the Installed Software list and, worse, the Uninstall button is grayed out on CS Extension plugins...
    What is going on here! I just want to uninstall and upgrade! Everything I did is a mess, and I know the easy way out is probably to re-install Flash Builder. But I don't want to know how to easily fix it, I want to know WHY it happened, and if it can be fixed. And if you want the real reason... (I have tons of projects in there, and I'm lazy. I don't want to import them all again. But it's better just to say I want to get a lesson from this, don't you agree.)
    Thanks to anybody who might have any kind of hint!
    David
    PS: Sorry if my english syntax isn't perfect. I'm trying very hard.

    I didn't answered my question, but I got it to work without having to re-install.
    Delete all these files and folders from the eclipse/plugins and eclipse/features folder of your Flash Builder installation folder
    com.adobe.cslib
    com.adobe.inverurie
    com.adobe.xmp
    Open the CS Extension Builder plugin package
    Copy all .jar files from the plugin directory and paste them into the eclipse/plugins folder of the Flash Builder installation
    Copy all .jar files from the features directory and paste them into the eclipse/features folder of the Flash Builder installation
    Extract every jar (ex: com.adobe.cside.feature_2.0.0.4-33034.jar file is extracted into a com.adobe.cside.feature_2.0.0.4-33034 folder)
    Delete the .jar files
    Restart Flash Builder
    Everything works fine so far. There is a small glitch where the "CS Extension Builder Start Page" seems to miss its stylesheet, but the panel is working anyway. At this point, it's fine by me. And I'm still not able to uninstall the plugin with the "Installed Software" window (the button is grayed out).
    So much for being lazy. And for wanting to repair my mistakes, of course.

  • I have installed HP2035n. But when i try to open the embedded web server, i get the error "Firefox doesn't know how to open this address, because the protocol (fe80) isn't associated with any program." What is the possible solution?

    I have installed HP2035n. But when i try to open the embedded web server, i get the error "Firefox doesn't know how to open this address, because the protocol (fe80) isn't associated with any program." What is the possible solution?
    I typed in the IPv6 address of the printer in the address feild of firefox.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How to Open DOC in Office 2003 and DOCX on Office 2007 automatcally when both installed on same pc

    How to Open .DOC file in Office 2003 and .DOCX on Office 2007 automatcally when both office 2003 and 2007 are installed on same pc
    When tried with open with files automatically open in 2007.

    Presumably you've confirmed that both copies of Word are working alongside each other, and if you right click on a document you see both options listed in the Open With menu?
    If so the first thing to try is to right click on a .doc file, go to the Open With menu and then click "Choose default program". If both versions of Word are listed then simply choose Word 2003, ensuring the option to always use this choice is selected.
    If you find that both options are listed as "Microsoft Word" with no version number, or only one is listed, then select the more options entry and then at the bottom of the list select to find another app on the PC. You can then navigate to the Word 2003 executable
    and select it that way.
    Alternatively, search in the start menu for "associations" and you'll find an option to change the file type associated with a file extension. Open that and you'll get a list of every extension known to Windows, and within that you'll find .doc and .docx
    listed, and you can change which application each is associated to.

  • How to open .jp2 files?

    How to open jp2 files?

    http://www.fileinfo.com/extension/jp2
    I highly recommend irfanview IrfanView - Official Homepage - one of the most popular viewers worldwide

  • How to open fpx files

    how to open fpx files

    http://www.fileinfo.com/extension/jp2
    I highly recommend irfanview IrfanView - Official Homepage - one of the most popular viewers worldwide

  • How to open an .fdf file?

    Greetings,
    Trying to get my Tax 1099 Div statement off of a website. It is not posted/downloaded as a .PDF file but as a .FDF file. I give up! How do I open this thing? I've used
    Safari and Firefox and get the same result: no where. I have Acrobat Reader 9 installed.
    Again, how do I manipulate this .fdf file to get it to open as a .pdf? Or do I need to contact the website?
    Thanks.....

    How to Open FDF Files  


    The '.fdf' file extension is fully supported by Acrobat Reader. On Editorial Manager (EM), PDF's are downloaded with this extension so that they won't open within a browser window. If you experience trouble opening a FDF file, it is likely that your internet browser isn't configured properly to open files with the .fdf extension.

How to set your Acrobat Reader to read FDF files:
    Macintosh:
    
1. Launch Internet Explorer or Netscape (The Safari and Firefox browsers are automatically configured to associate FDF files with the Adobe Acrobat program).
2. Click on ‘Preferences’.
3. Look for a category called 'file helpers' in Explorer, or 'applications' in Netscape.

In Explorer
    Look for the application Adobe Acrobat Reader and check to make sure that it has an entry for .fdf files under extension type. If it doesn't, click add and use these values:
    
1. Description - Acrobat Form Data Format.
2. Extension - .fdf.
3. Mime type - application/vnd.fdf.
4. File type FDF.
5. How to handle - view with application / choose Acrobat Reader.

In Netscape
    Look for the 'portable document format' and click on the icon, and check to see that it has an entry for .fdf files under suffixes. If it doesn't, add these values:
    
1. Description - Acrobat Form Data Format.
2. Suffixes - .fdf.


  • Eml files ..how to open?

    All of a sudden I'm getting a lot of eml files which I'm unable to open. Can anyone please advise on how to open them?
    thanks,
    Pat

    Might be a Trojan from your PC friends...
    http://filext.com/file-extension/EML

  • How to open this file format?

    Hi folks.. I just downloaded a strange file extension that my Mac does not recognise. It's meant to be a Jazz Chord dictionary but this is what I got.
    Any ideas how to open this?
    Thanks..

    I looked up the .DIctionary file extension on fileext.com and the only entry for it is ,"Unknown Apple II File (found on Golden Orchard Apple II CD Rom)". However the Berklee.Jazz.Guitar.Chord.Dictionary is available in paperback or Kindle format on Amazon.com, so it may be the file you have is a the Kindle version. There is a Kindle App available for downlaod from Apple's App Store and I beleive it is free.

Maybe you are looking for