Start Application At A Specific Transaction With Batch File

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
awibbin
Posts: 1
Joined: 20 Nov 2019 12:07

Start Application At A Specific Transaction With Batch File

#1 Post by awibbin » 20 Nov 2019 12:35

I'm able to start EVOERP.exe using my batch file, but I would like to be able to login to EVO at a specific transaction "SH-K" to view work-order reports using the same batch file. How would one start a program -> login to program using credentials -> open specific function in program from a batch file?
I've attempted to login using:

set /p UName=Name?
set /p Pwd=Password?

start EVOERP.exe %UName% %Pwd%

just to see if if I could have it login for me but it did not work.

Currently I am only able to get it to launch EVO:

@echo off
cls
:start
echo.
echo 1. initiate EVO
echo 2. I'm done
echo.
echo.
set /p x=Pick:
IF '%x%' == '%x%' GOTO Item_%x%

:Item_1
start EVOSHORTCUT

:Item_2
exit

Even if you know how to login to a program from a batchfile that would be very very helpful.

Responses do not have to be EVO specific, if you have done this before with another application it would be helpful to share how it was done.

All input is appreciated, thank you!

aGerman
Expert
Posts: 4654
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Start Application At A Specific Transaction With Batch File

#2 Post by aGerman » 20 Nov 2019 14:29

Not sure what that application actually is that you are talking about. But since Batch doesn't interact with graphical user interfaces I'm afraid you're out of luck.

Steffen

Eureka!
Posts: 136
Joined: 25 Jul 2019 18:25

Re: Start Application At A Specific Transaction With Batch File

#3 Post by Eureka! » 20 Nov 2019 15:54

Read the documentation of your EVO application and search for command line options.
If it is possible to provide credentials this way, there you can find it.

Post Reply