fikri1979 Posted August 20, 2013 Posted August 20, 2013 hello... how to run program and click "start" button autmatically?, download i'v tried with this script but not start automatically...how to fix it? Run("C:\Documents and Settings\mac os\My Documents\Downloads\15 Agustus\PW-FIP.exe") WinWaitActive("PW.sederhana", "Start")
fikri1979 Posted August 20, 2013 Author Posted August 20, 2013 i have try using this info and using this script but can not run automatically start, how to correct it? Run("C:\Documents and Settings\mac os\My Documents\Downloads\15 Agustus\PW-FIP.exe") WinWaitActive("PW.sederhana") ControlClick("PW.sederhana", "Start", 135498)
Solution Unc3nZureD Posted August 20, 2013 Solution Posted August 20, 2013 Try to replace your ControlClick with this one: ControlClick("PW.sederhana", "", "[NAME:button1]") fikri1979 1
FireFox Posted August 20, 2013 Posted August 20, 2013 It's "[iD:135498]".Btw, don't use the "text" parameter (pretty useless IMO).
dragan Posted August 20, 2013 Posted August 20, 2013 It's "[iD:135498]". Btw, don't use the "text" parameter (pretty useless IMO). Correct me if I'm wrong, but according to help file, both should be viable. This: ControlClick("My Window", "", "[ID:254]") ...should be the same as: ControlClick("My Window", "", 254)
fikri1979 Posted August 21, 2013 Author Posted August 21, 2013 It's "[iD:135498]". Btw, don't use the "text" parameter (pretty useless IMO). i've to tried to another Notebook..can't automatically "start" too.. when i use AU3info severaltime, i get many different ID..like this picture why it can be so?
fikri1979 Posted August 21, 2013 Author Posted August 21, 2013 Correct me if I'm wrong, but according to help file, both should be viable. This: ControlClick("My Window", "", "[ID:254]") ...should be the same as: ControlClick("My Window", "", 254) i've tried with this scrip n work Run("E:\MASTER\MODEM\Pw Bebas2.exe") ;membuka program bernawam Pw Bebas2.exe dari direktori E-MASTER-MODEM WinWaitActive("XL Bebas. PW") ;menunggu tampilan program pw bebas2.exe yg berjudul XL Bebas ControlClick("XL Bebas. PW", "", "Start") ;setelah window XL Bebas.PW terbuka maka otomatis klik "Start"
fikri1979 Posted August 21, 2013 Author Posted August 21, 2013 how to run it program then klik start and minimize automatically ?
FireFox Posted August 21, 2013 Posted August 21, 2013 Please wait at least 24h before bumping. Use the control ID if nothing else work, because it can change on new program instance. Go to the "Control" tab of the info tool, you should have a CLASSNN with an instance. More infos in the help file or the forum. Br, FireFox.
Unc3nZureD Posted August 21, 2013 Posted August 21, 2013 What about using my script above?ControlClick("PW.sederhana", "", "[NAME:button1]")And after that just use a simpleWinSetState("PW.sederhana", "", @SW_MINIMIZE)
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