Sign in to follow this  
Followers 0
EverLastingPirate

Load a file when another program loads?

6 posts in this topic

#1 ·  Posted (edited)

I've got no clue how to script or anything... thought I'd give it a try, I'm trying to make a program that will load when a certain program is opened, it's for a game. For example, if I loaded the internet, my program would load in the background.

Can anyone help me with this?

Also does anyone know the flag value for a system error? Playing a joke on a friend lol. :D

Edited by EverLastingPirate

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Type that into your address bar at the top of your browser.

file:///C:/Program Files/AutoIt3/AutoIt.chm

or if that doesn't work this should

file:///C:/AutoIt3/AutoIt.chm

Edited by Firestorm

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

For a little help try this script.

Always you start 'notepad.exe' and 'calc.exe' don't run this script will start 'calc.exe'.

AdlibEnable("_CheckNotepad") ; look at helpfile for timer settings

While 1
    Sleep(100)
WEnd

Func _CheckNotepad()
    If ProcessExists("notepad.exe") > 0 And ProcessExists("calc.exe") = 0 Then Run("calc.exe")
EndFunc

But it's essential to have a look at helpfile. Try on your own and if you get an error post your script and ask for help. Also have a look at great tutorial from Valuater.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

For a little help try this script.

Always you start 'notepad.exe' and 'calc.exe' don't run this script will start 'calc.exe'.

AdlibEnable("_CheckNotepad") ; look at helpfile for timer settings

While 1
    Sleep(100)
WEnd

Func _CheckNotepad()
    If ProcessExists("notepad.exe") > 0 And ProcessExists("calc.exe") = 0 Then Run("calc.exe")
EndFunc

But it's essential to have a look at helpfile. Try on your own and if you get an error post your script and ask for help. Also have a look at great tutorial from Valuater.

Ty man, this helped me alot, but I noticed how it pops up on the quick launch or tool bar. Forget what its called. Anyway how do I get it so it won't show/pop-up when I load my game? So it's hidden when I load the game. Edited by EverLastingPirate

Share this post


Link to post
Share on other sites

Ty man, this helped me alot, but I noticed how it pops up on the quick launch or tool bar. Forget what its called. Anyway how do I get it so it won't show/pop-up when I load my game? So it's hidden when I load the game.

Share this post


Link to post
Share on other sites

Do you mean something like this?

Run ("filename","workingdir",@SW_HIDE)

Share this post


Link to post
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
Sign in to follow this  
Followers 0