Re: Coerce String to Handler?
Re: Coerce String to Handler?
- Subject: Re: Coerce String to Handler?
- From: "M.S.R.F. Schonewille" <email@hidden>
- Date: Sun, 15 Apr 2001 18:39:50 +0200
- Organization: University of Nijmegen
Great...great...great...I like this very much. HyperCard has been able to do
this for a very, very long time. In HC, you can use HyperTalk (now don't stop
reading) to write a script and put this script into a variable. Then simply <do
script> and the HyperTalk script is executed. HyperCard also does AppleScript:
language: HyperTalk
on mouseUp
put "tell finder" & return &,
"beep" & return & "end tell" into theScript
do theScript as appleScript
end mouseUp
This script could be used in a button or field, or could be called from another
script. Of course, any handler and any AS would do. To me, it seems that people
at Apple have been very, very keen but they (almost) forgot about it. This
fanstastic capability has existed for years, already.
By the way, there are several HyperCard based applications that create HTML
pages, LiveCard puts entire HyperCard documents (stacks) on the web, and yes,
combining all this with AS CGIs would be wonderful. It can be done.
Mark
Timothy Bates wrote:
>
>
>
If anyone at apple was keen, calling by name is a fantastic capability for a
>
language, and is really essential for handling html forms which can have
>
variable variables, if you get what I mean.