Prompts the user to some responses in a dialog box

Hi all

I want to create a dialog box containing a few questions requiring a response from the user. I tried to use the app.response () method, but it can show a question and an entry field (for the user to answer the question) at a time.

Using this method, if I have 10 questions requiring a response from the user, I have to use this method of app.response () ten times respectively.

I could create a dialog box that can show several questions and inside input fields?

If the user could answered all questions to the dialog window only one.

My second question, the input field in the dialog box that showed using the method app.response () is just a regular text box field. I could create a dialog box to get user input that can use the drop-down list field as entry field, instead of textbox field?

Any help is appreciated

Thank you.

Kind regards

Rocky

The 'app.alert ()' method can recover a 'yes', 'No', 'OK' or 'cancel the answer.

The "app.response ()" method can retrieve a text string.

The "app.popupMenu ()" and "app.popupMenuEx ()" may return a selected item.

The "app.execDialog ()" method can collect any number of data items in the text fields, check boxes, drop-down list, or buttons.

For more information, see tutorials from Thom Parker:

http://www.acrobatusers.com/tutorials/popup-menus-Acrobat

http://www.acrobatusers.com/tutorials/2006/popup_windows_part1

http://www.acrobatusers.com/tutorials/2006/popup_windows_part2

http://www.acrobatusers.com/tutorials/2006/popup_windows_part3

http://www.acrobatusers.com/tutorials/2006/popup_windows_part4

http://www.acrobatusers.com/tutorials/2006/popup_windows_part5

Tags: Acrobat

