ScriptToEmail - The Adventure Continues
ScriptToEmail - The Adventure Continues
- Subject: ScriptToEmail - The Adventure Continues
- From: has <email@hidden>
- Date: Sat, 29 Sep 2001 23:03:33 +0100
And so it goes on...;)
Havard confirmed what I thought: key combos vary wildly once you get away
from UK/US layouts. So either I use character names (verbose, but
reliable), or stick with keyboard shortcuts and get flamed to a crisp for
cultural imperialism.;)
Here's a first attempt at a name-based list. I've still left accented
letters as ASCII codes - I've never seen any of these characters used
within a script, so not sure if they're worth doing.
I've mostly used 'proper' names but there's a couple of colloquial ones
too, particularly the <cough> delightfully-named "WONKY-L" and "WAVY-F",
aka "not" and "florin". These are commonly-used, but I think calling them
by their proper names is a bit esoteric and not very descriptive. I'm not
sure of the best name for the NOT sign: I think [NOT] would get confused
with [NOT-EQUAL]; besides in AS it's used as a continuation character, not
as a 'not'. FLORIN's not much better. So if anyone has better suggestions
than 'wonky' or 'wavy', please(!) post 'em.
has
-----------------------------------------
property conversionlist : {"[ASCII-128]", "[ASCII-129]", "[ASCII-130]",
"[ASCII-131]", "[ASCII-132]", "[ASCII-133]", "[ASCII-134]", "[ASCII-135]",
"[ASCII-136]", "[ASCII-137]", "[ASCII-138]", "[ASCII-139]", "[ASCII-140]",
"[ASCII-141]", "[ASCII-142]", "[ASCII-143]", "[ASCII-144]", "[ASCII-145]",
"[ASCII-146]", "[ASCII-147]", "[ASCII-148]", "[ASCII-149]", "[ASCII-150]",
"[ASCII-151]", "[ASCII-152]", "[ASCII-153]", "[ASCII-154]", "[ASCII-155]",
"[ASCII-156]", "[ASCII-157]", "[ASCII-158]", "[ASCII-159]", "[DAGGER]",
"[DEGREE]", "[CENT]", "[POUND-STERLING]", "[SECTION]", "[BULLET]",
"[PARAGRAPH]", "[ASCII-167]", "[REGISTERED-TRADEMARK]", "[COPYRIGHT]",
"[TRADEMARK]", "[ASCII-171]", "[ASCII-172]", "[NOT-EQUAL]",
"[UPPERCASE-AE-LIGATURE]", "[UPPERCASE-SLASHED-O]", "[INFINITY]",
"[PLUS-OR-MINUS]", "[LESS-THAN-OR-EQUAL]", "[GREATER-THAN-OR-EQUAL]",
"[YEN]", "[MICRO]", "[PARTIAL-DIFFERENTIAL]", "[SUMMATION]",
"[UPPERCASE-PI]", "[LOWERCASE-PI]", "[INTEGRAL]", "[FEMININE-ORDINAL]",
"[MASCULINE-ORDINAL]", "[OMEGA]", "[LOWERCASE-AE-LIGATURE]",
"[LOWERCASE-SLASHED-O]", "[INVERTED-?]", "[INVERTED-!]", "[WONKY-L]",
"[SQUARE-ROOT]", "[WAVY-F]", "[APPROXIMATELY-EQUAL]", "[TRIANGLE]",
"[LEFT-DOUBLE-CHEVRON]", "[RIGHT-DOUBLE-CHEVRON]", "[ELLIPSIS]",
"[NON-BREAKING-SPACE]", "[ASCII-203]", "[ASCII-204]", "[ASCII-205]",
"[UPPERCASE-OE-LIGATURE]", "[LOWERCASE-AE-LIGATURE]", "[N-DASH]",
"[M-DASH]", "[LEFT-DOUBLE-QUOTE]", "[RIGHT-SINGLE-QUOTE]",
"[LEFT-SINGLE-QUOTE]", "[RIGHT-SINGLE-QUOTE]", "[DIVISION]", "[DIAMOND]",
"[ASCII-216]", "[ASCII-217]", "[FRACTION-SEPARATOR]", "[EURO]",
"[LEFT-SINGLE-CHEVRON]", "RIGHT-SINGLE-CHEVRON", "[FI-LIGATURE]",
"[FL-LIGATURE]", "[DOUBLE-DAGGER]", "[DECIMAL-POINT]",
"[BASE-SINGLE-QUOTE]", "[BASE-DOUBLE-QUOTE]", "[PER-THOUSAND]",
"[ASCII-229]", "[ASCII-230]", "[ASCII-231]", "[ASCII-232]", "[ASCII-233]",
"[ASCII-234]", "[ASCII-235]", "[ASCII-236]", "[ASCII-237]", "[ASCII-238]",
"[ASCII-239]", "[APPLE]", "[ASCII-241]", "[ASCII-242]", "[ASCII-243]",
"[ASCII-244]", "[ASCII-245]", "[ASCII-246]", "[ASCII-247]", "[ASCII-248]",
"[ASCII-249]", "[ASCII-250]", "[ASCII-251]", "[ASCII-252]", "[ASCII-253]",
"[ASCII-254]", "[ASCII-255]"}
set theList to ""
repeat with x from 1 to 128
set theList to theList & ((ASCII character (127 + x)) & tab & tab &
item x of conversionlist & return)
end repeat
theList