ascii

How do i convert a text to ascii value?

There is some information in the AppleScript Guide that may help you…

The AppleScript Guide

Hi :slight_smile:
Try this small code:

set Txt to "Si meliora dies, scire velim scriptor."
set LstAscii to {}
repeat with Char in Txt
	set end of LstAscii to (ASCII number of Char)
end repeat
return LstAscii
(* --> {83, 105, 32, 109, 101, 108, 105, 111, 114, 97, 32, 100, 105, 101, 115, 44, 32, 115, 99, ¬
105, 114, 101, 32, 118, 101, 108, 105, 109, 32, 115, 99, 114, 105, 112, 116, 111, 114, 46} *)

:wink: