John Nack on HTML Extensions in CC 2014

This went out a few days ago, but I've only just seen it.  Some interesting info in the links, and a positive look on the move from Flash to HTML
http://jnack.com/blog/2014/06/24/on-the-adobe-panel-migration-from-flash-to-html/

Once the dust settles and there are more refined methods for producing panels, this will be a great move.  I'm learning to make the new panels, and have posted my first one:
https://creative.adobe.com/addons/products/2578#.U69KxbHFWBU
More to follow.

Similar Messages

  • Need Notification for attaching the handler On Closing of the HTML Extension in Indesign CC 2014

    Need Notification for attaching the handler On Closing of the HTML Extension in Indesign CC 2014
    Hi,
    I need to process a couple of tasks after clicking on cross button(on top right corner of HTML extension) and before the Extension actually gets closed.
    As I Understand, Extension is using chromium browser.
    I tried attaching an event listener to "onbeforeunload" event of chrome but it suppresses any alerts being thrown and closes the extension, without waiting for
    background processes to complete.
    Is there a way through scripting/Plugin or any other way to achieve it?

    try the script at Adobe Community: InDesign 6 is crashing when attempting to open a particular document. All others are opening OK.
    I'd also try moving the pages to a new file, though I suspect that will crash too. Divide and conquer might work -- tray one of your operations on half the document at a time, then repeat by dividing any piece that fails, and so on, until you isolate a page, then use the same method to isolate an object (though it's possible you have a corrupt page).

  • How to detect the HTML extension window close in In-design? Does the In-design throws any event on opening/closing of extensions?

    How to detect the HTML extension window close in In-design? Does the In-design throws any event on opening/closing of extensions?
    I have a HTML extension running in In-design CC 2014 version.
    I want to perform some required set of actions before my extension window is closed(by clicking on the cross button on top right corner).
    Does In-design throws any event for it? Or can we capture it using C++ plugin in some way?

    Naah.......haven't got any event for that yet.
    Although, since HTML extensions are using chromium browser,  as a workaround, u can attach listener to HTML onClose event, but it won't solve any purpose if you
    are looking to logout session or do some business login in your code.

  • How to open a URL in the default browser via CC HTML Extension?

    Hi,
    I'm trying to open a link via the default browser in a HTML Extension for Photoshop CC built with Extension Builder 3.
    With the initial example the "/indext.html" it look like this:
    <li><button class="default" id="btn_PHXS" onClick="onClickButton('PHXS')" disabled="true">Run ps code</button></li>
    and I changed the code from "/ext.js" to:
    ...function onClickButton(ppid) {    var csInterface = new CSInterface();    csInterface.openURLInDefaultBrowser('http://www.adobe.com');}...
    This is what the "/lib/CSInterface-4.0.0.js" looks like:
    * Opens a page in the default system browser.
    * @param url   The URL of the page to open. Must use HTTP or HTTPS protocol.
    * @return One of these error codes:\n
    *      <ul>\n
    *          <li>NO_ERROR - 0</li>\n
    *          <li>ERR_UNKNOWN - 1</li>\n
    *          <li>ERR_INVALID_PARAMS - 2</li>\n
    *          <li>ERR_INVALID_URL - 201</li>\n
    *      </ul>\n
    CSInterface.prototype.openURLInDefaultBrowser = function(url)
        return cep.util.openURLInDefaultBrowser(url);
    Since "util" doesn't seem to be defined  I get the message:
    Uncaught TypeError: Cannot call method 'openURLInDefaultBrowser' of undefined
    Is the something missing?
    Thx,
    frankin

    Hi Franklin,
    Apologies for the delay but I have been trying to determine why this API is not been working. I have since discovered that, although this API is documented in the JS library, the behaviour has yet to be implemented into Photoshop CC. Offline I will try to determine why this API was included in the library when it was not ready but for the meantime, if you would like to open a browser, here is a workaround:
    Instead of using:
    //(new CSInterface).openURLInDefaultBrowser("http://www.adobe.com")
    // Use the createProcess API to open a browser. The following shows a workflow in Windows to open Internet Explorer.  
    var csInterface = new CSInterface();
    var rootDir = "/";
    var isWindows = window.navigator.platform.toLowerCase().indexOf("win") > -1;
    if (isWindows) {
                        rootDir = csInterface.getSystemPath(SystemPath.COMMON_FILES).substring(0, 3);
    var processPath = "/usr/bin/open";
      if (isWindows) {
        processPath = rootDir + "Windows/explorer.exe";
    var url = "http://www.adobe.com";
    window.cep.process.createProcess(processPath, url);
    Apologies for this inconvenience but we promise to keep you informed when openURLInDefaultBrowser API is fully supported.
    Kind regards,
    Lea

  • A Beginners Guide to creating Photoshop HTML Extensions with Jquery-UI.

    Like alot of you here, I've been struggling to learn how to create these new HTML extensions.    I thought I'd take the time to make a tutorial of what I've discovered.  I've posted it here: 
    adobescripting.com/MAIN_wp/creating-photoshop-html5-extensions/
    I'm experienced with ExtendScript, but very rusty with HTML and web development.  So this is what I discovered while trying to take that "Create HTML5 Extension In 5 Minutes" tutorial to the next level.    Please let me know if any of the steps need more clarification, or the language is confusing. 
    A small payback for all the great help I've gotten from others on forums like this. THANYOU!  I hope this tutorial is usefull to those of you just beginning.
    (if you're an experienced web developer, then ..I apologize in advance...  I'm learning as I go. )

    Very good tutorial!
    Much appreciated.
    I wish I had read your tutorial more carefully the first time two days ago, then I would have save myself hours and hours.
    It's all there. Communication between panel and jsx, html, the works
    You even tuch the subject about the strange $._ext_PHXS function. A global variable without declaration is accesible through evalScript, I would never had figured that out.  ext_radioButtonInfo = radioButtonInfo; function radioButtonInfo(inRadio)
    Thanks once again!

  • Unable to open the HTML Extension Debug window after InDesign 9.2 update (from 9.1)

    We have tried to follow the two methods of debugging a HTML Extension as mentioned in the below link, but without any luck.
    http://www.adobe.com/devnet/creativesuite/articles/a-short-guide-to-HTML5-extensions.html
    Note: Not all Creative Cloud applications support this method at the time of writing.
    CEP/CSXS 4.2 supports remote debugging for HTML/JavaScript extensions using the Chrome debugger.
    The above snippet from the same article refers to "Remote Debugging" of HTML extensions. Does this mean that somehow InDesign CC 9.2 does not support this method?
    And also where do we get CEP/CSXS 4.2 JS libraries. Adobe Extension Builder 3 is still does not have any updates, and has only the CSXS 4.0.0 support.
    Following are the platforms we have tried doing this with exactly same
    1) Mac 10.8 + InDesign CC 9.2 (International)
    2) Windows 7 + InDesign CC 9.2 (German)
    Please help.
    -Gayatri

    Hi Hui
    Here's the .debug file
    <?xml version="1.0" encoding="UTF-8"?>
    <ExtensionList>
        <Extension Id="com.example.Test.extension1">
            <HostList>
               <Host Name="IDSN" Port="8088"/>
            </HostList>
        </Extension>
    </ExtensionList>
    Though I am able to debug usng Chrome on Mac and Windows now, I still get the following error
    Uncaught SyntaxError: Unexpected identifier CEPEngine_extensions.js:42
    I cant seem to find a way to attach  the extension, please help me out.
    Until then, here is a screen shot of the project ( just a sample project, created using Adobe Extension Builder)
    -Gayatri

  • I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    That is because you don't have a web server configured and running to serve the html page. In order to see the page in a browser you need to access it using a url similar to http://localhost/~yourUserName if you are serving the page from your user account.
    Prior to Mountain Lion you could go into web sharing and turn on the web server. With Mountain Lion there is no option, other than using terminal, to turn on the web server. The web sharing menu item has been removed in Mountain Lion. Apache is still on your computer but it will take a little searching these forums or the Internet to find how to turn it on.
    If you want a graphic user interface to turn on/off the Apache server you could download and install a server application like xampp, http://www.apachefriends.org/en/xampp.html. I use this and it works well.

  • Hide HTML extension on Business catalyst site from Muse

    Good morning,
    After done a layout design on adobe muse, Normally I publish the site to my third party hosting. It's amazing! that people will not know that i am using which platform to design this website unleash i put the design by muse badge. I done that by add some code to .htaccess on my hosting.
    But my hosting speed might not good, so I try to upload to adobe business catalyst, I would like to ask is there anyway to hide the HTML extension like i used to be done on my previous hosting? I tried to upload the .htaccess too, but it not work.
    I think this feature is should be include in business catalyst.@@

    Hey David,
    People in industry though can spot a Muse site from a mile away The markup (code) it produces is not that great and it does not form things that great and you are limited to what you can do such as this.
    BUT
    BC itself is totally supports none file extension URL's. Login to the BC site, go to the page in the site manager and edit the URL. I think you need to enable editing in the site settings and the cross syncing thing Muse apparently supports now but just know it will be a bit of a clunky process.

  • Display jsp files with .html extension

    my problem is very straight forward i want all my jsp pages to be shown with .html extension. like if i have a page test.jsp and I access it through a hyperlink Test then in the browser's address bar i want it test.html .. any ideas ..

    That's is one odd request. The source for the page still shows that they're loading a .jsp file. To do what you want, you'd have to write javascript for every such link that handled that type of request.
    However, if you actually want all files with .html extensions to be processed like jsps you can:
    1. you can remap the JSP servlet in your web.xml file to another extension (though i'm not sure if thats part of the spec)
    2. you can also use the <jsp-property-group> element in web.xml to specify other files as JSPs. (thats definitely in the spec)

  • Serving Text files without html extension as html pages

    I have a large site that has a number of legacy html files with no extensions. The site was running under 10.3 just fine. Just reinstalled 10.4 and now these pages are rendered as plain text in the browser.
    I've tried adding a blank entry in the extensions under the text/html mime/type setting but doing so creates an error which stops the server. I've got hundreds of these files stored for several years that I don't want to go back through and add a .html on the end of.
    How can I get the web server to treat a file without an extension as an html file?

    I know this isn't an answer to the question you're asking, but are you sure you want that behavior? There might be times where you want an extensionless file to be loaded as a plain text file. At the very least, it will help make your site more compatible.
    If all these files are collected in the same area on your system, it might be best to give them the .html extension.
    You can do this relatively painlessly with virtually any scripting language. I know I've even seen an AppleScript that will go through a batch and change the extension for you. You might want a modified one that will first check for the start/end HTML tags in the file first to make sure you're only changing HTML files. A quick Google search for scripting a filename change will probably yield lots of results (check Perl and PHP resource sites as well).

  • Removing .html extension when using MUSE

    After creating my website with MUSE, I uploaded to the Adobe Business Catalyst (BC), but couldn't remove the .html extension. However, if you create a page using just BC, the extension will automatically be gone by default.
    Once you've uploaded your MUSE site to BC, edit your page's HTML CODE. At the top of the HTML CODE, remove <!DOCTYPE html>. Also go through the HTML and remove the .html from all links pointing to pages within your website such as "index.html". It would then be just "index". Or "about.html" -> "about". You can leave links pointing to facebook or twitter or anywhere outside of your website alone.
    Also you will need to edit the page url name. It will say "http://yourdomain.com/index.html" Just remove the .html. This is located at the top of the edit page page on BC, ***NOT IN THE HTML CODE***.
    I'm not sure how to do PHP, but I don't think MUSE creates PHP anyway. Typically you would have to just use the .htaccess Rewrite.

    You are right on.  When you upload files from Muse to BC you are creating the pages on upload and until you go into BC and update the URLs in Site Manager > Pages for each page it will be .html.  The only note I would add is that you don't need to adjust "index.html" file URLs in BC.  If you have a page called "index.html" in the folder "contact" then you only need to adjust the links in your HTML to point to "http://yoursite.com/contact/" and BC will serve the index.html file without showing that filename in the browser URL bar.  If you, instead, have a file called "contact.html" in your BC root folder then, yes.  Just go into the BC admin and update the URL of the page there.  You can leave the .html or .htm extension on the file but BC will serve it without the extension since you specified that in BC's Admin.

  • Using the .html extension with CF

    How do I setup CF admin to interpret the .html extension as
    opposed to .cfm?
    Thanks!

    BigRedFan wrote:
    > How do I setup CF admin to interpret the .html extension
    as opposed to .cfm?
    >
    > Thanks!
    >
    As opposed? You want to stop the server from interpreting
    .cfm files?
    Most who use this technique set it up to do both .cfm and
    .html! :-)
    Anyways, this is not a CF admin configuration, it is a web
    server
    configuration. That is what is determining what resource has
    been
    requested and what to pass the request to, if anything. So
    your answer
    is going to depend on what web server you are using, IIS vs
    Apache vs
    something else.
    I don't know off the top of my head, but I have read many
    postings and
    blogs over the years that give a good description of the
    process, should
    be pretty easy to find with a Google search.
    P.S. Now that I think about with MX versions of ColdFusion I
    seem to
    recall there are some cf xml configuration file modifications
    involved
    as well.

  • HTML Extension and StartuScripts

    Hi All
    I'm new in HTML Extensions.
    I would like to convert my old scripts and use it with my new extension.
    Running a jsx is quite easy but, usually, I have many variables and functions initialized in a startup script.
    It seems that script launched with extensions can't see those variables and functions.
    Is it true or I'm missing something?
    I apologize if my questions is stupid.
    Thanks in advance.
    Ivan

    This can be done using the #targetengine, as we do with plain JSX applications. The key in this is that we need to run all the scripts that have to share the variables, in a common target engine. I did a quick check and found that jsx from CEP extension are executed in a special engine name which can be found by using the $.enginename. I used this engine and set the #targetengine in my startup script and was able to access all the global variables defined in the startup script in the jsx executed from the CEP extension.
    The engine name i got was "com.example.Indesign.extension1_Engine_Id" so it seems to be a combination of your extension id in the Bundle Manifest of your CEP extension.
    P.S. :- using the #targetengine in the scripts that are executed from the CEP extension causes an error so we have to query the enginename and use it to set the engine in the startup script.
    Hope this helps you.
    Thanks,
    Manan

  • Pointing urls Without html Extension to a Homepage.

    Hello,
    I have a site in which all the pages end with the .html or .php extensions.  I need to have a url with no html extension point to my home page.  So the home page is www.idealwindow.com.  I need to create a link - www.idealwindow.com/trucks that when clicked, will bring up www.idealwindow.com.  Does anyone know how I can do this?  Thank you.

    Create a blank page in the trucks folder called index.html. Then in the <head></head> tags of that page paste this code in:
    <meta http-equiv="Refresh" content="0;URL=http://www.idealwindow.com" />
    When the viewer goes to the page that is advertised on the truck this code will redirect them to the proper home page.

  • How do I install the Dreamweaver extension in Sellerdeck 2014

    I am trying to install a Dreamweaver Extension in Sellerdeck 2014. I have gone through the "normal" process of downloading extension manager and have mxp and zxp fiels installed. I get told I need a version of Dreamweaver later then CS6 but I have just purchased CC2014.1.
    Geoff ([email protected])

    Hello,
    Many thanks. I have converted mxp to zxp (using CS6) and installed a Sellerdeck extension (using CC) and downloading a Dreamweaver update. Finally I can see a Sellerdeck Menu item in DW. It looks like I am good to go.
    All the best,
    Geoff Owens @ www.clipperservices.co.uk

