Jump to content
Sign in to follow this  
Insane

I'm new ... (Help Please)

Recommended Posts

Insane

Umm... okie... how do I use the Run command with a game... I tried just the file name and I tried the full path... I know this is a newb question and I'm sorry... Please help ><

Edited by Insane

Share this post


Link to post
Share on other sites
Helge

Hmm... you didn't show us any code and you didn't explain why it doesn't work.

If the following code doesn't work then you should try adding the directory in

the second parameter :

Run("c:\games\quake\quake.exe")

Share this post


Link to post
Share on other sites
Insane

MsgBox(0, "Final Fantasy", "Click to open Final Fantasy");
Run("C:\Program Files\PlayOnline\SquareEnix\PlayOnlineViewer.exe")
WinWaitActive("Final Fantasy XI")
WinWait("Final Fantasy XI" , "5 second Timeout" , 5)

This is the Code and it gives me this msg...

Posted Image

Edited by Insane

Share this post


Link to post
Share on other sites
Helge

The error-message says pretty much everything...it can't find the file.

Are you 100% sure that the path and filename is correct ?

Edited by Helge

Share this post


Link to post
Share on other sites
Thatsgreat2345

Run(FileOpenDialog("Select File","","Any File(*.*)"))

Share this post


Link to post
Share on other sites
Insane

Quite...

I'm sooo confused...

I checked the file path like 100 times...

Look:

Posted Image

Share this post


Link to post
Share on other sites
Insane

NVM DUR... put the exe file path on the wrong file... thanks and sorry

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.