Jump to content

help with run()


Recommended Posts

I'm trying to get autoit to start a program for me so I tried

RunWait("Point-N-Click.exe","C:\Program Files\Point-N-Click")

but the error I get is

"the system cannot find the specified file"

The glass is neither half empty nor half full, it is simply twice as big as it needs to be.
Link to comment
Share on other sites

I'm trying to get autoit to start a program for me so I tried

RunWait("Point-N-Click.exe","C:\Program Files\Point-N-Click")

but the error I get is

"the system cannot find the specified file"

Point-N-Click.exe is located where????
Link to comment
Share on other sites

You want the full path in the first paramter. For example:

I suggested adding a note in the helpfile to avoid this problem but it didn't seem very popular...

wow would have made all the difference to me. thanks that did it.

The glass is neither half empty nor half full, it is simply twice as big as it needs to be.
Link to comment
Share on other sites

Yea, what he said ^

Assuming from your second parameter, Point-N-Click.exe is located in C:\Program Files\Point-N-Click so unless your script is ALSO located there, it wont work.

Or, simply set C:\Program Files\Point-N-Click\Point-N-Click.exe as your first parameter (still assuming Point-N-Click.exe is in C:\Program Files\Point-N-Click)

EDIT: ah, either I was late or he got there way before me XD

Edited by MethodZero

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...