# Run Application

## Recommended Posts

I have 2 applications loading up upon boot of my system and one opens in fullscreen then the other cancels the full screen instead i want to let the one that closes my fullscreen open then my fullscreen one.

sleep("10000")
run("C:\root\to\app.exe")

##### Share on other sites

Thought I might add that the two application where in the windows start folder and I play to use the code to open the full screen application and to activate the code from the windows start folder

Bump

##### Share on other sites
29 minutes ago, thefudgeishot said:

Bump

Spoiler

Thoughts:

• I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

##### Share on other sites
6 hours ago, thefudgeishot said:

Bump

You will need to give us more details, otherwise nobody will (or can) help you out.

No signature so far...

##### Share on other sites

I have 2 application opening start up and one opens before the other so I want to use this script to delay the other launch

##### Share on other sites

Just use _SingleScript function. See here

Study the sample at the end of the UDF.

UDF: _SingleScript()                                        If you like my post, just click the like button         here -->

##### Share on other sites
; run the first application and get the pid for later use..
Local $appone = ShellExecute("app1.exe") ;check if the first app is running.. If ProcessExists($appone) Then
Sleep(3000)                     ; wait whatever..
ShellExecute("app2.exe")     ;then execute the second one
EndIf

## Create an account

Register a new account

×

• Wiki

• Back

• #### Beta

• Git
• FAQ
• Our Picks
×
• Create New...