Menu

Defining variables in Run Dialog

2007-08-24
2013-03-15
  • Eric Clausing

    Eric Clausing - 2007-08-24

    I am trying to setup a variable that would change every time you do a Run As Python Run.  I have setup a configuration for regular running and then one that allows me to get into a specific part of the program.  I am wondering if there is a way to have it trigger on run a dialog where I could put in a name and it would replace the variable with that name.

    Right now it is under program arguments but I would have to create like 30 run configurations to accomplish this.  So is it possible to just have a variable in the program argument that when you run the configuration it would popup a dialog to input the information?

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2007-08-25

      I think you can specify something such as ${input} or ${user_input}... I'm not sure exactly which is it (I don't have eclipse open here to check, but you can reply again if you're not able to find it).

      Cheers,

      Fabio

       
    • Eric Clausing

      Eric Clausing - 2007-08-25

      Actually I was playing around and found that adding ${string_prompt}.  When I run my stuff it prompts me now.  Thanks