Saturday, July 21, 2018

#1 2003-07-05 10:07:48 pm

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

Copy all Mac ASCII characters to the clipboard

I often need a list of all available characters (useful for building scripts that convert text to HTML entities or various other purposes). This script generates a string of all characters and places it on the clipboad.

OS version: Any

Applescript:

set the_string to ""
repeat with i from 32 to 255
   set the_string to the_string & (ASCII character i)
end repeat
set the clipboard to the_string
return the_string


One mans trash is another mans treasure

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)