Communication between plugin and extension

Hello

I learn the creation of extension (flex - builder extension) for Illustrator and how to communicate with a plugin.

The examples in the SDK detailed how load /unload a menu item from Illustrator extension and how to add / remove some EventListeners

to get to the magic.

to summarize, it is something like this:

1 - click on the menu item

2-load extension

3 - Add headphones

4 do your stuff...

5. remove listeners

6-unloading extension

Basically, my plugin is a module/service that takes care of processing / edit the tree of the work. It has no User Interface.

My extension will be a user of this service.

What I want to do is to load my extension as soon as my plugin is loaded and unload the extension when the plugin is unloaded.

Or warn when the extension is loaded or unloaded.

Is - it possible and hw I could achieve this?

THX,

Thomas.

I finally managed to do what I wanted.

Just as he did in the example of the SDK software, I used a Controller class to deal with extensions and event listeners.

The plugin class, Illustrator notification system is used, and I crushed, PostStartupPlugin, StartupPlugin, SetGlobal SetGlobal... Methods.

It works pretty well.

Tags: Illustrator

Similar Questions

  • Communication between plugin and AcroJS

    Hello

    (1) me and my colleagues are trying to communicate between a plug-in and script objects.

    We have decided to do so through PDField. After the hard work and attempts, we have created

    a field via the plugin and the value of the field can be seen the the AcroJS

    calls. The problem is that the AcroJS is unable to set the value. Why?

    (2) is it necessary to remove the object from PDField once it is no longer necessary.

    We don't care if it is updated in the document, but want to know if

    cleaning and setting/free to use API calls.

    (3) if the cos objects used to create field released?

    Kind regards

    EmergentTime.

    A PDField is an interesting approach, but not recommended for many reasons - the XFA is just a case of edge question.

    The best solution (since it is not dirty the document and allows the richest data storage) is to use a global variable in JavaScript.

    Second best would be to use metadata to the document level.

    And there are several other methods as the data in JavaScript object.

  • Series communication between computer and cRIO

    Hello

    I am not new to Labview or cRIO programming, however, venture in for my first try at the serial communication.  I have a controller (not original NOR) that sends data over a serial RS232 network I want to open a parallel session to the data that I collect with a cRIO.  Before we get to integrate, I try to test with a series, my computer cable and hyperterminal communications and the serial port cRIO.  I followed and validated exploitation and drivers with the following text:

    How to do a loopback Test series
    http://www.NI.com/white-paper/3450/en

    However, when I try to use the following example, I get nothing:

    Transfer data between cRIO and host series
    https://decibel.NI.com/content/docs/doc-3816

    Any ideas on where to start?  I appreciate very much all the advice.

    Thank you.

    I have confirmed that it is a right.  I'll try a null-modem cable.

    Thank you!

  • Communication between Labview and Rn42 Bluetooth

    Hello

    I am currently working on a project that requires communication between a bluetooth equipment and my pc with bluetooth built-in. The bluetooth hardware is verfied working with Blueterm on android. However I'm unable to connect with my laptop blueterm. Is back a unabe to connect error. I use bluetooth vi without series or visa. This method is suggested? Thank you


  • Communication between TNS_Listener and the listener of the Apex

    Hi all
    I how communication between TNS Listener, receiver of the Apex and Apex? For some reason, I got the following error of Apex listener:
    Caused by: oracle.dbtools.rt.web.WebException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource
    .
    .
    .
    Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    I truncated messages Java object.

    This has happened when I tried to connect to the Apex. So I can fix it by going to:
    http://localhost:8080/apex/listenerConfigure
    then everything worked fine.

    My listener.ora file:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521))
        )
      )
    
    ADR_BASE_LISTENER = /usr/local/oracle
    
    ADR_BASE_ORACLE_LISTENER = /usr/local/oracle
    My tnsnames.ora file
    INARA =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = inara.snowdrop.com)
       )
      )
    When inara is the name of the instance and the firefly is the host name.

    Is that the order of start if first the TNS Listener or listener Apex matter first?

    Best regards
    Val

    Published by: Valerie good-natured August 1, 2011 05:47

    Hi Val,

    My tnsnames.ora is configured for an existing server and there is no client configurations like sqlplus, sql or earpiece of the apex developer. However until now the server can connect to customers without problem (I just discover that unreproducible error on 'impossible to find the SID' sometimes occurs at the beginning of the Summit, the kick-off and can be solved by waiting for a while to connect to reconnect), so again I must modify the .ora?

    No, if your database listener is configured properly (i.e., he listens to the SID that you try to connect to the network interface/hostname/ip address /... she must use), there is no need to make any other configuration, especially not on another machine.

    -Udo

  • Communication between LabVIEW and MCU based on Modbus Protocol

    Hello

    I am a first year student in the port.and series applications see you, my projiect needs to communicate between LV and MCU based on Modbus Protocol.all configure it are correct, but the lv to send false information which is not suitable for modbus.i do not know how to fix it.

    My programs are:

    Why did you decide to write your own code instead of what is already available? If you had done a search, you would have easily found the modbus library. Just give a try.

  • Error: There is no communication between computer and printer

    Original title;

    printer not printihg after the installation of new updates

    I get messege there is no commacation between computer and printer

    Hello

    1. What is the brand and model of the printer?

    2. What are the updates that have been installed before the show?

    See the Windows updates are installed

    http://Windows.Microsoft.com/en-us/Windows7/see-which-Windows-updates-are-installed

    3. have you checked the status of the printer in Device Manager?

    Open the Device Manager

    http://Windows.Microsoft.com/en-us/Windows7/open-Device-Manager

    4. what operating system is installed on the computer?

    You can Open the printer Troubleshooter and check if it makes a difference:
    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    You can follow this link and check if it helps.

    Printer in Windows problems

    Let us know the result!

  • Communication between virtual and real session

    A virtual session may communicate information to the real machine? In other words, if a virtual session running can I send a message or a text to be saved on the actual computer?

    I'm under v VMWare Workstation 7.1.1 on a PC running Windows XP Pro.

    Sure! I'm not sure what exactly mean you by 'send a message or text' but you have several options:

    By default (depending on how your virtual computer was created) under the virtual machine settings > Options > Guest insulation, Drag and Drop and copy and paste are enabled. This allows you to freely drag and drop and copy and paste between guest and host operating systems. If these are not enabled, you can activate them. It's one of the ways safer and easier to share data.

    You can also create, under the ' Virtual Machine Settings > Options > folders ', a file shared between the two. Although some do not recommend this for reasons of performance and security.

    You can share files over the network by using shared folders, just like any physical PC 2 would be to share files. If you don't know how to do this, there are a lot of tutorials on the web.

    It is a bit more advanced, but you can also share a real physical drive (see the user manual). It is the least secure method, but offers the best performance if you regularly share huge amounts of data (several tens or hundreds of gigabytes).

  • How can I totally remove plugins and extensions

    I can't remove the extensions or plugins to 36.0.1 version. I don't have a "delete" button as described in the page
    https://support.Mozilla.org/en-us/KB/di

    Try refreshing Firefox . This link will take you to a page that will show you how to update Firefox. Firefox update removes all add ons and parameters.
    Firefox will record these items:

    Bookmarks
    Browsing history
    Passwords
    Open windows, tabs and tab groups
    Cookies
    Web form autofill information
    Personal dictionary

    Have a great day!

    Jon

  • Removal of the plugins and extensions of uneeded

    Currently, using FF5... I would like to remove the extensions & plugins
    that are uneeded... y at - it a tool for that...

    The Manager of addons can be found here: Tools -> Add-ons.

    More details: disable or remove modules

  • Communication between Labview and Acton spectrometer via USB or RS232

    I'm trying to communicate between a PC running XP and a spectrometer to Acton 2300i using Labview.  Windows recongizes the specification and assigns it to COM3 with the correct name.  Also, the software provided with the specification can communicate with him.  However, I was unable to communicate using VISA in Labview.  I downloaded the simple read and write example vi fromt the example finder and changed the entries at 9600 baud... but I am still unable to connect.  I also tried connecting via software of measurement and automation NOR, but getting the timeout error code.  I was able to connect using GPIB of Labview for another more old Acton Spec 500i but the onle new version connects via RS232 or USB.

    The problem was simply not having a return of carrage added at the end of my order.  Thank you for your help.

  • Speed of communication between workstation and server

    Is there a way when I access my router settings that I can increase the amount of time it takes to run a report on the data of my server?  All I want to do is run a report of 100 emails or more leads is entered in the database today.  But it takes so long for the server to send this info to a spreadsheet on my workstation.  Don't you think that it is a router issue?

    What is the number of your router model. These are settings that you can set your may be this could solve the problem. If you have a firewall or an Antivirus on your computer try turning it off. Login to your configuration page of the router and under configuration tab change the MTU to 1365 size and click on save settings. After that you can try to transfer the files between your computer and check how his work.

  • Communication between Nughtly and HP printer pro 8620

    My OS is Windows 7.

    I have a printer HP 8620 Pro. The printer works with all other programs except every NIGHT.
    The message is nocturnal cannot communicate with the printer.

    Can you please specify?

    Kind regards
    Ivor Surveyor [isurveyor @ vianet.net.au]

    isurveyor said

    I clicked on your reference and received the message:
    «Your Firefox is so far.»
    Should I uninstall my version of Firefox and try again?

    Yes, you can give it a try. Because the current stable version is Firefox 38.0.5 and you use 41.0. Which is a very unstable version.
    Then, before uninstalling to download the current version from here: https://www.mozilla.org/en-US/firefox/all/
    (You will see a lot of choice of language here. You can simply download (United States) English version for windows).

  • [fpga] Faster communication between FPGA and host in real-time

    Hi all

    I received a card FPGA NI FlexRIO (SMU-7965R) installed on a chassis PXI (SMU-8135 embedded controller). I have an FPGA program to 40 MHz, and I use a real-time program to read a particular variable of FPGA on a regular basis. I do not stream. All I need is to get the most recent value during each execution of the loop of the program in real time (hence, DMA FIFO is not a good option). I am aware that you can read the FPGA indicators in the host program (real time) using the FPGA read/write control function. I used this feature to read a certain variable of indicator FPGA, as shown in the screenshot. The RT program takes 100 micro-seconds (10 kHz), which is not fast enough for my application.

    Is there a faster method to read the latest FPGA data, or the program shown in the screenshot can be modified to reduce the time of loop RT? Any help would be greatly appreciated.

    You're talking about an RT target a sitting in the RT himself FPGA card? If so, have you tried without the IP address of the target. See this thread to see why that would make a difference.

  • Communication between computer and printer problem

    Why can't I print my documents, they go into the queue and do not print?

    Hello

    ·                         try to uninstall and reinstall and use the latest printer drivers VISTA for your model of the manufacturer of the printer

    You can also track information to try to solve your problems of printer below

    read the printer correct that information the slot microsoft, including the 'fix - it' and the information of the links to the other

    Solve printer problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems

    and read this microsoft tutorial too

    Introduction

    This tutorial is designed to help you identify and fix the problem printer common windows problems, including print errors, or errors, and other issues that could prevent you from printing. This tutorial does not cover printing problems related to specific programs. Printing problems can be caused by cables that are not properly connected, corrupt, drivers, incompatible drivers, the printer settings, missing updates and problems with your printer.

    How to use this tutorial

    For best results, complete each step before move you on to the next. Try to print after each step before moving on to the next step.

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

Maybe you are looking for

  • Firefox already running, cannot find the profile

    I got the msg posted in my question, created new profile (3.6.19), old does not appear in my profile folder. Its still listed in the text of the notebook "profiles.ini" however. I made suggestions help here & on the mozillazine site, but no luck. Is

  • I can't post a question on Mozilla Firefox

    I just posting me a question and when I clicked to post the question all came to stop and I could see "Stopped" down in the lower left corner of my screen. It resembles the original Firefox problem I tried to post and immediately following. I have a

  • CTRL-T and add a tab to the right of the tab button does not open a new tab

    Firefox worked fine and then both the Ctrl-T and add a new tab will not open a new tab. New tabs can be opened by a link.

  • Equium A200-15i - loss of internet connection

    Hello! I have a really strange problem with my Equium A200-15i. My computer loses the connection with the internet very often. Connectivity shows that I am connected to the LAN or WLAN (if I use an ethernet cable). However, I am not connected to the

  • Simulation of the EEG

    Can I know what are these constants to GET Simulation VI? Thank you.