Solved

Running several Apps

Posted on 2004-08-19
15
239 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
  • 7
  • 5
  • 2
  • +1
15 Comments
 
LVL 85

Expert Comment

by:Mike Tomlinson
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:whiwex
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:whiwex
Comment Utility
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
Comment Utility
Could this be done with VBScript?

Whiwex
0
 
LVL 1

Accepted Solution

by:
aneim earned 500 total points
Comment Utility
0
 
LVL 19

Expert Comment

by:arif_eqbal
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Aldos tools seems todo the trick

thanks
0
 
LVL 1

Expert Comment

by:aneim
Comment Utility
Thanks whiwex! :D
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
maxMirror challenge 10 87
wordsWithout 49 77
Replace a tag with sed 2 41
topping3 challenge 14 48
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now