Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Start application with parameters(provide user and password ?)
Start application with parameters [message #786462] Mon, 30 January 2012 08:10 Go to next message
Eclipse UserFriend
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 15:47 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 17:46:33 EDT 2025

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

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

Back to the top