echdareez Posted September 2, 2015 Posted September 2, 2015 Hi there,I was planning on writing an automating script for a blank Windows 10. All my tools, all my configs, done right out of AutoIT. But the first hurdle was the first tool I always install : Total Commander.Have a look at the code below : 1. for some reason, using Run($Location_Base & $Location_TC) didn't work - had to use cmd /c... Same problem if I use : Run("c:\temp\tools\01-TC64\tcmd852x64.exe") . The setup of TC doesn't start. The setup of my NVIDIA ( Run("c:\temp\tools\02-NVIDIA\setup.exe") ) runs though.Both are .exe's so I don't see where the problem is? 2. as I want to automate the installation process, I've tried looking for the TITLE and ending up testing with the CLASS... The Send keys are not being sent through... Tried WinWaitActive / WinActivate / and so on... If I use a WinExists("[CLASS:#32770]") though, that works out ok and the window is detected. thanks!/dimi $Location_Base = "C:\temp\tools\01-TC64\" $Location_TC = "tcmd852x64.exe" ; Change this one Install_TC() Func Install_TC () Run("cmd /c " & $Location_Base & $Location_TC) Sleep(2500) Send("{TAB}{TAB}{TAB}") WinWaitActive("[CLASS:#32770]") Send("{TAB}{TAB}{TAB}") WinActivate("[CLASS:#32770]") Send("{TAB}{TAB}{TAB}") WinActive("[CLASS:#32770]") Send("{TAB}{TAB}{TAB}") EndFunc
SugarBall Posted September 2, 2015 Posted September 2, 2015 hi there, by the title i guess you're looking for this: https://www.youtube.com/watch?v=MuOq6AOQ_gI&index=10&list=PL4Jcq5zn02jKpjX0nqI1_fS7mEEb5tw6z&hd=1i am not sure if it will help you but watch it
echdareez Posted September 2, 2015 Author Posted September 2, 2015 Thanks so much I will have a look at it this evening.../dimi
Chimaera Posted September 2, 2015 Posted September 2, 2015 For total commander you can automate by changing the install.inf and set the things you want it to do silent install / language etc http://superuser.com/questions/639720/batch-file-to-install-totalcommander-without-user-intervention If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices()
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