Re: Overriding QT's behavior
I have an app in which I have a QT movie AND I need to do unique things when the user presses the Return key. It seems that QT is overriding the Return key, using it to toggle movie playback; it ignores the Enter key, which lets me do what I need. How can I get control of the Return key back from QT? Turn off traversalOn. Last night in a wild fit of random testing, I stumbled across that solution and it does seem to work well. In fact, too well, or at least unorthogonally well: Why would traversalOn affect the input of some keys (Return) but not others (arrow keys)? This turns out to be the exact behavior I wanted, but it seems inconsistent conceptually. Also, why is the propery called "traversalOn" rather than simply "traversal"? Most of the language simply has a state descriptor as a property name for Boolean property values ("hilite", "allowInterrupts", etc.), and it seems clumsy to my ear to put the "On" after it -- can you imagine if other properties followed suit (e.g., "allowInterruptsOn")? -- Richard Gaskin Fourth World Media Corporation Multimedia Design and Development for Mac, Windows, UNIX, and the Web _ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 ICQ#60248349Fax: 323-225-0716 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Overriding QT's behavior
On 23/2/01 8:47 pm, Richard Gaskin [EMAIL PROTECTED] wrote: I have an app in which I have a QT movie AND I need to do unique things when the user presses the Return key. It seems that QT is overriding the Return key, using it to toggle movie playback; it ignores the Enter key, which lets me do what I need. How can I get control of the Return key back from QT? Turn off traversalOn. Kevin Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited (formerly Cross Worlds Computing). Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: Overriding QT's behavior
I don't do much with quicktime but would putting the returnKey handler in the player might do it. If you need it in the card script you could send it to the card with the handler in the player. I have an app in which I have a QT movie AND I need to do unique things when the user presses the Return key. It seems that QT is overriding the Return key, using it to toggle movie playback; it ignores the Enter key, which lets me do what I need. How can I get control of the Return key back from QT? -- Richard Gaskin Fourth World Media Corporation Multimedia Design and Development for Mac, Windows, UNIX, and the Web _ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 ICQ#60248349Fax: 323-225-0716 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Overriding QT's behavior
I have an app in which I have a QT movie AND I need to do unique things when the user presses the Return key. It seems that QT is overriding the Return key, using it to toggle movie playback; it ignores the Enter key, which lets me do what I need. How can I get control of the Return key back from QT? -- Richard Gaskin Fourth World Media Corporation Multimedia Design and Development for Mac, Windows, UNIX, and the Web _ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 ICQ#60248349Fax: 323-225-0716 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.