Sign in to follow this  
Followers 0
Insane

I'm new ... (Help Please)

7 posts in this topic

#1 ·  Posted (edited)

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



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

#3 ·  Posted (edited)

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

#4 ·  Posted (edited)

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

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

Share this post


Link to post
Share on other sites

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

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  
Followers 0