HTML Panel for Illustrator plugin

Hi
I'm adapting the Illustrator CC SDK Tutorial plugin, which has a Flash based UI (Tutorial UI) and trying to replace the Flash UI with an HTML5 extension-based one.
I'm having some issues which break down into two parts - (a) HTML5 panels and (b) Events from HTML5 Extensions
HTML5 Panels
In the tutorial, the plugin is divided into two parts, the plugin and the plugin panel controller. Since the original has a flash UI, the panel controller class inherits from FlashUIController (part of the SDK common code).
1) Do I need a panel controller class for HTML5 extensions and if so, what should they be based upon? There doesn't seem to be an equivalent library for HTML extensions.
2) If I don't need a panel controller, what do I need to put into the plugin code to bind that panel to a particular menu item etc.
Events
So far I have written a new HTML5 extension (in Extension Builder 3) which does nothing other than dispatch an event (using CSInterface().dispatchEvent(evt)) when you hit a link. So far so good.
When I debug it in illustrator it appears as expected under Window->Extensions and it is getting past the event code so I am assuming that the event is getting dispatched properly.
The problem is I cannot seem to get that event picked up by Illustrator.
I've added a AINotifier for the event in the main plugin code along with the other global event listener code, but am not sure that is the right place. The main Notify method of my plugin certainly isn't receiving it.
3) Is this the right approach? I'm a bit stuck for ideas - and the lack of samples (official or otherwise) is hampering me at the moment.
4) Is there a way of debugging the event generation to see if it is really getting dispatched?
I won't post my code here since I have editied it heavily and its a right mess, however I am struggling with the concepts involved and hope someone can point me in the right direction.
As you might be able to tell, I'm new to plugin development and my C++ is pretty rusty. It is quite possible I am missing something fundamental here, but any help you can provide will be useful.
Thanks in advance,
Rob

Hi Hui
Well, sort of, although I've made a bit more progress now and the events part seems to be working.
I originally thought that fPPLib was specifically for Flex/Flash but I now realise that it is the main PlugPlug interface (which now includes HTML5 panels - right?)
I think what I really need is HTML5 panels 101 (for Illustrator). The exmples in this forum are InDesign specific and all the c++ libraries are different. Also nothing I've seen so far shows how to make an extension work from within Illustrator's menus (as opposed to just from Window->Extensions).
I have a plugin which requires input parameters from the user.
What I am trying to do is.
1) Create an HTML5 extension panel which will collect values from the user.
2) Attach that panel (or is it a modal dialog) to say Object->Filters in the main Illustrator menu
3) Have that panel load previous plugin parameters (*from the current session)
4) Validate the user values in the panel.
5) Make the panel communicate those values to the plugin
6) Show/Hide the panel as required (i.e. open it from a menu item, close it when done).
Also, in the original flash panel which I am trying to adapt, there is a lot of ActionScript in the mxml file.
Where does all that go now? Is that what ExtendScript is for (and if so are there some useful tutorials on it anywhere?)
I know that is a lot of questions. Apologies - I'm new to this and impatient to make some real progress.
Cheers,
Rob

