Jump to content

Start and Ending Applications


RZ4S
 Share

Recommended Posts

Hello
I need an AutoIt Script / Exe which:
1) At a certain time
2) 12 different *.exe (exe names always the same / titles of the applications different)
3) Sequence is important
4) Starts
5) One week later
6) All 12 finished. Sequence is important.

Boundary conditions:
1) As applications are added and removed, this should be entered in an external file. So that you don't always have to create a new EXE
2) The successful start of a mail with "Start successful". As well as the successful termination with a mail.

Who can help me quickly against payment?
Thank you. Roger

Link to comment
Share on other sites

  • 1 month later...

Hello,

welcome to the forum, your post is some weeks old already, still working on it?

 

I would recommend to use an INI file, one section per external EXE to be started / monitored / stopped

 

[program 1]
exe=C:\temp\First-one.exe
LastStart= <timestamp info>

[program 2]
exe=\\server\share\second-one.exe

Then use inireadsectionnames() to read the information

$ini="C:\temp\My-EXE-Info.ini"
$aSections=IniReadSectionNames($ini)

_DebugArrayDisplay($aSections)

for $i = 1 to $aSections[0]
    ; step through the sections, do what you need, save info you want to be able to retrieve later on
Next

 

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...