streetglow Posted August 11, 2006 Share Posted August 11, 2006 Hi I've got a lil' problem.I made an Auto Instal Script, it's installing some programs.All programs works fine except Nero.After the installation is finished it doesn't want to push enter or anything at all!Here's a screenshot and beneath there, there is my script.================================Screenshot================================================================================================My script:================================WinWait("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM") If Not WinActive("IC Card Reader Driver Setup","IC Card Reader Driver v1.9e2") Then WinActivate("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM") WinWaitActive("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM") Send("{ENTER}") WinWait("Nero Burning ROM Installatiewizard") If Not WinActive("Nero Burning ROM Installatiewizard") Then WinActivate("Nero Burning ROM Installatiewizard") WinWaitActive("Nero Burning ROM Installatiewizard") Send("{TAB}{UP}{ENTER}") WinWait("Nero Burning ROM Installatiewizard") If Not WinActive("Nero Burning ROM Installatiewizard") Then WinActivate("Nero Burning ROM Installatiewizard") WinWaitActive("Nero Burning ROM Installatiewizard") Send("{ENTER}") WinWait("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") If Not WinActive("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") Then WinActivate("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") WinWaitActive("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") Send("{ENTER}")oÝ÷ Øw¡ë'ßÛpj{m¡ì^rë^¶¬iËb¢v®¶sevåvBgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² bæ÷Bvä7FfRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C²FVâvä7FfFRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² våvD7FfRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² 6VæBgV÷C·´TåDU'ÒgV÷C²Thanks already!! Link to comment Share on other sites More sharing options...
AceLoc Posted August 11, 2006 Share Posted August 11, 2006 Hi I've got a lil' problem. I made an Auto Instal Script, it's installing some programs. All programs works fine except Nero. After the installation is finished it doesn't want to push enter or anything at all! Here's a screenshot and beneath there, there is my script. ================================ Screenshot ================================ ================================ ================================ My script: ================================ WinWait("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM") If Not WinActive("IC Card Reader Driver Setup","IC Card Reader Driver v1.9e2") Then WinActivate("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM") WinWaitActive("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM") Send("{ENTER}") WinWait("Nero Burning ROM Installatiewizard") If Not WinActive("Nero Burning ROM Installatiewizard") Then WinActivate("Nero Burning ROM Installatiewizard") WinWaitActive("Nero Burning ROM Installatiewizard") Send("{TAB}{UP}{ENTER}") WinWait("Nero Burning ROM Installatiewizard") If Not WinActive("Nero Burning ROM Installatiewizard") Then WinActivate("Nero Burning ROM Installatiewizard") WinWaitActive("Nero Burning ROM Installatiewizard") Send("{ENTER}") WinWait("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") If Not WinActive("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") Then WinActivate("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") WinWaitActive("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") Send("{ENTER}")oÝ÷ Øw¡ë'ßÛpj{m¡ì^rë^¶¬iËb¢v®¶sevåvBgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² bæ÷Bvä7FfRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C²FVâvä7FfFRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² våvD7FfRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² 6VæBgV÷C·´TåDU'ÒgV÷C² Thanks already!! ook al geprobeerd met spatie? [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
streetglow Posted August 11, 2006 Author Share Posted August 11, 2006 ================================ English: ================================ Yes, but when I do Send("{SPACE}") It want's to cancel the installation which is the previous step (not to cancel but installing it). So there seems to be a problem with that. ================================ Dutch: ================================ Ja zodra ik dat probeer wilt hij tijdens het installeren de installatiewizard afsluiten. Ik denk dat het iets te maken heeft met die stap ervoor maar begrijp er niets van... Link to comment Share on other sites More sharing options...
AceLoc Posted August 11, 2006 Share Posted August 11, 2006 Start > Alle Programma's > AutoIt v3 > AutoIt Window Info.exedruk dan op dat laatste schermpje ( met je muis dus. )en druk dan op CTRL-ALT-F .. quote die gegevens even dank u. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
streetglow Posted August 11, 2006 Author Share Posted August 11, 2006 Here the info:Press CTRL-ALT-F to pause the display.>>>>>>>>>>>> Window Details <<<<<<<<<<<<<Title: Nero Burning ROM InstallatiewizardClass: #32770Size: X: 246 Y: 165 W: 531 H: 407>>>>>>>>>>> Mouse Details <<<<<<<<<<<Screen: X: 462 Y: 240Cursor ID: 2>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<RGB: Hex: 0xFBF7F6 Dec: 16513014>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<Size: X: 15 Y: 25 W: 230 H: 59Control ID: 1038ClassNameNN: Static17Text: De wizard heeft de installatie met succes voltooid.>>>>>>>>>>> Status Bar Text <<<<<<<<<<<>>>>>>>>>>> Visible Window Text <<<<<<<<<<<VoltooienDe wizard heeft de installatie met succes voltooid.Klik op 'Voltooien' om de installatiewizard af te sluiten .Voeg een snelkoppeling naar Nero StartSmart toe aan het bureaublad.Voeg een snelkoppeling naar Nero StartSmart toe aan de snelstartbalkNero SmartStart automatisch starten wanneer een schijf is ingevoegd Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 11, 2006 Moderators Share Posted August 11, 2006 Why not just use ControlClick()? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AceLoc Posted August 11, 2006 Share Posted August 11, 2006 (edited) probeer dit es: ControlSend("Nero Burning ROM Installatiewizard", "", "Static17", "{ENTER}") Edited August 11, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
streetglow Posted August 11, 2006 Author Share Posted August 11, 2006 I already tried this: ControlClick("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.","Button3") It didn't work, so now I'll try what 'aceloc' gave me. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 11, 2006 Moderators Share Posted August 11, 2006 (edited) ControlClick("Nero Burning ROM Installatiewizard","","Button3")oÝ÷ ÙÚ²}ý· +èêÌk&Þ¶¼ºÚ"µÍÜ ÌÎNÕÚ[ÙXÚÚ[[ÌÎNËJBÛÛÛÛXÚÊ ][ÝÓÈ[ÈÓH[Ý[]Y]Ú^ ][ÝË ][ÝÑHÚ^YYH[Ý[]YHY]ÝXØÙÈÛÛÚY][ÝË ][ÝÐ]ÛÉ][ÝÊif the 1st one didn't work. Edited August 11, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
streetglow Posted August 11, 2006 Author Share Posted August 11, 2006 No, none did work.They all cancelled the installation.Here's some info about the button:Press CTRL-ALT-F to pause the display.>>>>>>>>>>>> Window Details <<<<<<<<<<<<<Title: Nero Burning ROM InstallatiewizardClass: #32770Size: X: 143 Y: 194 W: 531 H: 407>>>>>>>>>>> Mouse Details <<<<<<<<<<<Screen: X: 625 Y: 580Cursor ID: 2>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<RGB: Hex: 0xBBCADE Dec: 12307166>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<Size: X: 440 Y: 341 W: 75 H: 23Control ID: 1040ClassNameNN: Button3Text: Voltooien>>>>>>>>>>> Status Bar Text <<<<<<<<<<<>>>>>>>>>>> Visible Window Text <<<<<<<<<<<VoltooienDe wizard heeft de installatie met succes voltooid.Klik op 'Voltooien' om de installatiewizard af te sluiten .Voeg een snelkoppeling naar Nero StartSmart toe aan het bureaublad.Voeg een snelkoppeling naar Nero StartSmart toe aan de snelstartbalkNero SmartStart automatisch starten wanneer een schijf is ingevoegd Link to comment Share on other sites More sharing options...
AceLoc Posted August 11, 2006 Share Posted August 11, 2006 (edited) No, none did work. They all cancelled the installation. Here's some info about the button:MouseClick("Left", 440, 341) Edited August 11, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
streetglow Posted August 11, 2006 Author Share Posted August 11, 2006 Yes, but when I'll use mouseclick, I'll need to know how many m.sec the script has to 'sleep'. Link to comment Share on other sites More sharing options...
AceLoc Posted August 11, 2006 Share Posted August 11, 2006 dus? [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
streetglow Posted August 11, 2006 Author Share Posted August 11, 2006 Well, with different computers that are different with speed that isn't very handy... Link to comment Share on other sites More sharing options...
AceLoc Posted August 11, 2006 Share Posted August 11, 2006 Well, with different computers that are different with speed that isn't very handy...with different computers they are also got other names, and other controlID's so dont cares ;x [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
streetglow Posted August 11, 2006 Author Share Posted August 11, 2006 Hmm, as far as I know Send("{ENTER}") doesn't change at different computers. Well, that was enough offtopic I think, I hope anyone else has a solution? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 11, 2006 Moderators Share Posted August 11, 2006 ControlClick() will work if you're wanting to click the button that says Voltooien, but you have to have the right ControlID or ClassNameNN, hold the AutoInfo Tool over the button you want to click and paste the contents here. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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