Symplystyc Posted December 11, 2007 Share Posted December 11, 2007 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 More sharing options...
BrettF Posted December 11, 2007 Share Posted December 11, 2007 I'm trying to get autoit to start a program for me so I triedRunWait("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???? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Symplystyc Posted December 11, 2007 Author Share Posted December 11, 2007 Point-N-Click.exe is located where????in this folderC:\Program Files\Point-N-Click 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 More sharing options...
Achilles Posted December 11, 2007 Share Posted December 11, 2007 You want the full path in the first paramter. For example:RunWait("C:\Program Files\Point-N-Click\Point-N-Click.exe","C:\Program Files\Point-N-Click")I suggested adding a note in the helpfile to avoid this problem but it didn't seem very popular... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Symplystyc Posted December 11, 2007 Author Share Posted December 11, 2007 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 More sharing options...
Vindicator209 Posted December 11, 2007 Share Posted December 11, 2007 (edited) 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 December 11, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now