Multiples actions per button

I've been looking for a workaround to my problem and I haven't found any post in this forum regarding the same issue.
I want to make a button which controls the states of a multi state object, such buttons must "turn off" and "turn on" three diferents MSO, so I need one single button which sets two MSO state to OFF and has actions set to next state in the third MSO so it can switchs the states On/Off.

This is my set up. There is 3 MSO, ON and OFF
There are 3 buttons with 3 actions each, the first action is set to next state so it can switch between ON and OFF states. The other 2 actions set the other two MSO state to OFF so in case any of them were set in ON it can be turned OFF by turning ON any of the others.
Seems legit, right? But it doesn't work. Please, clue me what to do.

Similar Messages

  • How to apply multiple actions on a single file in one go to generate multiple watermarked pdfs?

    usually i need to create many watermarked datasheets for different customers using a single base pdf. currently i run individual actions for individual customers on the same file which means i have to runs 10s of individual actions every time i have  new source file. can i make a single action or a script which will take a single source file, run multiple actions(~15-20) for watermarks and save these files separately? basically what i need is instead of running many individual actions i run a single action/script to make it automatic. if yes, how to do so?

    Hi Monte,
    You can achieve this by assigning a secondary extension to another button, but this might not be what you want, so if you can elaborate a little further as to what you want exactly I can help you with putting together a solution
    Cheers,
    David Trad.
    **When you rate a persons post, you are indicating a thank you or that it helped, but at the same time you are also helping to maintain the community spirit - You don't have to rate posts and you wont be looked down upon :) **

  • Please help me with some action event buttons

    {color:#ff6600}i am trying to figure out how to capture two values from an action event button. i have already tried it 6 times and i cant figure it out.
    Its a simple calculator with numbers 1 and 2 and does a multiplication calculation.
    Can you help me figure it out it will be really helpful.
    {color}
    import javax.swing.*;
    import java.util.*;
    import java.awt.event.*;
    public class Calculator implements ActionListener {
    JFrame frame;
    JPanel contentpane;
    JButton one,two;
    JTextField field;
    JButton mult;
    JButton adds;
    JButton equals;
    JButton go;
    public Calculator() {
    frame = new JFrame ("Calculator" );
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    contentpane = new JPanel();
    contentpane.setBorder(BorderFactory.createEmptyBorder(20,20,40,40));
    one = new JButton( Integer.toString(1));
    one.setActionCommand(Integer.toString(1));
    one.addActionListener(this);
    contentpane.add(one);
    two = new JButton(Integer.toString(2));
    two.setActionCommand(Integer.toString(2));
    two.addActionListener(this);
    contentpane.add(two);
    field = new JTextField(10 );
    contentpane.add(field);
    go = new JButton("calculate");
    go.setActionCommand("go");
    go.addActionListener(this);
    contentpane.add(go);
    mult = new JButton( "*");
    mult.setActionCommand("mult");
    mult.addActionListener(this);
    contentpane.add(mult);
    adds = new JButton( "+");
    adds.setActionCommand("add");
    contentpane.add(adds);
    frame.setContentPane(contentpane);
    frame.pack();
    frame.setVisible(true);
    public void actionPerformed (ActionEvent event ) {
    String eventn = event.getActionCommand();
    String text = field.getText();
    String mult ="*";
    {color:#800080}if (eventn.equals("1")||eventn.equals("2") ){  \\ *{color:#ff6600}i dont know how to store two different value from an action event{color}*
    text+=eventn ;
    int num = Integer.parseInt(text);
    field.setText(text);
    {color}
    {color:#800080}if (eventn.equalsIgnoreCase("mult")){
    field.setText("");
    {color}
    {color:#800080}};
    {color}
    public static void runGui(){
    JFrame.setDefaultLookAndFeelDecorated(true);
    Calculator r = new Calculator();
    public static void main (String[]args){
    javax.swing.SwingUtilities.invokeLater(new Runnable(){
    public void run(){
    runGui();

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ListenerDemo {
        private class DigitListener implements ActionListener {
           private int digit;
           public DigitListener(int digit) {
               this.digit = digit;
           public void actionPerformed(ActionEvent evt) {
                JOptionPane.showMessageDialog(f, "You pressed " + digit);
        private JFrame f = new JFrame();
        private JButton button1 = new JButton("1");
        private JButton button2 = new JButton("2");
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    new ListenerDemo().go();
        void go() {
            button1.addActionListener(new DigitListener(1));
            button2.addActionListener(new DigitListener(2));
            JPanel cp = new JPanel();
            cp.add(button1);
            cp.add(button2);
            f.setContentPane(cp);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • Nokia 2323 Contacts: Multiple entries per contact ...

    Hello Everyone,
    Greetings
    I am planning to buy Nokia 2323 Classic phone. gsmarena informs that it can save 1000 contacts. What I need to know is that does this phone accept multiple entries per contact. For example: Work Phone, Home Phone, Fax, Mobile Phone etc. If yes, then how many entries can each contact take? Also, if we add multiple entries then would it reduce the number of contacts we can save?
    I have googled but it doesn't help. Also tried looking at the online user guide of Nokia 2323. It talks about going into Details menu and then entering Add detail but doesn't mention what kind of "details" it takes. I would be really glad if some one who has seen/used the phone could help.
    Thank you.
    Regards
    Message Edited by ajobe on 26-Aug-2009 08:25 PM
    Solved!
    Go to Solution.

    Now that I'm not so sure about. The phone will either have a certain amount of memory put aside for contacts and usually you can't tell how much but you can check how much of it you have used as a percentage or it will let the contacts share the same memory as your messages and everything else and when you check your memory it will just tell you how much the contacts are using. I haven't used that phone but I think the 1st case applies to it
    Show your appreciation. Hit that kudos button real hard

  • Names of objects for multiple actions in different slides

    I am trying to develope an interactive software guide which
    requires something like a panel to insert it in each slide. This
    panel contains precise instructions on how tu use the interface
    visible in the current slide.
    The problem is that sometimes the panel hides part of the
    interface. I would like to have a button somewhere in each slide so
    that the student can simply hide the panel when is obscuring
    something important. I don´t have any problem for preparing
    one panel for one slide using multiple actions for hiding or
    showing the panel, captions, buttons, etc. But the problem is that
    in each slide the similar objects have different names assigned
    automatically by Captivate. I found no way to assign same names in
    different slides so that afterwards, assigning multiple actions
    would be only a matter of copy and paste from slide to slide. I
    tried to think something with variables but I gave up.
    I am using Captivate 4 Trial. Somebody has a nice good idea?
    :)

    Hi,
    Inorder to give same name to the objects in different slides,
    there is a workaround. Immediately after opening a project, give
    the same name to the objects in different slides.
    Hope this solves your problem.
    thanks
    ravi

  • IPHOTO - printing multiple photos per page

    Hi,
    Hope someone can help with this.
    I am trying to print multiple photos of the same photo on a "contact sheet" ...I have followed all the steps to complete this, but when I come to the step where I need to select "multiple of the same photo per page" from the Photos Per Page pop-up menu, I am unable to "click" in the box to make the change...am I missing a another step some where ....I appreciate anyone's help out there ..thank you

    Grama
    Welcome to the Apple suer to user discussion forums
    two ways - select the photos you want to print and:
    1 - select contact print as the theme
    2 - select the printer, paper size and prin size and click the customize button and click on the gear thingy at the bottom - the settings icon - and select multiple photos per page
    LN

  • IPhoto 7.1.3 and printing multiple photos per page

    I cannot get multiple prints to layout (or print) properly. IOW, I cannot get the product to render multiple photos to a single sheet layout.
    - selected multiple photos (say 5)
    - Hit Print icon (or select Print from File menu)
    - Paper Size: choose 8.5x11
    - Print Size: choose 3x5
    - Hit 'Customize' button
    - It is showing 1 photo per page (5 pages)
    - Select 'Settings'
    - Select 'Multiple photos per page'
    - Hit 'OK'
    - No change - still a single photo per page
    - Print preview shows same - 5 pages each with only a single print.
    - Same occurs if I originally select 2,3,4.... prints.
    Perhaps noteworthy: I am using a printer (only available printer) that is attached to another iMac on my wireless network.
    Any help appreciated. About 30 minutes searching this discussion board hasn't been fruitful.

    Michael
    Welcome to the Apple user discussion forums
    - selected multiple photos (say 5)
    - Hit Print icon (or select Print from File menu)
    - Paper Size: choose 8.5x11
    - Print Size: choose 3x5
    When I do these steps my preview shows 4 photo on the page (the maximum number of 3 x 5 you can fit on an 9.5 x 11 sheet) without going to the customize menu - and it works on three different printers
    Try deleting your iPhoto preferences (finder ==> "your username" ==>preferences ==> com.apple.iPhoto.plist), launch iPhoto, reset any preferences you have set and see if it will work
    It should be very easy and straight forward with only the first four steps being needed for this
    LN

  • Issue with Opening Files using Multiple Actions

    I've noticed a strange issue when I attempt to use multiple actions in my Captivate 4 project.
    I have a button that does two things: open an HTML file in another window and make another button visible. Of course, for the Open URL or File action, I'm entering the name of the HTML file and select New from the drop-down list so it opens in a new window.
    Captivate doesn't seem to store that setting. When I click OK for that dialog box and then OK for the button dialog box, it reverts back to Current.
    Is this a bug or am I doing something wrong?
    Here I am, setting the property...
    ...and here's me checking Captivate 4 to see if the setting "stuck" and seeing that it didn't:

    Hi there
    I've recently encountered that behavior myself. I found it was a lot more reliable to avoid using the Multiple Actions for the Button click. Instead, configure an Advanced Action to do the work and you should have better results.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Frame skipping from the Multiple Actions window (Cp4)

    Can anyone remind me how to trigger this:
    rdcmndGotoFrameAndResume := rdinfoCurrentFrame -10
    but from the Multiple Actions window on Cp4?
    I want to show a colleague how to set up a slide with multiple images that the learner can click as many times as they like to show relevant captions (and hide previously shown ones). Obviously the big problem is stopping the project from continuing until the learner clicks a separate Continue button.
    Normally I'd use Advanced Actions and add the code above in addition to the show/hide stuff, but this time I want to keep things as simple as possible using Multiple Actions as it's far more intuitive - but it won't let me do this kind of assignment.
    Any suggestions? One of the options is to execute javascript but I'm not sure what the javascript equivalent of this is, or even how it should get wrapped up in that window.
    Thanks

    As far as I can remember, you cannot create an 'expression' like this in Multiple actions, you only have the Assign action but the system variables that you can access with Assign are limited.
    Moreover I want to warn you: Multiple actions were abandoned in Captivate 5 and later because they do not always function well. So be very careful using them.
    If you want to show this, you'll need to use advanced actions, that have the possibility to access all variables and to create expressions.
    Why do you rewind the playbar 10 frames?
    Lilybiri

  • Interactive Reports Action Menu buttons not working

    We are running Apex 4.02 and using theme 11 (round green). We recently upgraded to IE 10 (on windows server 2008 R2) and are now experiencing issues with all interactive reports within Apex. The Action menu is displayed correctly and the options are available but the buttons to apply the changes do not seem to respond.
    For example, I can press the Action button then select Format->Sort from the actions menu. The sort by options are displayed but nothing happens when I press the Cancel or Apply buttons. There is no error - it looks like the button press is not executing the code.
    I have searched for issues specifically related to Apex but have only been able to find references to general problems with IE 10 and Ajax calls. I'm not sure whether IRs are using Ajax as part of it's core functionality and whether this is the behaviour we are seeing.
    I'm keen to understand whether others have encountered this problem and resolved the issue somehow. Any help would be very much appreciated.

    I would have set this up somewhat differently.  I'd have all of your buttons set to pause the slide in exactly the same spot about 1.5 seconds into the slide.  To set the variable for completion of a section I would have used a standard or conditional action that was executed by the button that brings the learner back to the menu slide.  This action would set the variable and then jump back to the menu slide using the button's On Success action.  You need one of these actions per separate section in your project.
    As to why some of your buttons are not working at all...
    1. They may not be set up correctly.  Check all settings again.
    2. The buttons may be corrupted.  Delete the ones that don't work and insert new ones.  Avoid copying and pasting.
    As luck would have it, I've just completed an e-book Guide to Adobe Captivate Advanced Actions that has an entire series of practice exercises that take you step by step through creating exactly the menu slide setup that you describe.  If this project is important enough to you, it may be worth your while to consider purchasing that e-book:
    http://www.infosemantics.com.au/adobe-captivate-advanced-actions

  • Why PageController method invoked multiple times per request

    I have a page with a customized PageController to override the "prepareModel(LifecycleContext)" method to create bindings dynamically for the page.
    I expected the overridden method only invoked once per loading/refresh of the page.
    From debugging, I found the overridden method actually invoked 3 times before the page was loaded.
    When I put some logic so that bindings only created the 1st time the overridden method invoked, then the page failed to show the data properly as if the binding was missing.
    With some debugging, I noticed the PageController invoked multiple times when I added the af:table to the page.
    Any idea why prepareModel() got invoked multiple time per loading of a page with af:table ?
    How do I determine when to create bindings within prepareModel() so that bindings only created once and the page can use the binding to show the data properly?

    <executables>
    <invokeAction id="onpageLoadClearTable" Binds="clearViewObject"
    RefreshCondition="#{adfFacesContext.postback == false}"/> --------added this into your pagedef.
    </executables>
    <bindings>
    <methodAction IterBinding="XXXXXXXXViewIterator" id="clearViewObject"
    MethodName="clearViewObject" RequiresUpdateModel="true"
    Action="999" IsViewObjectMethod="true"
    </bindings>

  • Stringing multiple actions onto one click?

    Is it possible to have multiple actions happen, either simultaneously, or one right after another, with only one click causing this?

    Yes it is. In the Build Inspector, click the button labeled "More Options", which will reveal the Build Order drawer. Here you can set which builds/actions occur in which order, which builds/actions occur simultaneously, and whether they are triggered by a click.

  • Actual and Plan Versions annual view - Multiple versions per company code

    Good Day,
    Iu2019m creating an FI-CO query with an annual view of both Actuals and Plan Values, which uses period and version as input values. The dilemma is around the plan versions which are hardcoded per company codes (eg. 1 Company Code = versions 501 u2013 512)
    Can anyone suggest a possible solutions as normally there is only one version used for planning but in this instance there are multiple versions per Company Code.
    Currently the report is hardcoded for one Company Code and going forward it should cater for more than one(Company Company* 12 Version)
    Kind Regards

    Remove restriction on comp code. There could be 2 models.
    1. Include comp code, value type and version in the rows. This way you get multiple records for a comp code. One record for actual data and one record each for plan versions. To have this model at the query, the data model in the cube also should be in this way (what we call as the account model), multiple records differentiated into actual/plan by valuetype and different versions by version.
    2. Include comp code in rows. Create selections, one for actuals (restrict with key fig and value type 10, actuals), one for each plan versions (restrict key fig with value type 20, version 501. Create one selection for each version this way). This way we have one record per comp code with diff key fig for actual and plan versions. We call this as key fig model. To have this model at the query, the data model in the cube could be account model or key fig model. If it is key fig model then no need of selections. The key fig could be taken directly from the cube.

  • How to do more than one action per one request ?

    1. I have taskflow with several actions. For example Page1 (action1) -> Page2, Page2 (action2) -> Page3. How can I move from the Page1 to Page3 without creating additional actions per one request?
    2. I have 1 unbounded taskflow, and 2 bounded. Unbounded (action1) -> Bounded1, Unbounded (action2) -> Bounded2. How can I return from Bounded1 taskflow and enter to Bounded2 taskflow via "action2" per one request?
    Can I flow through tasks virtually from the java code? Sweeping generalization: how to flow through taskflows like graph from some node to other using some path which contains several nodes.

    John Stegeman wrote:
    inooni,
    Unless I am misunderstanding you, you can create a control flow from Page 1 to Page 3. You could also do this with a global control flow case so as to avoid having to create one for each pair of navigations you want to do.
    JohnJonh, I have a lot of bounded tasks (tasks and pages generates automatically). It involves to create a lot of actions to navigate between pairs of them. I'm searching way to navigate without destroying bounded tasks structure.

  • "Layout" option in iPhoto 09 - multiple photos per page

    I am trying to printing several different photos on a single page. While I can achieve this by selecting a smaller image size and letting iPhoto arrange them automatically I would like to adjust the layout. When I selected "Layout" (under "customize") earlier I was offered layouts for One, Two, Three etc. images per page but now I can't find how to get iPhoto to offer more than One image per page. Am I doing something wrong? With several pictured selected, how do I customize the layout?
    Thanks
    Duncan

    Thanks - That is what I figured but the strange thing is that when I clicked on "Layout" 20 minutes before I posted this question it offered me page layout options for "One", "Two" "Three" and "Four" images per page with different configurations for each......but now I can't get those options - frustrating! And thinking about it, why would it say "One" under layout if there were no other options available?
    Has anyone else experienced this? Do other iPhoto 09 users get multiple images per page options under "Layout"?
    Thanks
    Duncan

Maybe you are looking for

  • Error in creation of  PurOrd IDoc

    Hi All, I have set up the output type for PO and created patner profiles and also add the message types ORDER and ORDCHG  but  when I save the PO and check the messages, I get an error: " No recipient found for message type ORDERS in the ALE Model ".

  • Creating a (pdf-editable) form in InDesign

    Hi, I have several documents set up in InDesign as templates. My staff and volunteers will open the document, edit only a couple of items and print it out. The problem is that most volunteers do not have access to InDesign. I would like to be able to

  • A more efficient quickpay

    Hello, I was wondering if there was some way of simplifying quickpay foir payroll admins. We have different types of quickpay runs (business trip, personal loan settlement, annual leave settlement e.t.c totalling 10). Each of these runs have their 'a

  • Visual studio basic

    Can I create and deploy virtual machine and web services on visual studio basic version for free and as Microsoft is providing visual studio basic free for 5 users. I am a single user. So can I use these features( creating virtual machine and deployi

  • APO DP Forecast smoothening

    How can one smoothen the forecast?