rkr Posted January 16, 2018 Posted January 16, 2018 Hi, I have a software which has a 'run file'-ie; when i double click on that file, the input file of the software is run by the software. I wish to double click/execute this run file using autoit. how do i achieve this. i opened the software and it shows the input file and run file in same folder, i will put my autoitscript file too in same location. how do i simulate double clicking the run file (using its file name, say - abc.run ). I entered the following lines to make software window active - it became active, dont know how to go forward Winactivate("program title") winwaitactivate("program title") controlclick("program title","abc.run",1000,"primary",2) ; 1000 is ctrl id
Moderators JLogan3o13 Posted January 16, 2018 Moderators Posted January 16, 2018 @rkr dog ate your help file? Look at Run in the help file if you just need to run the application, or ShellExecute if you need to run it with parameters. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Skysnake Posted January 17, 2018 Posted January 17, 2018 Or do you want to compile your script to an EXE and run that when you click on it? Anyway, answer is same as above. ^^ Skysnake Why is the snake in the sky?
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