Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Scripting & Automation
  New Posts New Posts RSS Feed - Command Line Arguments?
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedCommand Line Arguments?

 Post Reply Post Reply
Author
Message
trongey View Drop Down
Newbie
Newbie
Avatar

Joined: October 05 2017
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote trongey Quote  Post ReplyReply Direct Link To This Post Topic: Command Line Arguments?
    Posted: October 05 2017 at 8:15am
I need to integrate Accuterm 7 with a password vault system.  I would need to launch from a command, and pass either the ID/Password or SSH Key.  I've looked at the atsc sample for autologin, but it has hard-coded credentials.  Is there a way to pass values to a similar script or to launch AT7 with command line arguments for the credentials? 
Back to Top
trongey View Drop Down
Newbie
Newbie
Avatar

Joined: October 05 2017
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote trongey Quote  Post ReplyReply Direct Link To This Post Posted: October 05 2017 at 9:46am
Aha!  Figured it out.
    strCommand=Command()
    cmdParsed=Split(strCommand)
    User = cmdParsed(3)
    Pswd =cmdParsed(4)
 
The "3" and "4" just happened to work out for the command I sent.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.