Skip navigation
Currently Being Moderated

How can I catch a keyboard input and return another character to Framemaker?

Feb 26, 2013 9:06 AM

Tags: #framemaker #extendscript #scripts

Hi,

 

I want to catch an keyboard input and return another character to Framemaker, like e.g. changing a "y" I type into my computer into a "z" and vice versa or changing the arrow key "right" into "Tab".

 

For me, the biggest issue in this is to find a solution to catch the keyboard input by ExtendScript for further processing. I tried the Notify-function, but it doesn't seem to work like described in the Scripting Guide and I have no idea how to make it work. I hope that someone here knows a solution for at least the keyboard input issue.

 

Thank you in advance.

 
Replies
  • Currently Being Moderated
    Feb 26, 2013 9:13 AM   in reply to J.Kahl

    Are you sure about this? Processing every character while it is pressed on the keyboard using a script might seriously kill the performance of your FrameMaker.

     

    Just trying to bring in some kind of reality check...

     

    Jang

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 26, 2013 11:33 AM   in reply to J.Kahl

    I think there is an example of this in the FDK documentation. You will have to modify it to work with ExtendScript, but if it works in the FDK, it should work with ExtendScript.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points