Hi,
Well...I'm not sure. Try this:
If(key_down(KEY_LMENU))
{
If(key_down(KEY_F4))
//do something
}Best Regards, Hayden -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kai Sent: Sunday, January 02, 2011 8:14 PM To: Gamers Discussion list Subject: Re: [Audyssey] BGT Key_down and Key_Pressed Incompitability Greetings Liam. I actually just edited the function to look for a key pressed event with escape. Was simpler than having a two-step check. I have JAWS set to sleep with BGT.exe, so that shouldn't be an issue, but it persists with JAWS completely unloaded. This is definitely a workable workaround, but I'm curious if there's a solution to make this line actually work: if((key_down(KEY_LMENU))&&(key_pressed(KEY_F4))) Kai ----- Original Message ----- From: "Liam Erven" <[email protected]> To: "'Gamers Discussion list'" <[email protected]> Sent: Sunday, January 02, 2011 5:51 PM Subject: Re: [Audyssey] BGT Key_down and Key_Pressed Incompitability > It has to do with direct input > What I usually do is change that to look for escape instead of alt f4, > then > I hold down shift and press escape. It is much easier if you don't use > jaws, but of course this isn't always an options. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Kai > Sent: Sunday, January 02, 2011 7:48 PM > To: Gamers Discussion list > Subject: [Audyssey] BGT Key_down and Key_Pressed Incompitability > > greetings Philip et al. > > For some reason, the Key_down and Key_pressed functions won't seem to work > together on my system. For example, many of the tutorials terminate the > example with left alt+f4, but whenever I hit that key combination, nothing > happens. I can change the function to just a key pressed event and it'll > work fine, but the key down event plus the key pressed event refuses to > cooperate. anyone else having this issue or a solution thereof? > > Kai > > > --- > Gamers mailing list __ [email protected] If you want to leave the list, > send E-mail to [email protected]. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/[email protected]. > If you have any questions or concerns regarding the management of the > list, > please send E-mail to [email protected]. > > > --- > Gamers mailing list __ [email protected] > If you want to leave the list, send E-mail to > [email protected]. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/[email protected]. > If you have any questions or concerns regarding the management of the > list, > please send E-mail to [email protected]. --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [email protected]. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[email protected]. If you have any questions or concerns regarding the management of the list, please send E-mail to [email protected]. --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [email protected]. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[email protected]. If you have any questions or concerns regarding the management of the list, please send E-mail to [email protected].
