SuperNatural Posted September 27, 2010 Share Posted September 27, 2010 Hey again =]I wanted to make a new topic because the last one wasn't organize .. Here's my questions:1. Can someone teach me please how to make an auto install script? Which means:I want to make a script, which I'll click on it, then I'll click on the install I want to make auto and it will auto click "Next" until finish.. got it?How can I use in the correct syntax with the ControlClick for exmaple? (for the auto script).. if you need, here's the details:http://ufu.co.il/files/15315g1op5hbh8wfrsnk.png ~> its a click button of an application that I want to make it to auto install. For Example:You can download this for Example, that's what I want to do.. (this is not my):http://www.mediafire.com/?qwoe1c111uopllcJust double click on the Megavideo1.exe then on the install file.. 2. How can I make script like this?http://ufu.co.il/files/f59623beev3zmrugw1v7.pnghttp://ufu.co.il/files/9ru2at7uzmtua1fwk9ai.pngI mean to exe file?3. Someone, in Israeli forum, made an auto install for a software with the script inside the application,which means: I just downloaded the install, and this is just the install file. I double click on it and everything it automati.How can I do that? make an auto install without need to click first the script then the install?Hope you understood,Please helpppp Link to comment Share on other sites More sharing options...
SuperNatural Posted September 27, 2010 Author Share Posted September 27, 2010 Please helpppp At least help me with the first question,... Link to comment Share on other sites More sharing options...
Bert Posted September 27, 2010 Share Posted September 27, 2010 Bumping your post more than once in 24 hours is frowned upon here. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
SuperNatural Posted September 27, 2010 Author Share Posted September 27, 2010 Ok, sorry.. Im new here so I dont know.. Please dont lock my topic :S And please helppppp... Link to comment Share on other sites More sharing options...
LurchMan Posted September 27, 2010 Share Posted September 27, 2010 Ok, sorry.. Im new here so I dont know..Please dont lock my topic :SAnd please helppppp...Look through the help file...make an attempt at writing the code yourself, if it doesn't work - post code and we will help. Otherwise visit www.rentacoder.com Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
SuperNatural Posted September 27, 2010 Author Share Posted September 27, 2010 (edited) I dont get it ... this is hard :S Also, I want with mouse clicks like the exmaple I added... Look, this is the syntax should be: http://ufu.co.il/files/eiyggl7zfpzpwd4m917c.png And this is all the information about the "Next >" button that I want to make automaticlly and show the mouse click: http://ufu.co.il/files/33igkjbujlre67v1m755.png can someone help me from here? what syntax should I use? please write it here Edited September 27, 2010 by SuperNatural Link to comment Share on other sites More sharing options...
Country73 Posted September 27, 2010 Share Posted September 27, 2010 Here's something that could get you going in the right direction for what you have posted: If WinExists("Setup - Megavideo Video Downloader","Welcome to the Megavideo") Then ControlClick("Setup - Megavideo Video Downloader","Welcome to the Megavideo","TNewButton","primary",1) If you try to fail and succeed which have you done?AutoIt Forum Search Link to comment Share on other sites More sharing options...
SuperNatural Posted September 27, 2010 Author Share Posted September 27, 2010 I don't understand... Look for exmaple what I want to do: I want to make a script that will open the install and click (with the mouse) on the Next button... for exmaple, start with: Run ("MegaVideoD.exe") Syntax ... So what is the syntax? what you gave me don't work.. Or I did something wrong? Again, Look, this is the syntax should be: http://ufu.co.il/files/eiyggl7zfpzpwd4m917c.png And this is all the information about the "Next >" button that I want to make automaticlly and show the mouse click: http://ufu.co.il/files/33igkjbujlre67v1m755.png OK? Link to comment Share on other sites More sharing options...
Country73 Posted September 27, 2010 Share Posted September 27, 2010 For the window you provided, the commanline that I gave should click on the Next button for that window. Run("MegaVideoD.exe") ;This loop should wait until the Setup window is visible Do Sleep(100) Until WinExists("Setup - Megavideo Video Downloader","Welcome to the Megavideo") ;Then you put in the command to click on the Next button ;As I supplied earlier If WinExists("Setup - Megavideo Video Downloader","Welcome to the Megavideo") Then ControlClick("Setup - Megavideo Video Downloader","Welcome to the Megavideo","TNewButton","primary",1) If you try to fail and succeed which have you done?AutoIt Forum Search Link to comment Share on other sites More sharing options...
SuperNatural Posted September 27, 2010 Author Share Posted September 27, 2010 sorry.. but the script doesn't work =/ Link to comment Share on other sites More sharing options...
Country73 Posted September 28, 2010 Share Posted September 28, 2010 sorry.. but the script doesn't work =/Well that certainly explains a lot...All I gave was an example on how to launch - by what you provided, and how to click the "NEXT" button - by what you have provided.I'm only giving you pointers here, and not writing the actual script for you.I don't have the application in front of me to test anything out, just writing from the information that you provided.Have you even attempted to script anything on your own?If so, please post what you have and what issues you are having.Errors? We will need to know what the error is. If you try to fail and succeed which have you done?AutoIt Forum Search 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