Solved

Running several Apps

Posted on 2004-08-19
15
282 Views
Last Modified: 2010-04-17
I have four spyware removal programs and two virus remoavl programs that I would like to combine into one. i.e. I want to click and Icon and have all six programs run one after the other. What is the best why to do this?

Thanks
Whiwex
 
0
Comment
Question by:whiwex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
  • 2
  • +1
15 Comments
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 11843210
What are your options here whiwex?

Do you have any programming languages?
Should this just be a batch file?

Do you want all the apps to open at the same time or the next opens after the previous is closed?

Idle_Mind
0
 
LVL 1

Expert Comment

by:aneim
ID: 11845813
You can do with a .Bat file.

Create a new text file and put this:

@echo off
Start "c:\windows\calc.exe"
Start "c:\Program Files\You Software Dir\AppName.exe"


Repeat this for all programs.
0
 
LVL 1

Expert Comment

by:aneim
ID: 11845825
You can do with a .Bat file.

Create a new text file and put this:

@echo off
Start "c:\windows\calc.exe"
Start "c:\Program Files\You Software Dir\AppName.exe"


Repeat this for all programs.

Save the file as. "test.bat" with quotes. And just run the file to see the result.
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 

Author Comment

by:whiwex
ID: 11847232
Idle Mind

I don't have a programming language. At least none that I purchased. I'm willing to purchase.


aneim

I tried your bat file it just opens the dos window.

These are windows programs such as Sysweeper and Adaway. I would like to run one and when it's finished run the other.
I don't know if I cab do thie with a script or what.

thakns
Whiwex  
0
 
LVL 1

Expert Comment

by:aneim
ID: 11847352
whiwex, try with Dos old Names...

-cut here-----------------

@echo off
Start c:\windows\system32\calc.exe
Start c:\windows\system32\sol.exe
Start c:\windows\system32\freecell.exe

-cut here-----------------

Sorry. Windows XP dont use quotes. Try this without quotes.
0
 

Author Comment

by:whiwex
ID: 11848176
For some reason I have to move to the directory then start the program. If I start using the whole path it says it can't find it.

So I can start the program. Now how do I get it to click buttons and navigate through the windows?

Whiwex
0
 
LVL 1

Expert Comment

by:aneim
ID: 11848413
Well... A .bat file will not do that... If you need click in windows and do some tasks you can record a macro to do that.

Software Home Page : http://www.americansys.com/ezmacros.htm
Download File: ftp://ftp.americansys.com/amem5a.exe

This program can Record your actions and can assign a Hot Key to the Macro.
0
 

Author Comment

by:whiwex
ID: 11848884
This is somewhat what what I want but there's not enough control. Is there some kind of software that will allow me to actually write the code for the macro?

whiwex
0
 

Author Comment

by:whiwex
ID: 11848909
Could this be done with VBScript?

Whiwex
0
 
LVL 1

Accepted Solution

by:
aneim earned 500 total points
ID: 11848963
0
 
LVL 19

Expert Comment

by:arif_eqbal
ID: 11849212
Well Your perception is right VBScript is the easy answer here.... try

Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")

Set oExec = WshShell.Exec("File1.exe")
Set oExec = WshShell.Exec("File2.exe")
....
So on for all files


0
 
LVL 19

Expert Comment

by:arif_eqbal
ID: 11849233
Well I just forgot you want to run the next file when the previous has finished just put a status check for the previous program using...

Do While oExec.Status = 0
     WScript.Sleep 100
Loop

The code will now change to....

Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")

Set oExec = WshShell.Exec("File1.exe")
Do While oExec.Status = 0
     WScript.Sleep 100
Loop

Set oExec = WshShell.Exec("File2.exe")
Do While oExec.Status = 0
     WScript.Sleep 100
Loop


..... And so on for all files

0
 
LVL 1

Expert Comment

by:aneim
ID: 11850612
arif_eqbal,

whiwex want send clicks to windows, like click on scan button, and if a virus found click on Remove or Heal button.

If you look at EZ Macros , you can do this with the software.
0
 

Author Comment

by:whiwex
ID: 11857296
Aldos tools seems todo the trick

thanks
0
 
LVL 1

Expert Comment

by:aneim
ID: 11857374
Thanks whiwex! :D
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question