UI (alert but not hidden UI)

Hi all

My request:

Paginator must select the 'VERSION' by using the User Interface.

Suppose the pager, not select drop down menus.

While this alert appears as "PLEASE SELECT THE VERSION". But the UI not masked.

But for my code to hide the user interface.

var w = new Window ("dialog");  
var versions = ["--", "V1", "V2", "V3", "V4", "V5"];
var myGroup2 = w.add('panel', undefined, "");  
myGroup2.alignChildren = "left";
var main = myGroup2.add ("group");
main.add ("statictext", undefined, "Indesign Versions : ");
var group = main.add ("group {alignChildren: 'left', orientation: 'stack'}");
var list1 = group.add ("dropdownlist", [0,0,350,20], versions);
list1.minimumSize.width = 250;
list1.selection = 0;
w.show()

if(list1.selection == 0)
{
    alert("PLEASE THE VERSION");
    exit(0)   //Need UI NOT TO HIDDEN
}

Screen Shot 2015-10-09 at 07.24.18.png

Screen Shot 2015-10-09 at 07.24.11.png

I thank in advance

SIRAJ

Ok. Maybe like this:

var w = new Window ("dialog");
var myGroup2 = w.add('panel {orientation: "row"}');
myGroup2.add ("statictext", undefined, "Indesign Versions : ");
var list1 = myGroup2.add ("dropdownlist", undefined, ["--", "V1", "V2", "V3", "V4", "V5"]);
list1.minimumSize.width = 250;
list1.selection = 0; 

var okButton = w.add('button {text: "OK"}')

b.onClick = function () {
  if(list1.selection == 0) {
    alert("PLEASE SELECT A VERSION");
  } else {
    w.close();
  }
}

w.show();

You want to check the State of the dialog box when the user clicks OK, so you must intercept standard feature of the OK (closure of the dialog box).

Tags: InDesign

