stiv Posted February 23 Share Posted February 23 (edited) Hola a todos, tengo una duda y no se como resolverla. Estoy intentando escribir en una ubicación que AutoIt no reconoce en Windows 10. sin embargo, mi script funciona bien en Windows 7. Quisiera saber si existe otra forma de escribir en una ventana de CMD, que se abre desde windows como resultado de un proceso. gracias Func obtener () WinActivate ( "Servidor de componentes/Servidor Web" , "Ingrese el nombre o " ) WinActivate ( "Servidor de componentes/Servidor Web" ) WinActivate ( "[Clase:WindowsForms10.Window.8.app.0.14ef022_r23_ad1]" ) Dormir ( 10000 ) Enviar ( "10.1.3.164" ) Dormir ( 2000 ) Enviar ( "{TAB 2}" ) Dormir ( 2000 ) Enviar ( "{ENTRAR}" ) Dormir ( 2000 ) EndFunc Edited February 24 by stiv Link to comment Share on other sites More sharing options...
SOLVE-SMART Posted February 23 Share Posted February 23 Hi @stiv, 4 minutes ago, stiv said: [...] however my script works fine on windows 7. [...] How about sharing your code? I guess we could help much more with a base 🤞 . Best regards Sven Stay innovative! Spoiler 🌍 Au3Forums 🎲 AutoIt (en) Cheat Sheet 📊 AutoIt limits/defaults 💎 Code Katas: [...] (comming soon) 🎭 Collection of GitHub users with AutoIt projects 🐞 False-Positives 🔮 Me on GitHub 💬 Opinion about new forum sub category 📑 UDF wiki list ✂ VSCode-AutoItSnippets 📑 WebDriver FAQs 👨🏫 WebDriver Tutorial (coming soon) Link to comment Share on other sites More sharing options...
stiv Posted February 23 Author Share Posted February 23 Func obtener() WinActivate("Servidor de componentes/Servidor Web","Ingrese el nombre o ") WinActivate("Servidor de componentes/Servidor Web") WinActivate("[Class:WindowsForms10.Window.8.app.0.14ef022_r23_ad1]") Sleep(10000) Send("10.1.3.164") Sleep(2000) Send("{TAB 2}") Sleep(2000) Send("{ENTER}") Sleep(2000) EndFunc 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