Similar Messages

  • Combining a Flex FileInfo panel for Illustrator with an Illustrator Javascript

    I've got an Illustrator script (Javascript) that writes XMP based on the content of the artwork, but the script has to be manually triggered. I've got a custom FileInfo panel (built with Flex/AS3) to help me edit the XMP once stored.
    I'd like to combine the two, so the Script fires whenever the FileInfo panel opens.
    I can't do the DOM scripting directly in AS3, can I? I think that Illustrator is only open to Javascript, VB, and AppleScript. Please correct me if I'm wrong.
    Does anyone have any ideas how to call the javascript in the Scripts folder from an event in the FileInfo panel's SWF, and pass arguements back and forth? I've seen it done on webpages, but only when both the SWF  and javascript are on the same HTML page.
    Thanks

    Hi Hui
    Well, sort of, although I've made a bit more progress now and the events part seems to be working.
    I originally thought that fPPLib was specifically for Flex/Flash but I now realise that it is the main PlugPlug interface (which now includes HTML5 panels - right?)
    I think what I really need is HTML5 panels 101 (for Illustrator). The exmples in this forum are InDesign specific and all the c++ libraries are different. Also nothing I've seen so far shows how to make an extension work from within Illustrator's menus (as opposed to just from Window->Extensions).
    I have a plugin which requires input parameters from the user.
    What I am trying to do is.
    1) Create an HTML5 extension panel which will collect values from the user.
    2) Attach that panel (or is it a modal dialog) to say Object->Filters in the main Illustrator menu
    3) Have that panel load previous plugin parameters (*from the current session)
    4) Validate the user values in the panel.
    5) Make the panel communicate those values to the plugin
    6) Show/Hide the panel as required (i.e. open it from a menu item, close it when done).
    Also, in the original flash panel which I am trying to adapt, there is a lot of ActionScript in the mxml file.
    Where does all that go now? Is that what ExtendScript is for (and if so are there some useful tutorials on it anywhere?)
    I know that is a lot of questions. Apologies - I'm new to this and impatient to make some real progress.
    Cheers,
    Rob

  • Adding Panel in Illustrator

    I am developing a plugin for illustrator. Currently my plugin can be accessed by clicking File-->MyPluginName-->Launch .
    Each time user needs to access it by following the given path.
    To make user's life easier, i want to make panel for my plugin so that it will be available to user just one click away. ( Just like "Layers" panel of Illustrator which is always available for user to operate )
    Can anyone help me in doing this. Is it possible to do this using Illustrator SDK.
    Currently i am developing my plugins for CS3 and CS4 .
    If it is not possible to develop such panel using Illustrator SDK , Does adobe have any plans to add support to panels in future releases .?? ( May be in CS5 )
    Expecting favorable reply
    Thanks in advance

    Thanks
    You provided me with the exact answer . Thanks a lot

  • Problem with Office 2007 whenever I install the iCloud Control Panel for Windows

    Sadly I have a Win7 laptop as my work hack and am using Office 2007.  Outside of work I use iCloud to sync calenders between various iOS/OS X devices however whenever I install the iCloud Control Panel for Windows Plugin my email no longer loads. Outlook starts fine and just sits there with an empty inbox waiting for mail to load.  I can't even open the iCloud Panel from within Control Panel either to set preferences!
    Unistalling the iCloud plug-in resolves this but I really want to sync my iCloud calender with Outlook and can't see any other way to do it, plus it worked before and then just stopped.
    Any assistance would be appreciated.

    I tired everything that was suggested in the forum.  Tried IE and firefox to no avail. When I tried computers in stores both worked.  A friend of mine who has the 32 bit setup got it to work. Several folks have stated it is the compatability issue with 64 bit.  As a last resort, I loaded safari on my home computer, and yep, it works.  Go figure, apple product.

  • Tabbed Panel menu + HTML Panel submenu?

    I'm using spy tabbed panels for my top level menu and HTML
    panels for the sublevels, and it works great...for one tab. The
    other tabs display their submenus but don't respond with panel
    content.
    Looking at my site, you can see that the tabs work and that
    the submenus are displayed, but only the panels under "Our Public
    Responsibility" function. I guess each tab needs a separate panel
    widget instance, but I don't know how to accomplish that.
    Any input very much appreciated!
    UPDATE: Just needed to sleep on it, I guess. I figured it
    out.

    I'm sure you will get more answers in this forum: "Spry Framework for Ajax":http://forums.adobe.com/community/labs/spry
    Good point. I'll post it there.
    I do not see a problem with what you want to do. Keep in mind though, that, unlike the tabbed panel widget, you will be taken to a new page when clicking a link.
    Also, do you know if it's possible to have an entire web page (separate html file), display in a panel? 
    Have a look here http://labs.adobe.com/technologies/spry/samples/htmlpanel/html_panel_s ample.html
    Yup, link to another page (e.g., my forum), would be right.
    I'm trying to wrap my brain around the html panel link you provided. Thanks.

  • New Host Adapter plugin for Illustrator CC 2014?

    I'm seeing that the Host Adapter plugin for Illustrator CC does not work for Illustrator CC 2014.  I've checked that the AIHostAdapater.aip file is installed in the correct AI CC 2014 folder.  But calling AIEventAdapater.getInstance().pingPlugIn() always results in "pingTimedOut".
    Is there a new AIHostAdapater plugin forthcoming for Illustrator CC 2014?  Or is it available somewhere to download?  It is not available as an update through Extension Builder.

    Hi Brian,
    You can download the CC2014 host adapter plugins for Illustrator from the following URL
    https://github.com/timothybrandspencer/CEP-Resources/tree/master/host_adapters/illustrator
    Worked for me(verified of 64 bit installation of Illustrator on WIN and MAC), hope it works for you as well
    Thanks,
    Manan

  • Does anybody know of a parametric design plugin for illustrator similar to Grasshopper?

    I have a situation where I would like to make complex parametric transformations to 2D shapes, much like you can do in Grasshopper for Rhino. Does anybody know of such a plugin for Illustrator?
    Thank you for the help!

    You might want to show an example.

  • Adobe Illustrator CC: looking for cartography plugins like geolocator markers

    The other day I discovered this awesome third party After Effects plugin called Locations.
    It allows you to add geolocated markers to maps in After Effects.
    Does anyone know if such a cartography plugin exists for Illustrator CC? I already googled and haven't found anything yet.
    But it would be far better to be able to accurately position cities on a vector map in Illustrator prior to importing into After Effects.
    Thanks in advance for any help.

    I know of no plugins for this.
    The fastest way we found was to use Libraries.
    1. Make one set of trim marks and save it in the library.
    2. On a new document, make a box the trim size of your doc.
    3. Snap guides to the 4 edges of the box.
    4. Drag out the crop marks (double, triple, with registration marks, or whatever you created in your original Library item).
    5. Snap each of four mark sets to the guide corners.
    Voila.

  • Missing plugin for illustrator so I can send to my Foison c12 cutting plotter

    missing plugin for illustrator so I can send to my Foison c12 cutting plotter

    If you are talking about Reader (you did post in the Reader forum), then just download http://get.adobe.com/reader/enterprise. However Reader is free not purchasable. You can download a trial then install using your serial number, which if you didn’t register or write down somewhere you will be out of luck to track down.
    Download a free trial or buy Adobe products | Adobe downloads

  • Nice plugin for Illustrator

    Anyone using the Vector Scribe plugin from Astute Graphics yet? Holy crap, I can't believe life's about to get better. I can't believe AI can't already do a lot of this stuff. Corel Draw could do it years and years ago. Might just start enjoying working in AI now.

    I too got the Studio version on the basis of what I read in this thread. As far as I can tell (from limited time playing with it), it really going to speed up my workflow, especially when re-drawing logos from the rubbish that's normally provided.
    One problem (and fairly significant one) is that the modifier keys (Shift - Control - Alt) work only about 5-10% of the time (when using an Wacom Intuos 4 tablet) or maybe they work once and then stop functioning, if I revert to using the the mouse it works perfectly, the shame is I use the tablet for the majority of the time. I guess something else is intercepting/blocking the commands. I not done any conclusive testing but Vector Studio seems to scewing up my Wacom preferences (the application prefs set for Illustrator in the Wacom Tablet Properties seems to be re-set to default and the Illustrator preferences seems to end up as prefs for all other programs, I'm pretty sure this has never happened before I installed VectorScribe, I've uninstalled the Wacom software completly, re-set the Wacom prefs, reinstalled the latest Wacom software but it screws up all over again.
    System Specs
    Illustrator CS4
    Windows 7 Home Premium 64 bit
    8 GB Ram
    2 x 1 GB hard disks
    Anybody else experiencing this problem?

  • How do I locate someone who can write some scripts and plugins for Illustrator CC?

    How do I locate someone who can write some scripts and plugins for Illustrator CC?

    I just wanted to add a screen shot of the dialog showing the sound in question.

  • Variable OffsetX for tooltip/HTML Panels

    I have a sample web page which uses the tooltips with HTML
    panels:
    http://www.fctu.org.uk/repfinder/tooltip.asp
    I have adjusted the position of the tooltip using the offsetX
    but is it possible to have multiple placements on the same page
    please; although the reasoning isn't apparent from this sample page
    I'd like some of the tooltips to appear to the left of the curser
    and some to the right. I've seen the example for doing this with
    ordinary tooltips, but can't quite equate that through to this.
    Many thanks

    Ok, I've checked the site linked here with Safari.
    It works normally, so I'm thinking it's a Chrome problem.

  • Plugin for Illustrator v15.0.0 (CS5) to password protect a layer

    Does anyone know if there is a new plugin for illustrator that will password protect a layer. The plugin Master Lock only works in Illustrator version 8 and 9.
    Is there a newer version that works with CS5 ?

    I have just come across this same issue when looking for a way to password protect layers.  Did you ever find anything, or has anyone else found something???  I'm also curious in getting Master Lock for AI v 8 and 9 to see if I can develop my own plugin for current versions of Illustrator.
    Thanks,
    RevNet

  • Anyone know of a Lion-compatible Quicklook plugin for Illustrator CS5 files?

    The Lion update seems to have hosed the plugin I had, which worked OK under 10.6.  Thanks!

    Thanks for this suggestion.  I have tried SneakPeek Pro without success.  The installer ran, created a plugin and a preference pane, but invoking QuickLook for Illustrator files still showed me just the file icon. 
    I have also tried the Adoview plugin.  Same result.
    I can't find good information on troubleshooting either of these plugins; this seems to be a pretty underdeveloped area.  That's a surprise. 
    Any further suggestions (troubleshooting these plugins, hacks, other plugins) are more than welcome.  Thanks!

  • HostAdapter for Illustrator CC 2014 HTML

    Hello there
    Could you please give us a hint if and when are you planning support host adapters for illustrator cc 2014?
    Thanks in advance.

    You can download the working copy of the AIHostAdapter plugin for CC2014 from the following URL
    https://github.com/timothybrandspencer/CEP-Resources/tree/master/host_adapters/illustrator
    Thanks,
    Manan

Maybe you are looking for

  • Unable to Load the Integration scenario into the Integration directory

    Hi All, I am new to using SAP XI. Require your help on the following issue. I have built an Integration scenario, added Component  Type: Product Version, inserted actions and connections. I did check for any errors. I found no errors. When I am tryin

  • Erase All Content and Settings on my iPod Touch

    I'm trying to delete an old email address from my iPod Touch. It doesn't show up in Contacts and it has been deleted from my AOL, Yahoo, and gmail Contacts lists both in my iPod and on the laptop I use to synch the iPod. When I open my iPod and click

  • Async To Sync

    Hello, using jdev 11.1.1.4 i mistakenly created a Asyc BPEL process. process is ready and working I want to now convert it to sync process, without impacting the functionality. what is the best way to convert async process to sync process ? How do i

  • Xsan 2.1.1 problem

    Hi all My xsan has problem.Now i open the xsan software at controller,I can see the menu of xsan,But i don`t see the windows of config with the xsan.I try uninstall and reinstall,But the problem alway have.

  • ITunes not responding

    after Lion, and after updating  iTunes, iTunes will not even open. I have uploaded Onyx for Lion, and now Safari and skype do not crash. But  iTunes still does not respond.