Similar Questions

  • Synchronization of calendar with Domino traveler gets alerts but not entries

    I have a very annoying problem - I have configured my pre to sync with Notes via the traveler interface (Exchange).  I get alerts on upcoming events in time and these alerts have all the information, but nothing appears in the calendar itself.  When I reset the phone and re-installation of synchronization, the events show on the calendar for a few moments, then disappear.

    Yes, I chose "All" at the top right (and I've tried to 'Exchange' and back some time switching and yes ' display mode "All calendars" is on this account) and yes I have upgraded to 1.2.1.  Still having the issue.

    Any thoughts on what to try?  Miss me the meetings because of this and I'm pulling my hair out.

    Well, 1.3.1 seems to have solved this problem - I now of the calendar entries.

  • want to watch alerts but not phone :)

    Requirements:

    iPhone - for text/imessage, I want only the badge icon to work, I don't want to show him in the (easy) notifications and I don't want to show him unlock on screen (too easy).

    Look - I want that it is operating normally and show me messages with an alert.

    Never mind, got it!

    Just disable the notifications and unlock the screen display on phone, then make a notification customized Watch instead of mirror.

  • deadlock occurred but not recorded in the log of alerts

    We are using Oracle 11.2.0.3. We have a job every night that injects dynamic package through sql. We get some time after error. I've yet to be able to reproduce the error.

    "

    DECLARE

    *

    ERROR on line 1:

    ORA-00060: Deadlock detected while you wait resource

    "ORA-06512: at line 24"

    I checked log alerts to find more information on the impasse but did not find anything.

    alert_db1.log | more grep ORA-00060 returns nothings. Please suggest what I can try.

    The pieces that you have demonstrated (if they ' are actually the things that underlie your problem and not a miserable coincidence - you done overlaps with timestamps) suggest that you see a problem that should be reported as ORA-04020.  (viz: you are blocking on the library cache, not data).  This unexpected error number is perhaps a side effect of the problem called SQL dynamic within PL/SQL code.  I think you should spend your using Oracle trace file in a SR, who may be able to diagnose all the content as quickly as we could.

    You shouldn't be falling and creating packages as part of the production, of course, the ideal strategy is to know why you're doing and working on a better way to achieve the same result.  In the short term, however, you can be able to identify what actions may be the cause of this problem.  This is a hypothesis that I would seek to based on the information received to date.

    (a) are there several different packages that could be dropped / re-created as part of the batch

    (b) is it possible for simultaneous sessions do this kind of work

    (c) is it possible that a single session could running A package that includes a line to remove the package B, while another session is running package B which includes a line to it left the package A

    By the way, you can repeat the search for alert logs and trace files but look for ORA-04020 because this could be something that makes its appearance in the traces, but gets hidden by PL/SQL.

    Concerning

    Jonathan Lewis

  • My phone not hidden but called it's.

    Please help me! My issue, as far as I know, IS NOT HIDDEN! But when I call a number that I called SEVERAL TIMES BEFORE, the phone says it does not accept calls from hidden numbers! IT IS A REAL CURSE PROBLEM! WHERE DEVIL IS THE PERSON TO SKYPE, WHICH CAN HELP ME WITH THIS? THIS PROCEDURE SUCKS!

    You have Caller ID enabled on your account?

    If this is not the case, turn it on.

    https://secure.Skype.com/account?page=callerId

  • Backflip: A lot of "alerts", but the phone does not appear what it is me for alert

    I hope I'm doing this right. kind of a beginner on this site, and they seem to have specific rules for the first assignments. In any case, maybe I shouldn't have gotten the Backflip. After a few days, updates to the facebook got tedious. I'm not really a kind of facebook/twitter/myspace person. In any case, to save battery power and get it out of my sight, I moved to facebook and a cup of other widgets on the home page. Also, I went to facebook and off alerts or w/e this is out there. I always get these audio alerts, but when I turn on my phone to check out them, nothing is there! I check facebook (even online and nothing happened), no one has texted me or tried to call me and I check the Universal Inbox, too, and nothing new is there. This has happened in the last days and is getting boring. Maybe, I need to get back to the form of the plant and try again, even if I'm not even sure how to do this. I wouldn't wipe out all my contacts, too. Any ideas /.

    Most of the alerts will also appear in the notification area (the bar at the top of the screen). Put your finger just above the bar and slide down. This will open the notification area. Is there any alerts? If you can type on it and you will be redirected to the app associated with this alert.

    Move a widget on the main home page won't stop him, he just puts it out of sight.

    If your motoblur account is configured properly, you won't lose your contacts by resetting the phone. If reset you it, you will be asked to enter your MotoBlur account information when it restarts and the phone syncs with a copy saved to your contacts on the MotoBlur server. All the contacts stored in your gmail account will be also synchronized to the phone - if you have the possibility to do so allowed.

    I do not use Facebook or any of the other social networks so that someone else can provide more information about your problem with them.

  • Email alerts does not work but test Yes - MD3200

    Hello!

    We have recently acquired a SAS MD3200 and we are very happy about it.

    But yesterday we had a drive failure and no alert message,

    Description of what we have:

    -Storage Manager upward and running on a Win 2008;

    -Email and all selected filters (warning, information, etc...);

    -e-mail tested ok.

    -the SMmonitor to the top and the conduct;

    -the server, where the SMmonitor and the Storage Manager are running, is on the same network of the MD3200;

    -I can ping both NICs of storage;

    I also disabled the windows firewall (I don't know if that is the question), put the new drive in the hope of receiving an email, but not... :-(

    Help?

    TIA

    Paulo

    Thank you Kenny.

    Everything is well configured.

    The problem is some kind of incompatibility between the SMMonitor and the mail server (qmail). When the coordinates with alerts "include" is disabled, all goes well.

    It must be a '\n' somewhere.

    See you soon!

  • Program runs in the hidden administrator account, but not the administrator account

    I have been using Altium Designer for about 5 months. One day, I tried Eun and got the error "dxp.exe has stopped working.  So, after trying a re-boot.  I have reinstalled the software.  At the end of installation, I get the message "the system administrator has set policies that prevent this facility." The installation then said that the installation has been completed successfully. I tried: unlock all files in the installation directory, run the installation as an administrator, the installation running on the hidden administrator account. Turn off UAC.

    The installation leaves me with a program which runs in hidden administrator but not nromal administrator.  Even if the install ation was made as normal anministrator.

    I am running Windows 7 Home premium, so the control of local security is not available.

    Thank you for your help ITKnowledge24.  Your post helped me to find parts of the program that I would never know that existed.

    It turns out that my problem was in two parts.  First what killed the software is primarily a print unrelated dirver.  (go figure)  Installation errors were caused because I downloaded the version recient most of the manufacturer's Web site.  When I reinstalled using the old version, the installation was without error.  The software starts to run correctly when the printer driver has been removed.  It seems that windows security was only a Kipper.

  • JavaScript works with an alert, but does not work without it. Why?

    This happened to me before, but I was able to solve my problem. Now I'm not.

    Let me explain: I have a javascript function which I call when I double click on a line on a table:

    [code]

    function CallServ (evt) {}
    source var = evt.getSource ();

    AdfCustomEvent.queue (source, "call",
    {
    },

    (false);

    auxDblClick.call (this, source);
    }

    function auxDblClick (CBC) {}
    split var = src.toString () .split ('=');
    var idButton = split [1];
    var split2 = idButton.split(':');
    okButton = split2 var [0].concat(':');
    for (var i = 1; i & lt; (split2.length - 1); i ++) {}
    okButton = okButton.concat (split2 [i], ' :');)
    }
    okButton = okButton.concat ('dc_cb1');
    var comp = AdfPage.PAGE.findComponent (okButton);
    Alert (COMP);
    AdfActionEvent.queue (comp, comp.getPartialSubmit ());

    }

    [/ code]

    As you can see, my alert line is commented. If it is not commented, the "auxDblClick" feature works very well: it will print the model on the alert, and then it will perform the action of the dc_cb1 button. However, when I commented the alert function, it stops working.

    I have PartialTrigger set to "true" on my dc_cb1 button and the clientComponent is set to 'true '. I've also set to true ClientComponent on the table, but it does not work.

    So, why the function working with alert, but does not work with the alert off the coast? What Miss me?


    P.S: jdev version 11.1.2.4.0

    I found the solution:

    Before the "AdfActionEvent.queue (comp, comp.getPartialSubmit ());" line, I used the update function. Like this:

          var t = document.getElementById (okButton);
       
          t.Focus ();

    Now everything works fine

  • I try to install my i phone and I need to update my itunes it recoginzes my Iphone but not my ipod

    I spoke to apple - they had me to install ITUNES lastes version - it now my IPHONE but not my IPOD - recongnizes we tried to uninstall and reinstall and a message came the SOFT WARE YOU ARE INSTALLING has NOT PASSED WINDOWS LOGO TESTING TO VERIFY ITS COMPATIBILITY WITH WINDOWS XP.

    CONTACT THE PROVIDER OF SOFTWAR SOFTWARE THAT HAS PASSED WINDOWS LOGO TESTING.

    It's really a problem iTunes/Apple.  In addition, you describe exactly what Apple had do you.

    However, the procedure below the line of * usually does the trick.

    Note 1: Uninstall iTunes and other Apple software should not remove your current music files.  Nevertheless, it is only prudent to make a backup first.

    Note 2: in general, if you have downloaded the software from a reputable site (for example, Apple), you can ignore the message that enforcement has not passed the Windows logo test.  On the other hand, I'm a little surprised that this message came as part of an installation of iTunes.  Particular piece of software has triggered this alert?

    Follow the directions below the line of *.  You can print them for reference.

    *******************************************************************************************

    To perform a "clean" iTunes installation uses this technique proposed, from Support of Apple HT1926 article.

    Warning: uninstall utility for cleaning Windows mentioned in the instructions below has been removed from Microsoft download servers because sometimes it seems more removed he was supposed to (I think that this phenomenon was linked to the bureau uninstalls).  You can still get utility Windows Installer Cleanup--> http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html here is a free alternative Revo Uninstaller. Before using these cleaning products, you must create a restore point from the system first (or back up the registry with C:\WINDOWS\ERUNT).  See http://windowsxp.mvps.org/registry.htm a complete disk image would be safer if you have this ability.

    Go to control panel > Add/Remove programs
    Remove these applications:
    1 Apple Software Update
    2. Apple Mobile Device Support
    3 Hello
    4 iPod for Windows (this may or may not exist, be it, it is not necessary, then we can remove it)
    5 iTunes
    6 QuickTime

    Open my computer > C: > Program Files
    Delete these files (if present)
    1 iPod
    2 iTunes
    3 QuickTime

    Empty your temp directory:
    Open my computer > C: > Documents & Settings > username > Local Settings and delete the contents of the folder called "Temp".

    If you don't see the local settings, enable hidden files:
    Tools > Folder Options > view tab
    Select Show Hidden Files & folder, and then click OK

    Once this file is empty, restart the computer

    Download & install the Windows Installer Cleanup utility:
    http://support.Microsoft.com/kb/290301/ [this link is dead; see above]
    Launch the utility: start > programs > Windows Installer Clean Up
    Select one of the applications mentioned above and click on remove

    Restart the computer
    Download & reinstall iTunes from here: http://www.apple.com/itunes/download/

  • I can't scroll through sites that I connect. something happened in mozilla firefox. It allows to work when I am connected to a Web page, but not now. all I can do is

    I can't scroll through sites that I connect. something happened in Firefox Mozilla. He used to work when I am connected to a Web page, but not now. all I can do is to manipulate the page through links on the page. No sidebar to scroll or the other. It works fine in Explorer, so I know it's a problem with Firefox, also can scroll etc on pages like MSN, Yahoo, etc., but does not not using Firefox, when I connect to one Web site other than the one which is also a search engine, what happened? can you help me?

    You get a pop-up window or dialog style without menu or the toolbar either? In this case:

    38 of Firefox has a little problem with this combination of circumstances:

    (1) turned off tabbed browsing
    (2) viewing a page in a private window
    (3) you click on a link encoded with target = "_blank", which launches the link in a new window

    The new window opens without menus, toolbar, scroll bars, etc.

    Work on this bug is in progress, but I don't know if the fix will be available in the coming weeks. These are the known workarounds so you can continue using windows browsing private - one of them will work around the bug:

    (1) use tabbed browsing (there is a checkbox in Options > general > "Open new windows in a new tab instead");

    (2) shift + click the links to open in a new window with standard features. or

    (3) change a bunch of hidden settings as explained below - it will not you make changes to the way you use Firefox, but sometimes you need to enlarge some small pop-up windows that have been sized for a window with no toolbar displayed.

    # 3, here are the steps:

    (A) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (B) in the search above the list box, type or paste feat and make a pause so that the list is filtered

    (C) for each preference that begins with dom.disable_window_open_feature. , if it is not 'true', double-click it to true.

    You may find that you prefer this anyway, given that sites can band is more these pop-up windows features.

    Who is relevant or do you have a different question?

  • can make face time calls but not receive all

    I have an iMac and have tried FACE TIME, can I make the video connections, but no one can reach me.  I have his see anything in the preference that prevents me is their somewhere else that I should look at?

    I'm going to assume that you have checked each of these facts:

    FaceTime can make outgoing calls.

    b. you don't get calls to an email address or iPhone number corresponding to the Apple code that you are currently using. Calls to any other ID Apple that you may have used will not be received.

    c. the appellants are not on your list of blocking.

    (d) at least one of the callers can call other users of FaceTime - but not you.

    If you have verified these facts, please take each of the following steps you have already taken it. Stop when the problem is resolved. Back up all data before making any changes.

    1. open the Notifications pane in system preferences. Select FaceTime from the list on the left. The banners or alerts alert style must be chosen - not None.

    2. in the same window, select do not disturb. If none of the three top boxes on the right is checked, then all FaceTime calls will be blocked in the corresponding conditions. If you want to use 'do not disturb', but you also want to receive calls when it is active, check or for both the two boxes below, according to your preference.

    3. If the built-in firewall application is enabled, please disable it. In case you are worried about the implications of this step, the firewall generally useless when you're on a private behind a router network.

    4. If you have installed any third-party 'firewall', 'security', or 'anti-virus' software, remove it according to the instructions of the developer. All these software are worse than useless.

    5. If you are connected to a VPN, you disconnect. You may need to remove some third party software VPN completely to solve the problem.

  • my iphone sounds not always or text alerts do not work

    What would be my Iphone not ring for all calls? Also my text alerts are not his, but very rarely.  This could be the cause? I turned off my phone several times to reset and it does not work.

    If you see a Crescent Moon above you view: check - settings - do not disturb = Off?

  • The App Store icon (which came with my iPad) is completely absent from my iPad (but not my iPhone). How can I get that back?  I've already turned the camera market.

    The App Store icon (which came with my iPad) is completely absent from my iPad (but not my iPhone). How can I get that back?  I've already turned the camera market.

    Check yourself, if you have hidden it by setting parameters > General > Restrictions > Apps install 'off' - If you have, then again ' "should get the app to reappear

  • Running XP: express email outlook stuck in Outbox. can receive e-m, but not send

    emails stuck in Outbox;  can receive e-m but not send.   Open the Outbox, then opening 'stuck' in the email, then hit 'send' doesn't work anymore, even if she succeeded in the first episodes of "stuck in the Outbox.

    Need to send answers to emails!

    THANKS FOR ANY HELP!

    Noel b., Ohio

    Check: File | Work offline and in: reviews | Layout: uncheck the preview pane. Can you delete or remove them now?
     
    Otherwise:
     
    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, the files of user OE (DBX and WAB) are by default marked as hidden. To view these files in the Solution Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder options | View.
     
    With OE closed, find the DBX the Outbox.dbx file and delete it. A new vacuum will be created automatically when you open OE.
     
     

