Run extension without restarting the host application ?

While developing, is there a way to test/debug the extenstion without restarting illustrator everytime the time? This is really time-consuming...
Extension Builder 2.1 in combination with FB had an "Attach as" feature that would take care of this, but I cannot seem to get EB 3 working in FB.
Tom

Happy to answer my own question. Here's what you do to reload the panel, by creating a simple button that reloads the 'window'. Useful for Illustrator scripts.
In yout HTML:
    <button id="bt_reload" class="hostButton">Reload</button>
In your main.js file (or similar)
$("#btn_reload").click(reloadPanel);
    // Reloads extension panel
    function reloadPanel() {
        location.reload();

Similar Messages

  • Is it possible to deploy an EAR to a Netweaver AS without restarting the AS

    The application has been designed to use multiple Java Resource bundles that contain various messages and properties that are updated quite often.  The Resource Bundles have been separated into separate SCAs so that they can be deployed separate from other parts of the application.  Is it possible to deploy the EARs contained within these SCAs without restarting the Java AS?
    We are working with NWDI 7.1 deploying to Java 1.5 running on zLinux

    Hi,
    That should be no problem at all. Any machine with or without NI software can use an FTP client to transfer files to and from an RT target such as CompactRIO.
    You should be able to build the executable on the development machine, transfer it via USB drive to another machine and then use FTP software to transfer the file from there. You'll just need the IP address of the target and login information.
    For more information on FTP transfer with or without MAX to RT targets, see the following KB article:
    http://digital.ni.com/public.nsf/allkb/4DCF9D581C491E9F8625711B005FA539?OpenDocument
    I hope this helps, please don't hesitate to reply with more questions on the subject.
    Regards,
    Tom
    Applications Engineering, NI UK

  • Deployment without restarting the server

    If we change java files,why we need to restart the server,I am using JBoss-2.2.1_Tomcat-3.2.1.Can we deploy the java file without restarting the server?Thanks in Advance

    Yes we may
    All u need to do is change
    TOMCAT: %WEBSERVER_HOME%\conf\context.xml
    JBOSS: %WEBSERVER_HOME%\server\default\deploy\jbossweb-tomcat55.sar\context.xml
    file from
    TOMCAT:
    =======
    <!-- The contents of this file will be loaded for each web application -->
    <Context >
        <!-- Default set of monitored resources -->
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
        <!-- Uncomment this to disable session persistence across Tomcat restarts -->
        <!--
        <Manager pathname="" />
        -->
    </Context>To
    <!-- The contents of this file will be loaded for each web application -->
    <Context reloadable="true" >
        <!-- Default set of monitored resources -->
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
        <!-- Uncomment this to disable session persistence across Tomcat restarts -->
        <!--
        <Manager pathname="" />
        -->
    </Context>JBOSS :
    ======
    <!-- The contents of this file will be loaded for each web application -->
    <Context cookies="true" crossContext="true">
       <!-- Session persistence is disable by default. To enable for all web
       apps set the pathname to a non-empty value:
       <Manager pathname="SESSIONS.ser" />
       To enable session persistence for a single web app, add a
       WEB-INF/context.xml
       -->
       <Manager pathname="" />
       <!-- Install an InstanceListener to handle the establishment of the run-as
       role for servlet init/destroy events.
       -->
       <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
    </Context>to
    <!-- The contents of this file will be loaded for each web application -->
    <Context reloadable="true"  cookies="true" crossContext="true">
      <!-- Session persistence is disable by default. To enable for all web
       apps set the pathname to a non-empty value:
       <Manager pathname="SESSIONS.ser" />
       To enable session persistence for a single web app, add a
       WEB-INF/context.xml
       -->
       <Manager pathname="" />
       <!-- Install an InstanceListener to handle the establishment of the run-as
       role for servlet init/destroy events.
       -->
       <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
    </Context>

  • Detecting the host application type

    I have a plug-in for Acrobat Professional. Is there any way for this plug-in to determine the host application like if it is running inside a Acrobat Professional or inside a browser container etc?
    I need to know this becasuse my plug-in is causing the browsers to crash whenever they open PDF files. My idea is to detect the host for my app and abort loading the plug-in if it is not full blows Acrobat app.
    Thanks
    Shreedhar

    You don't need to!
    When you create your toolbar button, don't add EXTERNAL to the parameters you pass it.
    How else is your plugin invoked other than button (see above) or menu (not present)?

  • How do I restart apex without restarting the database?

    As the title says... How do I restart apex without restarting the database?
    For the second time in as many weeks apex 3.0.1(?) has stopped working while the database (10gR2) hasn't missed a beat.
    How do I restart apex?
    How do I get it to restart automatically on failure.
    How do I receive failure notification messages.
    How do I diagnose the cause of the failure.
    We were looking at using apex in a production environment but the prospect of unplanned restarts of production databases every week is a little daunting.
    Regards,
    David

    David,
    >> We're not using oracle http server as it's a 64 bit version so yes the whole thing is running within the database.
    1) So your Web server is the XDB HTTP protocol server and embedded PL/SQL gateway (basically, the database's embedded Web server)? Is this 11g? If so, what platform?
    2) Are there any reported issues in the database alert log?
    3) When you check the status of the database listener, does it show services running for this specific port (default 8080, I guess)?
    4) If you normally go to http://server:port/apex, when this situation occurs, what happens when you try and go to http://server:port?
    Joel

  • Modify JSP file without restarting the server

    Hi guys,
    I need to do small change in the JSP in the production.
    How can I do it without restarting the server?
    I have deployed the application as an EAR file.
    I use WLP8.1 SP3
    IS there any way?
    Ananth

    You can try expanding (use jar util) that ear into temp dir, then make the change, use jar util again to create the ear. try redepolying it. Make sure change the jsp recheck and hit that page. see if it works. Incase if it works put the jsp recheck back to -1.
    Note: This is just an idea, I never done.
    Thanks
    Srini

  • How to dispatch an event to the host application?

    Can I create a keyboardEvent and dispatch it to the host application?
    I'm trying to create an onscreen keyboard, so on every mouseUp event, a corresponding keyboardEvent is created and dispatched to the host application.
    Is it even possible to dispatch a keyboard event programatically?

    I can dispatch Keyboard Events programatically, and event listener inside my extension works just fine.
         var evnt:KeyboardEvent = new KeyboardEvent(KeyboardEvent.KEY_DOWN, true, false, Keyboard.M);
         this.dispatchEvent(evnt);
    However, the KeyBoardEvent is not propogating up to the host application (Illustrator).
    What do I need to do to send it on to the host application?

  • Executing the host application

    Hi, i developed a host application with OCF to communicate with my applet, everything is OK. now i wonder if i can execute the host application from an HTML page

    SYNCHRONIZE will update the display with the internal stae of the application (so don't think you should be expecting any performance improvements).
    HOST command will generally run synchronously - so it will wait for the host command to finish executing. If you want to asynchronously you could HOST out to a BAT file a put your commands in the BAT file.
    Regards
    Grant Ronald
    Forms Product Management

  • How to disconnect internet connection in Time Capsule and reconnect without restarting the whole device?

    Hi, I would be very grateful if someone could tell me how to disconnect internet connection in Time Capsule and reconnect without restarting the whole device?
    The thing is that as I have a dynamic IP address, everytime I restart the internet connection my IP address changes. I sometimes need it to change, so I need to restart the connection. I don't know another way to restart the connection than restarting the whole Time Capsule.
    Thanks!!
    PD: the computer I use is Windows based, using the Airport Utility for Windows, but I also have a MacBook Pro I could use and an iPhone too.

    The utility in windows is very like Mac so the screenshots are from Mac as I don't have windows available now.
    How this works depends on the setup of the TC.. which you did not tell us.. you cannot change anything if you do not have the TC as the main router in the network.
    So on the internet tab you need to share a public IP address.
    On the next tab where you set IP address.
    Click the renew IP address.
    It might work.. and it might not.. the problem is you are not disconnecting the network.. sometimes the hard disconnection is required before the address will renew..
    What about unplugging the WAN port.. then click renew the IP which will fail.. then plug the wan back in again.
    In the end it is easier and faster to power cycle the TC.

  • Is there a way to recover or remove a restriction password without retoring  a iphone 4 without restarting the phone as a new phone

    is ther a way to recover a restriction password without restarting the phone as a new phone

    No. A simple backup and restore just restores the restriction password from the backup you just made, unless you revert to a backup before the password was set.  The other option is recovery which deletes all data.

  • Deploying, ReDeploying JAR file to WebLogic EM without restarting the serve

    Hi
    Can any one help me how to re-deploy .jar file on weblogic EM with steps.
    Deploying, ReDeploying JAR file to WebLogic EM without restarting the server
    Appriciate if you provide information in steps with screenshot.
    Note: Not in weblogic 11g console.
    Thanks,
    Phani

    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA

  • How to restart the Netweaver Server without restarting the whole OS (Suse)

    We are setting up the SAP Netweaver Java on Suse Linux Trial in VMWare.
    We require to restart the Netweaver Server several times. Is there a possibilty to restart the Netweaver Server without restarting the whole Suse Linux Server Operating System?

    Hello Deniz,
    startsap and stopsap have the folllowing syntax :
    startsap [db|r3|j2ee|all|check] [<instance>]
    you could use startsap/stopsap to start/stop any of the db or r3 or j2ee or any particular instance.
    e.g.
    startup db
    startsap r3
    startsap j2ee (just j2ee part)
    similarly for stopsap
    if you have multiple instance you could use the instance ABC as
    startsap ABC
    If you just want to restart any particular process of j2ee engine, you could use jcmon.
    Hope that helps.
    Snehal

  • Portal Access without configuring the Hosts file

    Hello experts,
    Is possible to access the SAP Portal By mentioning the IP address in the URL without configuring the Hosts file?
    Please suggest me.
    Thanks.

    >
    Stars wrote:
    > Hello Baskaran,
    >
    > Thanks for your frequent response. I didnu2019t configure the DNS. If I configure DNS now then it will affects the SAP installation. Please suggest me.
    >
    > Thanks.
    Hallo Stars,
    I am not able to understand the relation between the configuring DNS and affecting SAP installation. If you do not want to do the host file change or DNS configuration, i wonder how could your url request with Ip adress and port knows the physical server to  reach.
    Anyways it is going beyond Webdynpro-ABAP forum to the Networking,systems area. I request Moderators to replace this to appropriate forum.

  • Installing OS 6 without installing the map application....

    I have an iPhone 4 S......can I install OS 6 without installing the map application?

    there is no way to do that its either you download and get everything or you dont download it

  • Without reload the JBoss application server after compile the java

    in Jboss app server.
    duing the developmenet i modify the .java files and compile it. when ever i compiled the .java file i have to restart the jboss service. then only the modification is done.
    so i would like to know where i have to set the configuration for without restart the jboss server

    Dear Vincent
    Its already set the Parameter rdisp/j2ee_start = 0. last week we are upgrade the kernel from 173 to 221. after that this problem was started.
    Regards
    Sriram

Maybe you are looking for

  • Simple array program help

    Hello could I please have some hints as to how to get this program working e.g. would it better to use a while loop for this? and how would I make the program stop when it has read 100 names? cheers anyone import java.util.*; import java.io.*; * The

  • HT1731 "AirPort Express: How to join an existing Wi-Fi network in client mode" = 'Add to an existing network' will not result in pure client mode

    Choosing that option will always end-up in extending my wireless network. What I want to achieve is to just add my AE to the existing WIFI network and to use it for local access like AirPlay or Printing. No other client e.g. iPhone, iPad etc. should

  • Iphone 3g No Service

    OK now I have a weird problem, So I got my Iphone 3g on the 23rd of December, its been working perfectly, no problems at all, couldnt be happier, then all of the sudden, I turned it on this morning, was fiddling with maps, and all of the sudden it sa

  • My iphone keeps restarting after it dies??

    Okay so I have a couple things going on with my iphone and I'm hoping that they all relate to each other.  First, my battery percentage (what shows up in the corner of my phone) never changes.  It always stays at the same percentage, and then dies on

  • How to access jdbc jar file using JWS - Hlep needed

    hi guys i am having a problem running jdbc jar files (msutil,msbase,mssqlserver) using JWS. I am able to downlod it to the client machine but i am getting an error java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error opening/loadin