Example below:
Code: Select all
https://qaz.wtf/u/convert.cgi?text=test+one+two+three
Code: Select all
https://qaz.wtf/u/convert.cgi?text=test+one+two+three
Code: Select all
;Math Sans Bold
Text = Test: 0=Zero 9=Nine
Unicode =
Loop, Parse, Text
{
Asc := Asc(A_LoopField)
IF Asc between 48 and 57 ;0 and 9
Unicode .= Chr(120764 + Asc)
Else IF Asc between 65 and 90 ;A and Z
Unicode .= Chr(120211 + Asc)
Else IF Asc between 97 and 122 ;a and z
Unicode .= Chr(120205 + Asc)
Else
Unicode .= A_LoopField
}
MsgBox,% Unicode
Code: Select all
q::
Send, ^c
Sleep, 100
ToolTip,% Ord(ClipBoard)
Return ;Returns the ordinal value (numeric character code) of the first character
Code: Select all
https://i.imgur.com/Lws8kYP.png
Code: Select all
;Math Sans Bold
Text = Test: 0=Zero 9=Nine
Unicode =
Loop, Parse, Text
{
Asc := Asc(A_LoopField)
IF Asc between 48 and 57 ;0 and 9
Unicode .= Chr(120764 + Asc) ;120302 not found anywhere here, so how do we use it after getting the number from tooltip?
Else IF Asc between 65 and 90 ;A and Z
Unicode .= Chr(120211 + Asc)
Else IF Asc between 97 and 122 ;a and z
Unicode .= Chr(120205 + Asc)
Else
Unicode .= A_LoopField
}
MsgBox,% Unicode