Maybe you are looking for

  • Error 4450 and error 4280

    Ok this is bad, I am new to ITunes I purchased a bunch of songs and transfered them to my Ipod fine, then I burned them to 3 cd's no problem. Saturday I wen to record an audio cd with 100 dollars worth of new songs and I got error 4450 out of my I/O

  • How can I make Facebook work on iMessage again?

    When I first started using Messages (it was iChat back then - if I'm not mistaken....) I was able to connect to Facebook chat using Jabber. I haven't been able to do that in the last few months. Anyone knows why?

  • Adobe Flash Player 13 will not install

    Adobe Flash Player 13 keeps crashing. Where is "home" directory to remove the preferences to complete an uninstall of Flash player?

  • Software component ID different in SXI_CACHE

    hi, My scenario is file to IDOCs (MATMAS, DOCMAS, CREMAS) i transported my objects from DEV to QA environment.  I changed the mapping in QA for the constant values in IDOC header records as I am using the control record from the mapping. Sometime the

  • Issue with crashes

    I have no idea what is going on. would be very glad if someone can help me. Model: MacBookPro5,2, BootROM MBP52.008E.B00, 2 processors, Intel Core 2 Duo, 2.66 GHz, 4 GB Graphics: kHW_NVidiaGeForce9600MGTItem, NVIDIA GeForce 9600M GT, spdisplays_pcie_