dozosama Posted March 5, 2019 Author Posted March 5, 2019 Just now, dozosama said: Hey i créât news programma for auto install VLC and i have 1 bug Le programme :ShellExecute ($13vlc) ;Execute la variable $13vlc (l'installation de vlc)if WinWaitActive ("Installer Language","Please select a language.") Then ;si oui allors If WinWaitActive ("Installer Language","Please select a language.") Then ; si ou allors TrayTip ("vue","1",1000) ;teste si cest faitau dessu pour suit de programme IF WinActivate ("Installer Language","Please select a language.") Then ;activer puis TrayTip ("good","good",1000);teste si cest faitau dessu pour suit de programme Sleep (2500) ;pause 2.5secSend ("{ENTER}") ;fait Entrer Else ; 3 IFTrayTip ("je","pas",1000);teste si sa marche EndIf ; 3 IFElse ; 2IFTrayTip ("faut","faux",1000);teste si sa marche EndIf ; 2 IFElse ; 1 IFTrayTip ("2","2",1000);teste si sa marche EndIf ; 1 IF Problematic: after small programme my send (programme no't finish) send is good in notpads and no does no work in VLC (install language) and well the prioty page so my question why is notpads is good no in VLC(install language) ? a test as well Local $test = WinWait ("Installer Language","",10)ControlSend ($test, "", "keys1",("{ENTER}")) That's what he looks like with his:Local $test = WinWait ("Installer Language","",10)ShellExecute ($13vlc) ;Execute la variable $13vlc (l'installation de vlc)if WinWaitActive ("Installer Language","Please select a language.") Then ;si oui allorsIf WinWaitActive ("Installer Language","Please select a language.") Then ; si ou allorsTrayTip ("vue","1",1000) ;teste si cest faitau dessu pour suit de programmeIF WinActivate ("Installer Language","Please select a language.") Then ;activer puisTrayTip ("good","good",1000);teste si cest faitau dessu pour suit de programmeSleep (2500) ;pause 2.5secControlSend ($test, "", "keys1",("{ENTER}"))Else ; 3 IFTrayTip ("je","pas",1000);teste si sa marcheEndIf ; 3 IFElse ; 2IFTrayTip ("faut","faux",1000);teste si sa marcheEndIf ; 2 IFElse ; 1 IFTrayTip ("2","2",1000);teste si sa marcheEndIf ; 1 IF You ave the answer thank you for pass my i learn all you proposal good days all thank you for help my im so sorry for fault im french i have no't really good English I hope you can read
dozosama Posted March 5, 2019 Author Posted March 5, 2019 reapet in franch for franch or you Bonjours voila je débute dans Autoit et je suis entrain de crée un programme pour installer plusieurs logiciel . Mais voila certain logiciel marche sans problème mais avec VLC et quel que autre il a un bug Le programme :ShellExecute ($13vlc) ;Execute la variable $13vlc (l'installation de vlc)if WinWaitActive ("Installer Language","Please select a language.") Then ;si oui allors If WinWaitActive ("Installer Language","Please select a language.") Then ; si ou allors TrayTip ("vue","1",1000) ;teste si cest faitau dessu pour suit de programme IF WinActivate ("Installer Language","Please select a language.") Then ;activer puis TrayTip ("good","good",1000);teste si cest faitau dessu pour suit de programme Sleep (2500) ;pause 2.5secSend ("{ENTER}") ;fait Entrer Else ; 3 IFTrayTip ("je","pas",1000);teste si sa marche EndIf ; 3 IFElse ; 2IFTrayTip ("faut","faux",1000);teste si sa marche EndIf ; 2 IFElse ; 1 IFTrayTip ("2","2",1000);teste si sa marche EndIf ; 1 IF J'ai aussi tester :Local $test = WinWait ("Installer Language","",10)ControlSend ($test, "", "keys1",("{ENTER}"))voila a quoi il ressemble avec sa :Local $test = WinWait ("Installer Language","",10)ShellExecute ($13vlc) ;Execute la variable $13vlc (l'installation de vlc)if WinWaitActive ("Installer Language","Please select a language.") Then ;si oui allorsIf WinWaitActive ("Installer Language","Please select a language.") Then ; si ou allorsTrayTip ("vue","1",1000) ;teste si cest faitau dessu pour suit de programmeIF WinActivate ("Installer Language","Please select a language.") Then ;activer puisTrayTip ("good","good",1000);teste si cest faitau dessu pour suit de programmeSleep (2500) ;pause 2.5secControlSend ($test, "", "keys1",("{ENTER}"))Else ; 3 IFTrayTip ("je","pas",1000);teste si sa marcheEndIf ; 3 IFElse ; 2IFTrayTip ("faut","faux",1000);teste si sa marcheEndIf ; 2 IFElse ; 1 IFTrayTip ("2","2",1000);teste si sa marcheEndIf ; 1 IF Problématique :Voila après si petit programme (programme de test pas fini du tout) le send marche dans un bloque note la page de VLC (Installer language) et bien la page prioritaire donc ma question c'est pourquoi es que dans VLC sa marche pas alors que j'ai fait exactement pareille avec office et la sa marche très bien donc si vous avez la solution ou des petite idées je les acceptes avec cœur joie et un très grand plaisir Merci d'avoirs lu mon problème et de bien vouloirs m'aider
dozosama Posted March 5, 2019 Author Posted March 5, 2019 I dont can use controlclick becose is for multi poste thank you
Developers Jos Posted March 5, 2019 Developers Posted March 5, 2019 Moved to the appropriate forum, as the Developer General Discussion forum very clearly states: Quote General development and scripting discussions. If it's super geeky and you don't know where to put it - it's probably here. Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Subz Posted March 5, 2019 Posted March 5, 2019 Have you tried just using: RunWait(@ScriptDir & "\vlc-3.0.6-win32.exe /S") Or use MSI to install - https://sourceforge.net/projects/vlcplayermsiinstallers/
jchd Posted March 5, 2019 Posted March 5, 2019 Posting the exact same question here AND on the French forum is double-read for contributors. Choose one and stick there. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
dozosama Posted March 6, 2019 Author Posted March 6, 2019 (edited) 21 hours ago, Subz said: Have you tried just using: RunWait(@ScriptDir & "\vlc-3.0.6-win32.exe /S") Or use MSI to install - https://sourceforge.net/projects/vlcplayermsiinstallers/ i tried dont work me bug still there 18 hours ago, jchd said: Posting the exact same question here AND on the French forum is double-read for contributors. Choose one and stick there. i post in fransh forum juste don't reply me RIP Thank you for your help Edited March 6, 2019 by dozosama fault
jchd Posted March 6, 2019 Posted March 6, 2019 Refer to : https://wiki.videolan.org/Documentation:Installing_VLC/ where unattended (silent) install is discussed in full. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
dozosama Posted March 6, 2019 Author Posted March 6, 2019 (edited) 2 hours ago, jchd said: Refer to : https://wiki.videolan.org/Documentation:Installing_VLC/ where unattended (silent) install is discussed in full. Ok thanks his walk on powershell not on Autoit i have tested _ShellExecute ("path\11_vlc-3.0.4-win64.exe") (il dise pas trouver le chemain)_ShellExecute path11_vlc-3.0.4-win64.exe /L=1033 /S (la commande au fausse)_ShellExecute "path\11_vlc-3.0.4-win64.exe /L=1033 /S" (commande fausse)_path\11_vlc-3.0.4-win64.exe /L=1033 /S (commande fausse) On Autoit thanks for your help im looking for your future answer sorry for fault google translet help me for read Edited March 6, 2019 by dozosama
dozosama Posted March 6, 2019 Author Posted March 6, 2019 No no no is good juste me peth thank all for help me good bye and good day
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