Extensions without (visible) user interface?

Hi all

Question: is it possible to have extensions without a user interface, or with a UI in option? I managed to come close to how it works, but it seems to stay just beyond my reach. It's using InDesign.

What I want to achieve: I want the extension to work permanently, so he can listen for events from documentAfterSave even when the Panel does not display and I want to have the status of 'visible panel' persist between sessions of the user.

The first thing is to get the extension to load on startup of the application.

In the Panel of lifecycle in the manifest Editor, I unchecked "AutoVisible" (do not know if this is important)

Then I added the event applicationActivate for a list of the events 'started'.

That made my extension appears when the application starts. Cool.

But I want to be in control of the visibility of the Panel - that is, if the user had the Panel hidden when he used modified app, I want that the extension is hidden when the user runs the application at a later date.

I want to know save state 'visible' to the extension between user sessions Panel. I tried to save and restore the visible state via the CSXSInterface.instance.whatchamacallit things, and I tried to listen for the change of State for WINDOW_SHOW and WINDOW_HIDE events, so I could keep track and maintain the visibility state of the group, but it seems that these events don't really work (see list of bugs of Harb elsewhere on this forum). I also tried to move the Panel out of the screen to simulate be hidden (old trick did not work).

Before you give up and try a different approach (without extension generator), does anyone know if this can be made to work?

