Ticket #462: unicode_test.au3

File unicode_test.au3, 1.0 KB (added by sorin.sbarnea+autoit@…, 15 years ago)
Line 
1; This file is UTF-8 encoded (with BOM)
2;
3; Unicode test for the following 3 Unicode characters
4;
5; U+0219 LATIN SMALL LETTER S WITH COMMA BELOW
6; U+0103 LATIN SMALL LETTER A WITH BREVE
7; U+021B LATIN SMALL LETTER T WITH COMMA BELOW
8;
9; Warning: this will work well in Vista by default.
10;
11; For XP you need to install European Union Font Expansion Pack
12; from http://www.microsoft.com/downloads/details.aspx?familyid=0EC6F335-C3DE-44C5-A13D-A1E7CEA5DDEA&displaylang=en
13; because two of the 3 characters tested here are not included in default fonts from Windows XP.
14
15; Test waits for you to open the Run dialog and enters in the input box the text unsing 3 methods.
16; as you will see the ASC method does not work.
17WinWaitActive("Run")
18ClipPut ("CLIPBOARD[șăț]")
19
20Send("{CTRLDOWN}V{CTRLUP}")
21
22Send("ASC[{ASC 0x219}{ASC 0x103}{ASC 0x21B}]")
23
24Send("ALT[{ALTDOWN}+{NUMPADADD}{NUMPAD2}{NUMPAD1}{NUMPAD9}{ALTUP}{ALTDOWN}+{NUMPADADD}{NUMPAD1}{NUMPAD0}{NUMPAD3}{ALTUP}{ALTDOWN}+{NUMPADADD}{NUMPAD2}{NUMPAD1}b{ALTUP}]")
25