Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Start application with parameters(provide user and password ?)
Start application with parameters [message #786462] Mon, 30 January 2012 13:10 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Is it possible to start the application my_scout_app.exe from a script providing user and password as parameters?
Re: Start application with parameters [message #786801 is a reply to message #786462] Mon, 30 January 2012 20:47 Go to previous message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

if you add some command line parameters you can read them inside your app by using Platformget.CommandLineArgs(); Example below is the Desktop.execInit().


  @Override
  protected void execInit() throws ProcessingException {
    String[] args = Platform.getCommandLineArgs();
    if (args != null) {
      for (int i = 0; i < args.length; i++) {
        System.out.println(args[i]);
      }
    }
  }
Previous Topic:Form with table and detail fields
Next Topic:Filter calendar items
Goto Forum:
  


Current Time: Wed Apr 24 16:49:12 GMT 2024

Powered by FUDForum. Page generated in 0.02905 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top