Similar Questions

  • When I click on my desktop shortcut icons in the new firefox 4 I get a dialog box that indicates that windows does not find that the website

    I have improved the previous version of firefox to the new firefox v.4 and now all the shortcut icons I used with the previous version display a pop-up dialog box that says that windows does not find this website, check the spelling - address - etc. But immediately after this window opens the Web site loads. I tried to load the original site, delete the old shortcut and drag the new shortcut to my desktop, but Firefox always gives me the same message.

    See:

  • Put prompts the user for the report associated with BAM 11 g

    I have a wise distribution of the price when price report area > some user defined value. I've implemented which user promt help to filter option. In my report, there are 4 reports say Report1, Report2, report3 and rapport4 displayed at the same time. Report2 needs this value set by the user for the price to charge. But in my case, before loading the full report, it is asking for this value of price. I want to put the user defined ask prices in the associated report.is is possible? Please suggest.

    You can do this by doing two things:

    1. open report you in edit mode, select the display 'A' (if this is the first view, it will be selected by default), click on the link "Modify report properties" on the left, this will open the settings window and guests. Click on the command prompt, and then click on edit. Click Next, Next and proceed to the third stage where are the values of guests. Click on any value, and then click default (to make this value as a default)-an arrow will start pointing your default value. You can also select "All" and make it your default. Finish it.

    2. click on change display and then to the data screen, go to "Surface invite" tab and choose for your prompt display option in the title of "view".

    Save and open the report. Now, it asks you to enter a value any before loading one of the views. The default 'All' (or the default value you set) will be used to load A view and by the drop-down list of values, you can change to filter the data from this point of view.

    Thank you
    Vishal
    Development of BAM

  • Prompt the user for entry as a vi

    I have a weird problem.

    When I run a program that has two under 'interrogate the user entry' vi in a row, one does exactly what it's supposed to.  The second opens as a Labview VI.  This means you cannot use it as planned and so it is a part of the overall program cannot run.  I think that this problem began to spontainiously as I have not change this part of the program at all.   I even tried to delete the old under vi and replace it with a new and the problem persists. Any ideas on that? Joined the program and looks like a picture of what the error. Sorry the program is great, but the problem occurs in the early stages.

    Thank you

    JO

    Hi John,.

    The problem probably isn't with your user to enter vi, it's probably in the upper loop of your program.  I think that your second entry vi opens, then your upper loop begins to run before the user can enter anything, there is a mistake in the upper loop that stops LabVIEW and let your dialog box open.  You can watch this happen if you open the block diagram and turn on "highlight the execution."

  • Change 'prompt the user for input.

    Hi all.

    Is there any VI 'Interrogate the entered user' where do I include entries of type enum or ring? If this is not the case, how can I change the VI 'Interrogate the user entry' to do this?

    Thank you

    Francisco

    Right-click on the express VI and select 'open the front '. He converts it into a regular VI that you can modify. Or, simply create your own VI from scratch. Look at the examples of delivery for ' pop up

  • Prompt the user for a parallel process

    Hello

    I am developing a software where I constantly read data from equipment. There is a command that requires a password to enter in this software. I tried to use the query the user entry to receive the password for the user. However when the guest user screen opens, my software stops the reading of data from the equipment until the user enters the password. I don't want that. I want to read the data coming from the equipment, while the user inserts the password again.

    Is it possible to run the query the user entered a parallel process during execution of the read data part? Is there another way to request a password from the user?

    Thank you for helping!

    Hi Ariyoshi,

    LabVIEW is based on DATA streams. When there is no dependence on the data between segments of code, and then they run in parallel.

    Put your password dialog box in a parallel loop...

  • prompts the user for input, but use the last entry as departure

    Hello, I am currently having a VI that I invited the user to a text and then input I use this input text thereafter.  However, I would like to have the guest so that I can use the last entry of the bite as a starting point.  Started the code, I do not know how to proceed.  Any help will be greatly appreciated.

    Thank you.

    hiNi

    If you add a record to offset uninitiallized and change the express vi, you can do it.

  • AC VPN: vpn-session-timeout and prompt the user

    Hello

    Is it possible to invite the user to continue the session shortly before it hits the vpn-session-timeout value (ASA).

    Thank you

    Sean

    Sean,

    I believe that no job like this been done on it by the BU.

    We had this never open a:

    https://Tools.Cisco.com/bugsearch/bug/CSCsx17267/?reffering_site=dumpcr

    M.

  • Application that prompts the user to add your opinion in AppWorld on closure

    I am trying to add this feature to my app... But do not know how... And can't seem to find any documentation on this subject...

    You can call the browser to the URL of your app in the App World.  App World opens next to your application page, where the user can leave a comment.

  • INM Impressario - prompt the user to choose where to save

    Hi all

    I created a PDF file from a template on the fly, and I want to invite the user to choose a folder where they can then save the PDF file created from template.

    With JPEG files, I used BUDDY API, but I have not had much luck with BUDDY API INM Impressario, can you suggest a way I can do this and also if there are known issues with Buddy API and Impressario.

    Thank you

    I use ".

    D11.5 (PC, XP)

    Manager v4

    Buddy API 4.07

    You don't need BuddyAPI for this.  Impressario is delivered with a behavior of "save with the dialogue."  You can use it.  Or, if you insist on the fact with BuddyAPI, you can use the command baGetFileName() even I wait that you used with your jpg images and once you have the name of file, send it to save() Impressario or SaveFromTemplate() order.

  • Proceed with the trial after you open a vi dialog box

    I am a beginner with TestStand. I'm going through the entire sequence until all end with some dialog windows left open without waiting for a user to click on OK/QUIT on the dialogue window to go to the next step of the test. I want the test at the end with no required user interaction.

    I tried with dynamically called vi, but it stops the test - waits until the user closes the window and what, he does not pass the settings of the dialog box (maybe I did something wrong with the dynamic appeal.

    Is it possible to open vi of dialogue and to proceed with the trial without user interaction?

    PS Dialogue vi only receives the arguments and displays them on the chart.

    Hey Michal,.

    You On-The-Fly reports is enabled in the options of your report? I created the sample VI to run in a new thread and set a breakpoint later in the sequence. At this point, in the base_dn with my movie file folder, I got a report_Tmp.xml file that contains the part of the report up to date.

  • How can I do to block the main thread when to display a dialog box

    I have a problem to block the user interface main thread when to display a dialog box (the dialog was created by the main Application), and when the dialog box is closed, the main Application can go to the next step.
    Here is my code:

    SerializableAttribute public class TitledPaneExample extends Application {}
    instance of TitledPaneExample private;
    StackPane mainModalDimmer;

    /*
    * (non-Javadoc)
    *
    * @see javafx.application.Application #start (javafx.stage.Stage)
    */
    @Override
    public void start (point primaryStage) bird Exception {}
    instance = this;
    primaryStage.setTitle (this.getClass () m:System.NET.SocketAddress.ToString ());

    final StackPane layerPane = new StackPane();
    layerPane.setDepthTest (DepthTest.DISABLE);
    layerPane.setStyle ("background - fx - color: BLACK ;"); ")

    Vb VBox = new VBox();
    vb.setStyle ("background - fx - color: BLUE ;"); ")
    vb.getChildren () .add new (Label ("1"));
    vb.getChildren () .add (Label ("2")) new;
    vb.getChildren () .add new (Label ("3"));
    vb.getChildren () .add (Label ("4")) new;

    Bt1 button = new Button ("bt1");
    BT1.setOnAction (new EventHandler < ActionEvent > () {}
    {} public void handle (ActionEvent event)
    System.out.println ("bt1 trying to the new dialog box > > >");
    Dialogue di = new dialog box (instance, "some trick here!");
    System.out.println ("bt1 dialogue again successfully, try to show");
    di. Show();
    System.out.println ("bt1 dialog hide? < < < < ");"
    }
    });
    vb.getChildren () .add (bt1).

    layerPane.getChildren () .add (vb);

    mainModalDimmer = new StackPane();
    mainModalDimmer.setId ("MainModalDimmer");
    mainModalDimmer.setMaxSize (Double.MAX_VALUE, Double.MAX_VALUE);
    mainModalDimmer.setVisible (false);
    mainModalDimmer.setStyle ("background - fx - color: RED ;"); ")
    layerPane.getChildren () .add (mainModalDimmer);

    Scene sc = new scene (layerPane, 800, 600);
    primaryStage.setResizable (true);
    primaryStage.setScene (sc);
    primaryStage.show ();

    }

    /**
    * Display the node given as a floating dialog on the entire application, with
    * the rest of the application grayed out and blocked from mouse events.
    *
    @param message
    */
    {} public void showModalMessage (message from node)
    mainModalDimmer.getChildren () .add (message);
    mainModalDimmer.setOpacity (0);
    mainModalDimmer.setVisible (true);
    mainModalDimmer.setCache (true);
    TimelineBuilder
    . Create()
    () .keyFrames
    new KeyFrame (Duration.seconds (1),)
    new EventHandler < ActionEvent > () {}
    {} public void handle (ActionEvent t)
    mainModalDimmer.setCache (false);
    }
    }, new KeyValue (mainModalDimmer
    . opacityProperty(), 1.
    Interpolator.EASE_BOTH))) infrastructure)
    . Play();
    }

    /**
    Hide the any modal message that appears
    */
    public void hideModalMessage() {}
    mainModalDimmer.setCache (true);
    TimelineBuilder
    . Create()
    () .keyFrames
    new KeyFrame (Duration.seconds (1),)
    new EventHandler < ActionEvent > () {}
    {} public void handle (ActionEvent t)
    mainModalDimmer.setCache (false);
    mainModalDimmer.setVisible (false);
    mainModalDimmer.getChildren () .clear ();
    }
    }, new KeyValue (mainModalDimmer
    . opacityProperty(), 0,.
    Interpolator.EASE_BOTH))) infrastructure)
    . Play();
    }

    /**
    @param args
    */
    Public Shared Sub main (String [] args) {}
    Launch();
    }

    Dialogue/public class extends TitledPane {}
    private owner of TitledPaneExample = null;
    instance of TitledPane private;

    Dialogue (owner of TitledPaneExample, String message) {}
    This.Owner = owner;
    this.parentThreand = Thread.currentThread ();
    This.instance = this;
    this.setExpanded (true);
    this.setText ("Dialog");
    this.setMaxWidth (400);
    this.setPrefWidth (300);
    this.setMinWidth (200);

    Label the tx = new Label ("message");
    tx.setTooltip (new Tooltip (message));
    tx.setWrapText (true);
    tx.setContentDisplay (ContentDisplay.LEFT);

    Bt button = new Button ("OK");
    bt.setOnAction (new EventHandler < ActionEvent > () {}
    {} public void handle (ActionEvent event)
    masquer();
    }
    });

    Sp ScrollPane = new ScrollPane();
    sp.setHbarPolicy (ScrollBarPolicy.AS_NEEDED);
    sp.setVbarPolicy (ScrollBarPolicy.AS_NEEDED);
    sp.setContent (tx);

    Hb HBox = new HBox (30);
    hb.setPrefHeight (40);
    hb.setAlignment (Pos.CENTER_RIGHT);
    hb.getChildren () .add (bt);

    BP BorderPane = new BorderPane();
    bp.setCenter (sp);
    bp.setBottom (hb);

    this.setContent (bp);
    }

    {} public void show()
    System.out.println ("dialogue show() 1 > > >");

    owner.showModalMessage (instance);

    System.out.println ("dialogue show() 2 > > >");

    }

    public void masquer() {}
    System.out.println ("dialogue masquer() 1 > > >");
    this.owner.hideModalMessage ();

    System.out.println ("dialogue masquer() 2 > > >");
    }
    }

    }

    I'm also interested in how to do this without the use of a step.

    But, if you are ready to use a step for this, you can create a useful first step (without borders) with its owner being your current stage. Then, you can call the function showAndWait on stage that allows to block the thread of your application. For example, I implemented a DialogStage like this:

    package hs.mediasystem.util;
    
    import javafx.animation.KeyFrame;
    import javafx.animation.KeyValue;
    import javafx.animation.Timeline;
    import javafx.event.EventHandler;
    import javafx.scene.effect.ColorAdjust;
    import javafx.stage.Modality;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    import javafx.stage.WindowEvent;
    import javafx.util.Duration;
    
    public class DialogStage extends Stage implements Dialog {
    
      public DialogStage() {
        super(StageStyle.TRANSPARENT);
    
        this.setTitle("MediaSystem-dialog");
    
        initModality(Modality.APPLICATION_MODAL);
      }
    
      protected void setParentEffect(Stage parent) {
        ColorAdjust colorAdjust = new ColorAdjust();
    
        Timeline fadeOut = new Timeline(
          new KeyFrame(Duration.ZERO,
            new KeyValue(colorAdjust.brightnessProperty(), 0)
          ),
          new KeyFrame(Duration.seconds(1),
            new KeyValue(colorAdjust.brightnessProperty(), -0.5)
          )
        );
    
        parent.getScene().getRoot().setEffect(colorAdjust);
    
        fadeOut.play();
      }
    
      protected void removeParentEffect(Stage parent) {
        parent.getScene().getRoot().setEffect(null);
      }
    
      protected void recenter() {
        Window parent = getOwner();
    
        sizeToScene();
    
        setX(parent.getX() + parent.getWidth() / 2 - DialogStage.this.getWidth() / 2);
        setY(parent.getY() + parent.getHeight() / 2 - DialogStage.this.getHeight() / 2);
      }
    
      @Override
      public final void showDialog(final Stage parent, boolean synchronous) {
        initOwner(parent);
    
        setParentEffect(parent);
    
        setOnShown(new EventHandler() {
          @Override
          public void handle(WindowEvent event) {
            recenter();
            onShow();
          }
        });
    
        if(synchronous) {
          showAndWait();
        }
        else {
          show();
        }
      }
    
      protected void onShow() {
      }
    
      @Override
      public void close() {
        removeParentEffect((Stage)getOwner());
        super.close();
      }
    }
    
  • LabVIEW interrupts the execution of a loop when a dialog box is called in another loop

    Hi all

    I have a program of multiple loop (single loop made data acquisition, analysis and the other to handle errors). If the acquisition loop or loop of analysis was a mistake, I passing that the error in the loop of error through a comprehensive functional Manager (basically, it loads a buffer FIFO loop error handler appears errors off of a at the same time).

    Global functional handles, error writing to a log file when a new error is pushed into the buffer. What I need the loop of error handler to do is to display a dialog box to the user so that they know something happened. I had been using the screw box to do this, but I noticed that they seem to break other loops as well. I would like to find a way around that I got to the point where the program can recover most of these errors coming from hardware communication problems automatically.

    Essentially I want to do is have a pop-up box that warns the user that something has happened but not interrupt data acquisition or analysis loops so that I always get data from the rest of my devices even if one of them has a problem that my program can not resolve on its own.

    Create your own dialog box. LabVIEW subVIs can be made to present their façade and set to look and behave like a dialog box.

  • Download the file stuck in an infinite loop dialog box

    I tried to download a file (from a reliable source) to install a program. I spoke with the editor, and no one else has had this problem with this link. That's what I did:
    Clicked on the link in the email that was sent
    This brought to the top of the downloads dialog box view.
    He asked if I want to run or save CWSetup.exe.
    I clicked on run
    Which brought up another view downloads dialog.
    He asked me if I want to run or save IEExplore.exe. If I click on one or the other, it brings just downloads to see another who says the same thing.
    Even if I just let it sit there, she just keeps raise dialog boxes of download of view with other program names and I don't know what they are.
    If I try to open a program like Outlook, I get a download dialog box view outlook.exe has (run or save). This happened with most everything that I try to run so I can't do anything at all. Even things in the control panel. He just keeps go into an infinite loop of view download dialog boxes. Most of the icons on my desktop program are now just the Internet Explorer icons and not the pictures they were.
    My computer had no problem until the moment where I clicked on run in the download file dialog box. It's now like any .exe I try to execute triggers the download for ip dialog box.
    So I can't do anything because I can't run Outlook or Explorer or most any other program. some run. I use my iPad to email because my computer is now completely useless.
    Do you have any suggestions?

    Hi Shannon,

    Thanks for the reply.

    Given that the problem persists, you must follow the manual steps described in the article to change the registry settings.

    When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program

    Important: The article mentioned above also contains to change the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    For more information, see the article:

    Back up the registry

    If please reply and let us know if you need help to solve the problem and we will be happy to help you.

  • Problem when the transformation command is called in a dialog box

    Hi friends

    I m a problem with the script UI. I tried different things to fix but I m not able to get success.

    The script code is correct. The problem is: when I run the script and click on the button "run"... Photoshop would need execute the function to "Transform", it is called and would allow me to freely transform the selected layer.

    BUT... it I cannot drag the axis of the inclusive to transform. It's because Photoshop is understand that my UI dialog is still active, even to call dlg.close (---(et je ne peux pas transformer depuis une boîte de dialogue est active)).

    See:

    function transform() {}

    var / / desc = new ActionDescriptor();

    Var ref = new ActionReference();

    ref.putEnumerated (charIDToTypeID ('Lyr'), charIDToTypeID ('Ordn'), charIDToTypeID ('Trgt'));

    desc.putReference (charIDToTypeID ('null'), ref);

    desc.putEnumerated (charIDToTypeID ('FTcs'), charIDToTypeID ('QCSt'), charIDToTypeID ('Qcsa'));

    var desc2 = new ActionDescriptor();

    desc2.putUnitDouble (charIDToTypeID ('Hrzn'), charIDToTypeID('#Rlt'), 0.000000);

    desc2.putUnitDouble (charIDToTypeID ('Vrtc'), charIDToTypeID('#Rlt'), 0.000000);

    desc.putObject (charIDToTypeID ('Ofst'), charIDToTypeID ('Ofst'), desc2);

    desc.putUnitDouble (charIDToTypeID ('Hght'), charIDToTypeID('#Prc'), 100.001);

    try {executeAction (charIDToTypeID ('Trnf'), desc, DialogModes.ALL) ;} catch (e) {};}

    }

    var DLG = new window ('dialogue', "imagens v10 Processamento", [0,0,0,0])

    DLG. Size = [120 120]

    DLG. Center)

    run var = dlg.add ('button', [0,0,0,0], "Executar")

    Run.Size = [80,30]

    Run.Location = (30, 40)

    run.onClick = function () {}

    DLG. Close()

    var doc = app.activeDocument

    var layer = doc.activeLayer

    layer.isBackgroundLayer = false

    Transform()

    }


    DLG. Show()

    What Miss me?

    Photoshop does not type ("range") window, so I don't know how to handle

    Thank you for the help

    Best regards

    Gustavo.

    You can't have multiple modal dialog boxes running at once. ScriptUI dialog box is modal and therefore your transformation function. What you can do for this example is move the transformation according to the dlg.show (); line.

    Photoshop has a "palette" window, but because it is modeless is really only useful to the progressbars or other messages "Please wait". For the example you posted if it were a script palette would not stop at dlg.show () and wait for the user to do something. He would try to run the following line and, not finding any, stops. At best you would only see the flash window before the script completed.

Maybe you are looking for