set x to "One" as string
set y to "x" as string
set gg to (get y) -- This give "x" but I need "One"
--display alert (gg as text) as informational -- "x"
set gg to getMyNamedVar(y)
display alert (gg as text) as informational -- "One"
to getMyNamedVar(varName)
run script "on run {obj}" & return & "obj's " & varName & return & "end" with parameters {me}
end getMyNamedVar
Model: iBook G4 933
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)