Another doubt persistent: suppose that I managed to do the work, what is the documentAfterSave event? For example, when the user closes an unsaved document and then agrees to save the document when alerted (dialog box "do you want to save... »).

The event will trigger early enough so I can still extract information from the document before InDesign starts to break down document data structures? Or I will end in the grey area, where simply access the half-disassembled document object can cause outages? Where can I get the document has already been closed since before the triggered event?

See you soon,.

Kris

Hi Kris,

AutoVisible = false means that when this extension is loaded its user interface is not made visible, leaving that up to the extension. Generally, the panels must have AutoVisible = true so that when a user selects the Control Panel on the menu, they can be assured that it will be made visible immediately, it also ensures a correct behavior when the Panel is anchored or closed.

So the question is how to solve your problem?

I suggest this broke into two extensions, an extension that is a sign of vanilla and another modeless extension which is hidden and is waiting for events. The hidden, should start on applicationActivate, have AutoVisible = false and does not have a

element in its manifest (so it does not appear in the window > Extensions). This hidden extension may then respond to the save event, it can also activate your Panel on the first launch.

That works for your use cases?

Tags: Creative Suites

Similar Questions

  • Creating an application without a head without a user interface

    I use the NDK for about 2 weeks now and I can't seem to find any resource on the following blackberry Web site.

    I am creating an application without a head that would run every 24 hours on my blackberry.  I have the app created with Momentics headless and it does what I need it to do. But right now I need to have a button in a user interface to call him.

    What I'm trying to do is,

    1. Have created enforcement wihtout the need of a user interface for packing it or deployment using our company BES.

    If you can point me to a tutorial or an example that would be great.  Of course if you have a response to these two that is too !

    Thank you

    Lothus.

    Watch the timer shutter release for app without head, code snippets and explanations can be found here:
    https://developer.BlackBerry.com/native/documentation/device_platform/headless_apps/triggers.html#TI...

    If you need a more complete example, I can create one, but I don't know when I'll have the time to do it, he could be close to mid-January. But honestly, all the necessary code is already in the docs.

    Don't forget to register action TIMER_FIRED in your bar - descriptor.xml under your app without a head part, I think it is also covered in the docs.

  • Extension of the user interface - javascript does not come to the top


    Hello

    I'm on PLM6.1.1.5 and EP 3.11. I followed the implementation of measures to extend the user interface:

    Step 1. copy the files:

    Copy the Utilities\UIExtensions\config\Core\UIExtensionScripts directory and its contents in the \config\Core < PLM4P_Home > directory

    Copy the Directory of Utilities\UIExtensions\config\Extensions\UIExtensionScripts and its content in the directory of \config\Extensions < PLM4P_Home >

    Copy the following assemblies to the SharedLibs folder of the the Pack of extensibility in the \Web\scrm\bin < PLM4P_Home >, < PLM4P_Home > \Web\gsm\bin or < PLM4P_Home > \Web\npd\bin directories:

    • PLM4PExtensionUtils.dll
    • ScriptingUtils.dll
    • UserInterfaceExtensions.dll

    Step 2: Insert the following lines in CustomPluginExtensions.xml, in the FormatPlugins section

    < name of the Plugin = "UIExtensionGSM."
    FactoryURL = "class: Oracle." Agile.PlmProcess.UserInterfaceExtensions.Java
    scriptLoaderFormatPluginFactory, UserInterfaceExtensions$ NameValuePair: FormatPluginNames = GSMSpecJavaScriptPlugin & amp; ScriptFiles=config\\Core\\UIExtensionScripts\\static\\UIExtensionsCore.js,config\\Extensions\\UIExtensionScripts\\static\\GSM_Variables.js ".
    / >

    < Plugin
    name = "GSMSpecJavaScriptPlugin" FactoryURL = "class: Oracle." Agile.PlmProcess.UserInterfaceExtensions.GSMSpecJava
    scriptFormatPluginFactory, UserInterfaceExtensions$false"/ > ".

    Step 3: update the \config\Extensions\UIExtensionScripts\UIExtensionsConfig.xml file to enable the specific extension points.

    UIExtensionGSM default has been activated.

    4:go to step < PLM4P_HOME > \config\Extensions\UIExtensionScripts\Static, has used the sample for customization 2147.js.

    None of my javascript are applied to the page. I tried simple javascript like this:

    ($(window) .load)

    function() {}

    Alert ("hello world");

    }

    );

    in 2147.js, 1004.js, 1009.js. Nothing came

    All the steps that I missed

    Thank you

    Church

    You said that by default uiextensiongsm has been activated. But I have to manually turn on UseInEditMode and UseInReadMode. Please check this.

  • When I click on all the files I get an error message says "without this user supported interface.

    When I click on all the files I get an error message says "without this user interface supported 'n I can't open any files or folders.

    A moderator is spent it to search in the Forum, the folders and files Windows of Feedback Forum.

    HI, Luvnmidlife,

    Windows operating system?

    It is the unique user on the system account?

    Create a new account to use for testing purposes.  See if the problem persists using the new account

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

  • How to expose the user interface components in a managed bean?

    Hi all
    I created a jsf page without exposing user interface in controlled beans components.
    And the page is created successfully.
    But now I want to expose components from user interface again controlled beans
    How to do this?
    Help, please

    Select your device in the main menu Jdeveloper, in the property Inspector find Binding property--> click on edit to bind this component to a property of the managed bean.

  • How to view the user interface created using CS Extension Builder in our menu.

    Hello

    I created a user interface that includes a text box and a button using "CS Extension Builder" and as I - CS5.

    I enter this in the window-> Extension.

    But I want it to appear in my menu.

    so I just want to know how can I do this? Any API does it take?

    Thank you

    What is not clear with the samples, it is that your CSXS Extension can actually choose not to contribute a menu under window > Extensions.

    FreeGrid sample has elements of menu under window > SDK > free grid (who calls in C++ code that fires a CSXS event to open the extension) and the title of the window > Extensions > free UI grid that opens the CSXS Extension, which, in turn, communicates with the C++ plug-ins. If you remove the

    tag in the manifest file of the extension of the free grid UI (under .staged-extension/CSXS), then who's going to get rid of the window > Extensions > free menu item grid UI, leaving only the menu item defined in the C++ plug-ins. Appears not to be supported by Bundle manifest Editor Extension Builder (I'll file a bug on this topic now), but you can manually edit the manifest file (in Extension Builder, you will need to click on the arrow down on the upper right of the package Explorer and select "filters", then uncheck the ".") * resources"box - this will make the folder visible .staged-extensions. Then just navigate to the fichier.staged-extension/CSXS/manifest.xml, right click on it and select "open with > XML Editor".)

    Hope that helps,

    Louis

  • How can I join buttons visible teststand keyboard shortcuts in a labview user interface

    On a normal labview VI, it is possible to configure the desired for example key navigation options assign a keyboard shortcut to a control. Is it possible somehow to assign a keyboard shortcut to the visible controls ActiveX Teststand i.eg. a basic custom user interface labview Teststand button?

    Help, please

    You may be able to do by cloning of each button, assign a shortcut to the clone, and then firing an event and call the method "DoClick' of the TestStand button - I say maybe because I can't verify the DoClick method will do what you want.

    Obviously, you can hide the clones on the front panel if necessary.

  • Citing the part of the user interface of the game without head in an app without head

    Hello

    I try to call my interface section user app without head of service class (part long term without a head), as shown below:

    application of BB::System:InvokeRequest;

    request.setTarget ("com.myDomain.myAppName");

    request.setAction ("com.myDomain.myAppName.START");

    InvokeTargetReply * response = m_invokeManager-> invoke (request);

    {if (Reply)}

    QObject::connect (response, SIGNAL (finished (()), this, SLOT (onInvokeResult ()));

    _invokeTargetReply = response;

    }

    else {}

    qDebug()< "failed="" to="" start="" invocation:="">

    }

    the error response is always "not objective". I double checked that the id of the target is my id app (user interface section) and that it is registered as target to call in the xml file bar


    application
    myAppName

    Icon.PNG

    myAppName

    I don't know why he keeps giving me the error response target?

    Made a typo, the Notification and NotificationDialog are part of the bb: platform.

    Here are their respective documents:
    Notification https://developer.blackberry.com/native/reference/cascades/bb__platform__notification.html#function-...

    NotificationDialog https://developer.blackberry.com/native/reference/cascades/bb__platform__notificationdialog.html#fun...

  • Call functions of qml in main.qml of a part of the user interface of the part without application head.

    Hi all;

    I wanted that my application runs in the background (Headless) but first encountered several problems, calculation are qml functions (in main.qml: updateUi() with call javascript *.js files), who should I call their headless part when the part of the user interface is closed by the user? Please help me if you have any solution.

    Thank you very much.

    identify what treatment you need for the game without head and migrate to c + c++ / Qt.

  • User Interface Extensions

    We used user interface Extensions to set some fields to read only on our 6.1.0.3 release.

    However, now that we are improving to 6.1.1.5 .js files must be updated.

    I am able to hide buttons and disable fields but I'm having a problem with the tables (BU section and references). The previous configuration does not work and I am unsure of how to identify the right items to implement the function.

    UI_Ext_MakeGridColumnReadonlyByColumnName (columnName, dataTableVariable, rerenderTable)

    Here is an example of the documentation:

    if (! (typeof ctl01_CtlLegacySystemEquivalent1_ctlCollapsibleContentContainer_ctl00_tblLegacySystemEquivalent_Table = "undefined")) { }

    UI_Ext_MakeGridColumnReadonlyByColumnName (ctl01_CtlLegacySystemEquivalent1_ctlCollapsibleContentContainer_ctl00_tblLegacySystemEquivalent_Table, 'Équivalent');

    }

    How to identify the (dataTableVariable, columnName, rerenderTable)?

    It is not very clear to me, and even comparing the values of our previous version and configuration, I can't find matches for these values.

    try changing the

    ($(document) .ready)

    at the beginning of the javascript code for

    ($(window) .load)

  • Is it possible to add a hard drive to a VM running via a script or a program without using the user interface

    I'll try to ask this question clearly, but I ask that read you it carefully, because I can't do a great job of setting out clearly what I'm looking for.

    I know how to create a virtual disk in a batch file or a script.  I know how to have a running virtual machine to detect a newly added hard drive and format it in Linux, BACK, and NetWare. I do not have scripted this part, but I did it manually by adding records via the UI and then by doing the steps manually to make the operating system to detect and format the newly added drive. In each case, these steps are scriptable with the exception of the addition of the drive in the user interface.

    The only way I know to add a new hard disk to a virtual computer running is through the user interface. I don't know in a way that can contain script (for example vmrun or an API call) to make.

    I guess that maybe I can have the virtual machine to go into sleep mode and then add the HDD in the vmx file while the machine is in standby mode, then put the computer to sleep mode, although I have not tested this.

    My question is, ' can a virtual drive be added to a virtual machine running without using the user interface and without put the machine to sleep, or in other words in a script any?

    Have you tried VI SDK?

  • Structure of the event without user interface

    I tried a quick and effective solution for a structure of event that is not a case of timeout and is part of a vi that has no user interface, but I have sent configuration data to the structure of the event.

    Let me be more clear: I have a camera that generates several events taken by a loop with the structure of the event inside.

    The provider of the camera give me this example of Labview code with all the events I'm interested and how they are implemented. I should mention that when you write a command of camera that a response to an event, but when you connect first to the camera there are more than 100 events generated by the latter, or when you download camera there are also several events. When there is no communication to the camera, the structure of the example event is inactive. The example includes a user interface to change settings and the program responds very well.

    I have to integrate this camera in great demand in which camera photo will be configured in a pragmatic way with number of the type of user interface in the example given by the manufacturer of the device.  First, I tried to design a loop with timeout cases in which a queue can send the data to the device setting configuration. Everything is good until the download when code needs to hold events in a certain way; in my case, an event is taken another goes to the time-out period and so on. After two sets of 100 images download, during the third round Labview gets blocked (Labview not responding) and I have to kill Labview. I got designer of the camera that if camera events are not taken they are kept on a pile and when the battery is full causes the Labview locked.

    Maybe I give too many details, but the question is: how to communicate with a struct event that is not a case of timeout and does not part of a user interface vi (it doesn't have a sign in my application)?

    Oops... Sorry about that.  I've attached an example what I'm talking about here.

    -Austin

  • Download NDK for Linux without user interface?

    I was looking to install the NDK on a linux server.

    However, the only download link that I find is the Momentics and the documentation told me to update the Momentics NDKs.

    The server has all of the user interface, if I have only my SSH interface.

    Where can I find the files I need to compile from the command line?

    seems I need user interface after all.
    I downloaded xming and implemented x 11 forwarding in putty, the SDK is now downloading from the server.

  • How can I batch 300 k than files PDF OCR or optimize them without having to open each file in the Acrobat user interface?

    The Adobe user interface is REALLY slow batch when a very large number of files of treatment.  However, the Adobe OCR tools are extremely good to process the documents I have.  Is there anyway to use technologies Adobe do this batch that does not require the Acrobat user interface for each file?

    Acrobat is an interactive tool, with very low volume automation tools. Your expectations are thousands of times too high. You are looking for a tool designed for industrial use of volume. These tools are often not user interface, maybe just a command line.

  • FF22 parameters adjusted to resize the large icons - but the text user interface - (bookmarks, etc.)-is too small to read... How to enlarge text in user interface only?

    I adjusted the FF22 settings to resize the icons large - but the text of the UI - (bookmarks, history, etc.)-is too small to read... How to enlarge text in user interface without enlarging the text of the page Web - or re - expand FF22 icons?

    Have you tried the extension?

Maybe you are looking for

  • How to hide the toolbar at the bottom of my "new tab" page?

    OS: widows xp profesionalversion: 5.1.2600

  • How to read the registry stored in IEEE 754

    Hello! I need to build an application to read the registers in my gauge. Application is almost complete, but I get to keep a record of the values differ from the values on my gauge (e.g. I have voltage 230V on the gauge and values about 20 k in appli

  • U2713HM, limited to 1920 x 1080 16 x 9 HDMI resolution?

    I don't know what I'm doing wrong - my computer supports 4 k over HDMI, but U2713HM offers only 1080 instead of 1440? My 'old' U2408WFP travels full resolution (1200) and connection HDMI EVEN THE... What I am doing wrong, please? I found http://en.co

  • Why connector.open block code

    I have a piece of code and there are some operations which consist of function Connector.open. I use file operation (prefix is file://). but, sometimes it blocks all of the same code unit. then, only I can do is pull the battery. I put a debug messag

  • picture shifted with DrawImage () or drawbBitmap() gets cut

    Hi, this is probably an easy question, but I can't understand this. (I'm faily new tricks of painting). I'm going to pull 2 images one over the other. Update icon is slightly larger then the icon image (is not really important for what is right). I w