AscentialTest Support Hub

Notifications

Clear all

Typing Unicode Characters



1

Posts


1

Users


0

Reactions


21

Views

(@blesuer)
Member Admin

Joined: 4 months ago
Posts: 33

Topic starter
 

SetText and GenKeyEvents do not support typing special characters such as ‘Ã’ There are two different ways to solve this problem:

1. Generate the keystrokes needed to insert this character using Alt and then
entering the unicode value on the numeric keypad. The following is an example for à :

AdvHomePage.Search.Term.SetText (“”) // Clear it first
AdvHomePage.Search.Term.TypeKeys (“<Alt:Press><#0><#1><#9><#5><Alt:Release>”) // 0195 is the unicode value for Ã

2. As an alternative, you can copy any string the clipboard and then insert the text as follows:

System.SetClipboard ({“Ô})
AdvHomePage.Search.Term.SetText (“”) // Clear it first
AdvHomePage.Search.Term.TypeKeys (“<Ctrl-V>”)



   

Quote

Share:

Can’t Find An Answer in the Forum?

Contact Our Team