Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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: 1250
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

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

  protected void execInit() throws ProcessingException {
    String[] args = Platform.getCommandLineArgs();
    if (args != null) {
      for (int i = 0; i < args.length; i++) {
Previous Topic:Form with table and detail fields
Next Topic:CodeType with codes from the database
Goto Forum:

Current Time: Fri May 25 05:30:24 GMT 2018

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

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

Back to the top