44110 Posted May 3, 2007 Posted May 3, 2007 I am a new user of autoit v3 with windows XP Service Pack 2. I try to run notepad1.au3 in the exemple I have the message box and the script stopped when the notepad is open. Can I use in French system ?
Developers Jos Posted May 3, 2007 Developers Posted May 3, 2007 I am a new user of autoit v3 with windows XP Service Pack 2.I try to run notepad1.au3 in the exempleI have the message box and the script stopped when the notepad is open.Can I use in French system ?Sure, but you will have to change the script to check for the Frence Window Title in stead of the English title. 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.
Kip Posted May 3, 2007 Posted May 3, 2007 (edited) Standard it is: $answer = MsgBox(4, "AutoIt Example (English Only)", "This script will run Notepad type in some text and then quit. Run?") If $answer = 7 Then MsgBox(0, "AutoIt", "OK. Bye!") Exit EndIf Run("notepad.exe") WinWaitActive("Untitled - Notepad") Send("Hello from Notepad.{ENTER}1 2 3 4 5 6 7 8 9 10{ENTER}") Sleep(500) Send("+{UP 2}") Sleep(500) Send("!f") Send("x") WinWaitActive("Notepad", "No") Send("n") WinWaitClose("Untitled - Notepad") You have to change "Notepad" and every "Untitled-Notepad" in your french window title. Edited May 3, 2007 by kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API.
44110 Posted May 3, 2007 Author Posted May 3, 2007 Sure, but you will have to change the script to check for the Frence Window Title in stead of the English title.When the noteped is opened why I don't have anything typed in the notepad ?
Kip Posted May 3, 2007 Posted May 3, 2007 Did you changed every NotePad - Untitled ? MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API.
44110 Posted May 3, 2007 Author Posted May 3, 2007 Did you changed every NotePad - Untitled ?Yes i have changed NotePad -Untitled in French by WinWaitActive("Sans Titre - Bloc-notes")And put e message box after the WinWaitActive to see the action. I saw that the WinWaitActive is not executed.the running message :+>14:08:52 Starting AutoIt3Wrapper v.1.8.0>Running AU3Check (1.54.6.0) from:C:\Program Files\AutoIt3+>14:08:52 AU3Check ended.rc:0>Running:(3.2.2.0):C:\Program Files\AutoIt3\autoit3.exe "C:\Program Files\AutoIt3\Examples\notepad1.au3" And an Icon on down-left is market Scritp Paused
44110 Posted May 3, 2007 Author Posted May 3, 2007 Thank you for your answer. I have change notepad to wordpad and every thing is ok now. Merci Beaucoups
Kip Posted May 3, 2007 Posted May 3, 2007 euh, ok MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API.
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