[Prev][Next][Index][Thread]
Re: Need help: HyperCard 2.1
Rick Ho (a484howa@cdf.toronto.edu) wrote:
> I need help for using HyperCard 2.1 under E/D 1.99q.
> HyperCard script allows Command-Clicking and Option-Clicking, which the
> script checks for OptionKey or CommandKey when clicking on a button. I
> don't know if this is a bug or incompatibility, but it just doesn't work
> when I click on a button with the Option (Right-Alt) Key depressed.
> Can someone please help.
> Rick
> rick.ho@utoronto.ca
I tried a simple script with HyperCard 2.1 under E/NS 1.99q9. I took
the script from HyperTalk 2.0: The Book by Winkler and Kamins. If I
hold down the option key and am using the browse tool, I can drag
the button. (My Option key is the NeXTstation Alternate key.)
Here's the script:
-- lets you drag the button if option key is down
-- from HyperTalk 2.0: the book, by Winkler and Kamins
on mouseDown
if the optionKey is up then pass mouseDown
repeat until the mouse is up
set loc of me to the mouseLoc
end repeat
exit to HyperCard -- suppress mouseUp
end mouseDown
on mouseUp
play "boing"
end mouseUp
By the way, someone complained earlier about not being able to run
HyperCard. They were trying HyperCard 1.2.1. As far as I know, you
have to use at least HyperCard 2.0. As with other apps, ARDI supports
more recent versions and won't work on getting older versions to run
if a more recent version works. I haven't tried later versions (beyond
HyperCard 2.1) or the Executor 2 Beta.
Beth Katz
katz@cs.millersv.edu
http://cs.millersv.edu/~katz
References: