Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

For your #2:

HyperCard is primarily mouse-oriented; I don't believe there's a way to add keyboard shortcuts (without writing an XCMD in another language like Pascal). Instead you'd add a button into the other stack (probably on the background) to 'go to "UtilityStack"'.

This would take you to the first card of the stack you'd created, which naturally takes over since it's the one being shown (no need to explicitly 'steal' events). Once you're done there, either use Go > Back (Cmd+B, I believe) or have a button on the card with the script 'go back'. This takes you to the previous card the same way that the back button in your browser would, and likewise events now go to that card with no explicit rebinding required.



I think you could add keyboard shortcuts. You could definitely add menu items (http://folkstream.com/muse/teachhc/menu/menu.html) and you could intercept keydown events at the stack level.


Huh, interesting. They must have added that in a later version than I was using, my copy of "The Complete HyperCard Handbook" doesn't mention "create menu" or keyDown handlers at all. Thanks for the correction!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: