How to make onKeyDown specific to one key?

Hi,

I want to configure an Request print action based on an onKeyDown event. However, I only want it to work for an specific key (i.e. Ctrl or Alt) to let the user be able to write on that component. The component I am working on is a Power Chart, and there are some settings like name assignment and other functionalities that require text input from the user.

I know the event has properties I can access from a Script action (event.altKey) but I dont know how that event action script can trigger the Request Print.

Thanks,
Danny

You asked this question just a little while ago over here:

Multiple posts are against this forum's rules.