Accuterm GUI program from Desktop

215 views
Skip to first unread message

Peter Gonzalez

unread,
Jan 29, 2020, 11:44:37 AM1/29/20
to Pick and MultiValue Databases
Hello Group!

Is it possible to execute an Accuterm GUI APP(program) running on a QM Windows environment directly from a windows desktop? I'm trying to avoid the user to type his logon and password. I do not see a setting in the xxxx.atcf settings.  Can xxxx.atcf handle Windows Authentication? thanks.


-Peter G

martinp...@ladybridge.com

unread,
Jan 29, 2020, 12:19:19 PM1/29/20
to mvd...@googlegroups.com

Peter,

 

I don’t think that this is possible. AccuTerm makes a network connection and Windows does not allow this, even looped back to the local system, without going through user authentication.

 

I believe that Accuterm can be programmed to provide the responses to the username and password prompts though it is not something I have ever done.

 

 

Martin

--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/fc96fede-4684-4402-a72b-f96caed598b2%40googlegroups.com.

euobeto .

unread,
Jan 29, 2020, 12:20:45 PM1/29/20
to mvd...@googlegroups.com
Hi Peter the atcf file cant handle logins, but you can use the .atsc script file to complet this task
i attached one sample script there you have to config
 Cfg = "d3.atcf"  => the conn file
User = ""           => what user to log
Pswd = ""         => the user password
account = ""    => what account to log in
UserID = ""    => if the user has some extra indetification

--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/fc96fede-4684-4402-a72b-f96caed598b2%40googlegroups.com.


--
Alberto  Leal
T.I  Campo Grande
LPI ID: LPI000191272
E-mail: alb...@tecwebcg.com
Gmail:  ees....@gmail.com
          
d3_Login.atsc

euobeto .

unread,
Jan 29, 2020, 12:44:07 PM1/29/20
to mvd...@googlegroups.com
Hy Peter i remember now from this Accuterm Demo with OpenQm
it uses this script to auto login in Qm
in this page you can download the portable version of Accuterm with OpenQm
AccuTerm 7 / QM USB Demo7.0d sp1 / 2-12-437MBDemo with AccuTerm and QM personal versions is an example of how to deploy a complete MultiValue application on a USB stick or other portable device. Click here for more info.
 
Demo.atsc

Peter Gonzalez

unread,
Jan 29, 2020, 12:46:38 PM1/29/20
to Pick and MultiValue Databases
Martin,
I didn't think so unless an Accuterm script is execute. I just had to post the question.

-Peter G

Peter Gonzalez

unread,
Jan 29, 2020, 12:53:42 PM1/29/20
to Pick and MultiValue Databases
Alberto,
Thank you for the script I'll play around with it. It looks like the user will still have to enter the login credentials, is that correct?

-Peter G



On Wednesday, January 29, 2020 at 11:20:45 AM UTC-6, AlbertoLeal wrote:
Hi Peter the atcf file cant handle logins, but you can use the .atsc script file to complet this task
i attached one sample script there you have to config
 Cfg = "d3.atcf"  => the conn file
User = ""           => what user to log
Pswd = ""         => the user password
account = ""    => what account to log in
UserID = ""    => if the user has some extra indetification

Em qua., 29 de jan. de 2020 às 12:44, Peter Gonzalez <mdsi...@gmail.com> escreveu:
Hello Group!

Is it possible to execute an Accuterm GUI APP(program) running on a QM Windows environment directly from a windows desktop? I'm trying to avoid the user to type his logon and password. I do not see a setting in the xxxx.atcf settings.  Can xxxx.atcf handle Windows Authentication? thanks.


-Peter G

--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvd...@googlegroups.com

For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvd...@googlegroups.com.


--
Alberto  Leal
T.I  Campo Grande
LPI ID: LPI000191272
E-mail: alb...@tecwebcg.com
Gmail:  ees...@gmail.com
          

euobeto .

unread,
Jan 29, 2020, 12:57:42 PM1/29/20
to mvd...@googlegroups.com

The second script I sent, was made for OpenQm at least at the demo version don’t ask for anything, just set the variables and run it

To unsubscribe, email to: mvdbms+un...@googlegroups.com

For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/7d6ab4f8-a790-4d27-aea6-04bdee4bbc1f%40googlegroups.com.
--
Enviado do Gmail para celular

Zumasys

unread,
Jan 29, 2020, 1:13:36 PM1/29/20
to Pick and MultiValue Databases
Hi Peter -

The easiest way to automate this is to record a macro, then convert it to a script (basically the same thing with a few names changed). Start by opening AccuTerm (no sessions, just the program). Then begin recording a macro. Open the .atcf that connects to the QM server. Enter your login credentials. Once logged in, stop recording the macro. Enter a name & description. Close AccuTerm, when prompted be sure to save your macros. Open AccuTerm again, and run your recorded macro to see how it works. You can edit the macro, and convert it to a standalone script. Just copy the contents from Sub <your macro> to End Sub, then click the Main Script tab, and paste into the main script. Change Sub <your macro> to Sub Main. Save the script as a .atsc file. Now you can launch AccuTerm from the .atsc file and it will automatically run your script, which opens the .atcf file and performs the login.

Thanks, Pete


Brian Speirs

unread,
Jan 29, 2020, 1:39:47 PM1/29/20
to Pick and MultiValue Databases
Hi Peter,

As other responses have indicated, it is not difficult to get Accuterm to log into your database automatically. As well as going through those responses, look in the SAMPLES data that comes with Accuterm. There are a couple of scripts there that can be used to log in.

However, my reading of your post is that AFTER login, you want to run a GUI program. This is where I think that things get difficult. Normally, on login, all users go through the LOGIN procedure which usually ends in a menu program. However, if you want a specific icon on your desktop to bypass this LOGIN procedure and go straight to a GUI program, then you will need to identify this process by some means, and get the LOGIN procedure to branch to the required GUI program for that process. You may be able to do this by logging in as as specific user, or by coming in on a specific line (if your MV database is set up to do this).

You may need to look at the other end of the process too. What happens when the user closes the GUI program? Do you want that to automatically end the MV session? Or do you want the user to go back to your normal MV menu?

Cheers,

Brian

Ian Harper

unread,
Jan 30, 2020, 10:16:37 AM1/30/20
to Pick and MultiValue Databases
I wrote something like that a while ago. Our system had 2 logins, one for the OS (CentOS) and another for our MV app. I created a user on the OS that would automatically launch our app and then held off on the login until after AT GUI was fired up. The OS login creds were supplied through AT scripting. User entered creds would be checked in our app and appropriate responses would be sent back to the user via GUI.

I wrapped all this up with some custom Windows shortcuts and placed them where our users could find them. I also made the AT window hidden. I think it would show in the taskbar for a brief moment before disappearing completely.
Reply all
Reply to author
Forward
0 new messages