Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 121507

Re: Re: Run extension without restarting the host application ?

$
0
0

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();

    }


Viewing all articles
Browse latest Browse all 121507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>