Maybe you are looking for

  • Office 2016 on El Capitan: error report Microsoft that closes unexpectedly

    For my Office 2016 applications on the latest version of Mac OS X (10.11.4) through my subscription to Office 365, I encounter the error, 'Microsoft Error Reporting close unexpectedly,' launching applications in normal mode.  I can, however, open Off

  • Qosmio G15 - slot how much RAM I have?

    I have a lot of research and do not know how many slot RAM I have? 2 slots for the 4GBx2 or 4 slots for 2GBx4. I'm planing to upgrade my G15 for max 8GB but I first need to know how many slots RAM G15! Thanks for the help!

  • Satellite A300/Y00 - connect to the Plasma TV?

    Is it possible that my satellite A300/Y00 to connect to my plasma 50 inches, if so, what cable should I buy? THX

  • Issue with IPhone 6 location Services - showed me 60 miles from where I was!

    On 26 September this year, I left my home to go to work security at an event. Left after 08:00 and pulled into the parking lot of the expo center where he stood right at 830. Spent the whole day there to walk, talking to sellers, etc.. My wife is usi

  • Apple Hardware Test - Error Code

    Dear all, I ran the Apple Hardware Test on my Macbook Pro 15 "mid model 2012 and has detected an error (4BAT / 6 / 40000005: 0x8b815390) I tried to find the error code, but do not succeed."  Is there someone who can help me regarding this issue? Than