I'm working with a matlab/vb.net application where I need to run a few hundred OPUS models in batch modes and would like to be able to auto login onto OPUS using a shell command line stating the user name, pw and the workspace. I would also like to skip the splash screen of my current licences too.
Best regards,
David
Auto login
Moderators: Andreas Mohr, rah
-
- Posts: 29
- Joined: Mon Jun 30, 2008 4:50 pm
Re: Auto login
Dear Mr. DrDonald,
oh well, I'll have to apologize again for the forum's glaring lack of a "new posting" notifications feature and me missing my bi-weekly workaround cron message, too
(sorry for the resulting terribly long delay!).
What you're looking for (and very precisely, I might add) is the OPUS command line option /DIRECTLOGINPASSWORD=foo
(however be warned that this feature is characterised to have UNDOCUMENTED status).
This will achieve both of your current desires [it likely will not cure world hunger]:
- auto login
- disabling of the splash-style launch of About dialog
Thus, to activate automatic login with the workspace currently used by the selected user,
try syntax
opus.exe /DIRECTLOGINPASSWORD=USERID@PASSWORD
In case of any additional questions, please report back.
Yours sincerely
Andreas Mohr
oh well, I'll have to apologize again for the forum's glaring lack of a "new posting" notifications feature and me missing my bi-weekly workaround cron message, too
(sorry for the resulting terribly long delay!).
What you're looking for (and very precisely, I might add) is the OPUS command line option /DIRECTLOGINPASSWORD=foo
(however be warned that this feature is characterised to have UNDOCUMENTED status).
This will achieve both of your current desires [it likely will not cure world hunger]:
- auto login
- disabling of the splash-style launch of About dialog
Thus, to activate automatic login with the workspace currently used by the selected user,
try syntax
opus.exe /DIRECTLOGINPASSWORD=USERID@PASSWORD
In case of any additional questions, please report back.
Yours sincerely
Andreas Mohr
Re: Auto login
Thanks Andreas,
I included the syntax /DIRECTLOGINPASSWORD=Default@OPUS and it got one step in curing world hunger by assisting in improving the efficiency in breeding better sugar cane plant varieties! Your syntax worked beautifully. OPUS started in the previous workspace (desired) and skipped the splash screen. I also ran a script from the windows shell too. Below is the VB.net (4.5) code that I used:
Dim p As New ProcessStartInfo
p.FileName = MyOPUSPath
p.Arguments = " /DIRECTLOGINPASSWORD=Default@OPUS /SCRIPT=MyOPUSStartScriptPath"
Process.Start(p)
Thanks again
David Donald
I included the syntax /DIRECTLOGINPASSWORD=Default@OPUS and it got one step in curing world hunger by assisting in improving the efficiency in breeding better sugar cane plant varieties! Your syntax worked beautifully. OPUS started in the previous workspace (desired) and skipped the splash screen. I also ran a script from the windows shell too. Below is the VB.net (4.5) code that I used:
Dim p As New ProcessStartInfo
p.FileName = MyOPUSPath
p.Arguments = " /DIRECTLOGINPASSWORD=Default@OPUS /SCRIPT=MyOPUSStartScriptPath"
Process.Start(p)
Thanks again
David Donald