How to capture key strokes

Experts,
For copy and paste functionality in oracle forms tree object for node using CTRL C and CTRL V.
On KEY-OTHERS trigger I want to differentiate that the user either press CTRL C or CTRL V.
Any solution to differentiate key strokes.
Thanks,

I'm afraid that you have two options:
1) to search for a ready to use PJC in net (for example in http://fdegrelle.over-blog.com/)
2)to develop a PJC in which the java code can make this differentiation.... i mean Java has an event called 'KeyEvent'.....which catches the keys pressed ...
Greetings...
Sim

Similar Messages

  • Swing : How to add Key Stroke to JOptionPane

    I want add key stroke(ctrl+K) to JOptionPane, this should work all over application, where ever JOptionPane comes.
    Help me on this.

    Darryl Burke wrote:
    You haven't bothered to reply to camickr's response to your [url http://forums.oracle.com/forums/thread.jspa?threadID=2123891]earlier question. Maybe that's why nobody seems interested in responding to this one.
    db
    Yes, I'm thinking of boycotting people who don't change their user name from the default number assigned to them. It's too hard to distinguish each user now :)
    Its amazing how many new users don't take the time to learn how to use the forum and just start asking questions.

  • How to capture keys held down during app load

    how would i capture which keys are being held down during the start of a java application? IE: enduser clicks on my java app while pressing SHIFT+C+F so i can load a config window to set a couple of needed options specific to that environment?
    Thanks

    I don't believe there is any functionality in Java to achieve that.
    If it is a command line app., I recommend handing arguments to main() to pop the config. dialog.
    If it is a GUI'd app., add a button to the main UI, that does the same.

  • How to capture keyboard strokes while focus is on an external app. Opened with system exec

    Hi to the Forum,
    I have an application that runs an external app. Through system exec, while this application is open the user needs to input a 6 digit serial number using the keyboard, I need to capture in parallel that information on my main VI in order to perform some information validations, such as the six digits were entered, the serial number is not repeated etc. I have read other post about the same issue but did not found a practical way to achieve a solution, please help with an example of how to do that as I'm on the final stage of the project.
    Thanks in advance for your time and help.
    MRDK

    Hi MRDK,
    You can/have to use Connectivity>>Input Device Control palette functions.
    Attached is the simple example.
    Regards,
    Yogesh Redemptor
    Regards,
    Yogesh Redemptor
    Attachments:
    Get Keyboard Event.vi ‏15 KB

  • Shell extensions and key stroke capturing...

    Hello. Me and my team are working on a project which converts English input from a QWERTY keyboard to Unicodes local Indian languages like Kannada, Tamil etc. We're using Java and SWT for UI. The program should run in such a way that once the program is running, wherever the user enters, he should be able to see the unicodes/indian language output. That is, the program should be a shell extension or a it must run in the background and capture the keystrokes of the active window the user is using. We are developing this software for both windows and linux. So is it possible to create shell extensions or implement the background window(process)?
    Are there APIs in linux to capture key strokes?? Is it possible to use Win32 WinHooks in windows to capture the key strokes??
    Edited by: abhinav_zoso on Jan 8, 2009 11:35 PM

    Are there APIs in linux to capture key strokes?? Is it possible to use Win32 WinHooks in windows to capture the key strokes??Those are not java questions. Programming forums specific to the OS will provide the answer. Or docs for that matter.
    ... which converts English input from a QWERTY keyboard to Unicodes local Indian languagesThat by itself doesn't make much sense unless you are talking about language translation rather than characters.
    The ASCII code set which would normally represent the entire english character set, is part of unicode. So no conversion needed.
    But perhaps you merely wish to map set of keystrokes into other characters? I would strongly suppose that at least windows already supports this in some format so I am not sure why you need java in the mix. Certainly, for example, if you had a computer set up to display another language character set and you want to put a key stroke interceptor in place that should be possible. And if the computer is not set up to display the language then what is the point?

  • Oracle Apps 11i key strokes

    Hi,
    can someone tell me how to use key strokes to close the current open window in oracle apps?
    assume I have a parent window and a child window opened , currently i am on the child window and i would like to close it and return back to the parent window.
    Thanks

    it's ctrl + F4:
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/oracle-apps-11i-key-strokes-3468093
    Thanks

  • How do I transfer live video from the iPad to my Apple TV.  Seems there is a key stroke but I find no reference anywhere

    How do I transfer live video from the iPad to my Apple TV.  Seems there is a key stroke but I find no reference anywhere!

    http://support.apple.com/kb/HT4437
    Regards.

  • My wireless mouse does not work-how do I link it by wired keyboard?  Is there a key stroke to open system preferences?

    My wireless mouse, keyboard and keypad for my iMac have all become unlinked for some reason.  Just turned it on, no linkage.  I do have a wired keyboard that I connected in order to sign on.  Now I cannot choose system preferences and link my wireless devices without my mouse.  What key strokes are used to choose the Apple, the system preferences in the dock, or some way to start the linking process?

    First, make sure your batteries are fully charged; you can also use alkaline batteries if you want. When you insert the batteries, press the depressed button on the right side of your keyboard/wireless mouse; both should automatically "link" onto your computer via bluetooth connection.
    Also, make sure the bluetooth devices are linked by going to System Preferences/Bluetooth, and make sure the "On" and "Discoverable" boxes are checked.
    And please, post here if you've achieved success.

  • How to capture Ctrl-A, Ctrl-Z

    Hi I'm trying to build a flash application, and having
    trouble capturing key combinations such as Ctrl+A or Ctrl+Z.
    I'm doing stage.addEventListener(KeyboardEvent.KEY_DOWN,
    keyDownHandler)
    and keyDownHandler checks event.ctrlKey and event.keyCode.
    Ctrl+Y works, but most of other Ctrl + Key combinations don't
    work, I think because those key strokes are
    captured in Flash Player / Browser before captured by AS3.
    Does anyone know good solutions?

    for what it's worth, i spent a couple of intensive weeks
    developing a solution for a flash .swf embedded in a browser page
    to do exactly the kinds of things you are asking about, trapping
    all those "special" keys where the browser seems to intercept them
    and act differently, and Flash never gets to trap or respond to
    them. Things like F1, F5, F11, CTRL+N, and so on. The answer was
    that there was no good flash way to do this. But what I found was
    that in Javascript (at least in IE) I was able to trap all those
    events through various different methods, but ONLY if the document
    and NOT the flash had the window focus. So, the archaic, ugly
    solution I came up with involved making sure that the flash object
    actually never got the focus (with an onfocus="this.blur();"
    approach) and then setting up an elaborate system where I could
    trap all events in Javascript, filter them as appropriate, and then
    pass into Flash only those "events" that I wanted to let it
    process. Inside of Flash, using actionscript 3's new Event model, I
    would then simulate those events according to the values passed in
    to Flash from the javascript.
    Basically, this is like tricking flash into thinking it has
    focus, so that it tracks caret position in text fields,
    highlighting selections, etc, but actually javascript stays in
    control 99.999% of the time.
    As you can imagine, there were LOTS of gotchas in all of
    this, and a few places where I didn't even bother trying to figure
    out how to get it to work cross-browser, though I think it's
    possible with more effort/time.
    One gotcha was that some events (such as Text Entry) could
    not be properly simulated with an actual Flash event, so I had to
    manually insert characters into text boxes at the appropriate
    location based on the caret position that flash thought it had.
    After all was said and done, this was so complicated and
    tenuous that I basically basked in my glory of finding a solution
    for only a few minutes before tearing it all apart and
    re-architecting my solution from scratch. I pulled the text boxes
    out of Flash and put them in HTML, and then connected the two via
    events, etc. The end result looks and behaves the same, but is MUCH
    less obfuscated and confusing, and probably a lot more likely to
    remain functional down the line.

  • How to capture Vari Cam Footage with  PanasonicHD1200A

    Hi there. Thanks to those people who answered my previous question about the Vari Cam codec. I hate to say I am still a little confused.
    I should specifiy now that I am capturing footage from DVCPro tapes recorded on a Panonic Vari Cam (720p). The deck I am using is a panasonic HD1200A and I Have a AJA kona LS capture Card.
    I want to edit for final output for PAL, so 720x576 (it will be 4:3 letterboxed 16:9) and a frame rate of 25.
    So my question is which of Final Cut Pros many capture presets do I use. Do I need to downlaod a third party Codec.
    I tried using DVCPro HD 720p60 codec but this doesn't deliver the Data rate I was told to expect (14 mb/sec rather than 5.6mb/s). However it does seem to work. Will I simply have to scale the final movie to fit the proportions of PAL 4:3? As this is a green screen shoot how will my Key be effected by the Codec, GOP, P an B frames, or will final export with a quicktime conversion solve this. I appreciate your help in clearling up these mysterys of HD
    I am on a dual processor G5 with 3 gig of Ram.
    Thanks Sincerely
    Peter Stenhouse

    Great! It was shot at 720p25 (so i'm told) there was no use of the variable fps.
    I'm not delivering a DV master I want to deliver broadcast quality and as I also dong alot of post, a green screen key, I need the best quality possible. We shot on HD because, we originally we were going to shoot some slo mo. Typically the director changed his mind, didn't shoot any and now I am going through HD **** for no real reason (though the more filmic color space will be nice I am sure)
    Via Component sounds like a good idea, though I still need to adjust the deck to output 25fps rather than 30, which it somehow seems to be doing at the moment.
    Ordinarily I would capture from digibeta, but we only have the HD deck over the weekend so don't have the luxury of capturing offline RT and then onlining 8 bit uncompressed has I normally do. But I digress.
    I don't particularly want to have to work at 30 or 60 fps, beacues I never have before, and because the final output is for PAL Broadcast.
    I really appreciate your advice, the glimmers of hope that your words of wisdom provide.
    Sincerely
    Peter Stenhouse
    Excuse the ranting, I'm pretty stressed, I hate colliding with the first hurdle this hard.

  • How to capture a parameter value in SQL QUERY of scale marker using GO URL

    Hi,
    Can any one please tell me how to capture the parameter value from go url inside Where clause of Scale Marker.
    I am trying to sift the position of scale marker based on SQL Query.
    Thanks-Bhaskar Gouda.
    Edited by: 961171 on Sep 25, 2012 12:33 AM

    Since this is a synchronous interface, where source is a soap(proxy) call and target is JDBC in the first mapping both of them are request scenarios.
    Source Structure:
    RootNode
        Request             1...unbounded
           No_of_Days   1.1 String
    Target Structure:
    RootNode
       Statement
         TableName
             Action mapped to SQL_QUERY
            Access -  SELECT DISTINCT AL.EC_NO,DP.DATE_TO_FORMAL FROM T_APPLICATION_LIST AL,(SELECT DE.EC_NO AS "EC_NO", DE.PACKAGE_NO AS "PACKAGE_NO",PC.DATE_TO_FORMAL AS "DATE_TO_FORMAL" FROM DAICYO_ECNO DE,PACKAGECTL PC WHERE DE.PACKAGE_NO = PC.PACKAGE_NO AND PC.DATE_TO_FORMAL > (TRUNC(SYSDATE) - to_number('$No_Of_DAYS$'))) DP WHERE AL.EC_NO IN  (SELECT EC_NO FROM DAICYO_ECNO WHERE PACKAGE_NO IN (SELECT PACKAGE_NO FROM PACKAGECTL WHERE DATE_TO_FORMAL > (TRUNC(SYSDATE) - to_number('$No_Of_DAYS$')))) AND (AL.FAMILY = ''  or  '' is null and AL.FAMILY is not null ) and DP.EC_NO = AL.EC_NO ORDER BY DATE_TO_FORMAL
         Key
          No_Of_Days   1..1 String
    In Return I am expecting a JDBC response from the Oracle Database as:
    Source Structure:
    RootNode
      STATEMENT_response   1...unbounded
         row                               0...undbounded
           EC_NO                        1..1   String
    Target Structure:
    RootNode
      RESPONSE
        row
         EC_NO                     1..1     String

  • My G5 won't boot up. The Gray screen comes on and it thinks about it until the fan revs up like it is about to explode. A friend said to start it up with the OS disk and then go to utilities. Didin't work. Any suggestions? Isn't there a key stroke to help

    Oh, so this is where I ask my question. Sorry, first time here. As I was saying in my long intro, the gray screen come up and the thing is spinning at the bottom, but nothing happens. Then the fan starts reving up like it is about to explode and I have to manually shut it off. A friend told me to start it up with the OS disk and then go to utilities. I couldn't find the thing, so I went out and bought another. Needless to say, it didn't work. Is there a key stroke to help jump start the machine? How can I get into this thing? I would prefer not to take it in because there are a lot of things on there I don't want just anyone to have access to.Thanks, in advance, for your help!

    The last time you had to hold down cmd opt pr more than twice was a decade ago....
    G5? PowerPC? 10.5? or earlier....
    https://discussions.apple.com/community/desktop_computers/power_mac?view=discuss ions
    Apple has a number of resources like "Power or Startup Quick Assist"
    http://support.apple.com/kb/HT1149
    Your drive does need to be repaired, and best things to buy are another backup recovery drive, with a small OS X partition; a copy of Disk Warrior is expensive @ $90 but excellent and best.
    Never bother with or use the drive or reinstall while there are errors. Don't take a "clean' bill from Apple Disk Utility to mean there are no errors. Only that it didn't find what it looked for.
    http://www.macintouch.com/readerreports/harddrives/topic4557.html#d12aug2010
    http://www.alsoft.com/DiskWarrior/index.html
    A quick search "keyboard shortcuts" takes you here:
    http://support.apple.com/kb/HT1343
    how to resolve and fix startup issues with fsck and disk utility:
    http://support.apple.com/kb/TS1417
    http://macperformanceguide.com/Mac-HowToClone-backup.html
    http://macperformanceguide.com/Mac-HowToClone.html
    How to use DU to backup and restore
    http://support.apple.com/kb/HT1553
    http://www.alsoft.com/DiskWarrior/index.html
    http://www.bombich.com/ccc_features.html
    Make sure to have multiple backup sets and of your system so if there is a serious problem, you can just erase and restore to be back runninig.
    Sounds like your G5 though needs PMU reset, not PRAM, and the best way for those is to clear nvram instead. might even want to check for dust; tell what System Profile says (later) as to "PowerMacX,Y" or "MacProX,1"
    http://www.apple.com/support/powermac or /macpro
    http://www.apple.com/support/sitemap/
    The Utility menu is on the menu bar of an "OS X Install DVD" and at the point where you get to but stop at "install....' for OS X. you probably do need to install OS X on another drive to work from.
    Oh, a real severe issue and damage to the drive directory or filesystem CAN in cases prevent booting from DVD (the system still tries to find and see what boot volumes are present) and can help to pull or disconnect the drive. Putting a drive in a FW case to turn on after startup is very useful.

  • How to capture the event in ALV grid display?

    Hi experts,
      How to capture the event in an ALV grid display which is editable. I have to capture the TAB key or ENTER key.
    regards,
    Arul Jothi.

    Hi Arul,
    Take a look at sample program BCALV_EDIT_03. (Find string "register ENTER" in the program to see how to register)
    Basically you have to Register edit events using method call REGISTER_EDIT_EVENT and then write a handler method for event DATA_CHANGED..
    If you are using a REUSE..GRID fm then first get the grid reference using function module GET_GLOBALS_FROM_SLVC_FULLSCR and then repeat the above procedure..
    Hope this helps..
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • How to capture values dynamically from output screen

    Hi all,
    I have a new requirement.
    i developed a report which is showing output correctly. Here i have to take a check box for every record in output screen. if i check some of the check boxs then it should allow for further processing.
    i succeeded upto put checkboxes on output screen.
    but i don't know how to capture the values of checkboxes of every record into an internal table. it is necessary to capture into an internal table
    will it be work by using LOOP AT SCREEN statement.
    could you please explain with examples. it is normal report program only.
    i would appreciate an early reply
    Regards
    Prabhakar

    Sample code for usage:
    Internal table for Region and its Description
      data: begin of t_t005u occurs 0,
             LAND1 like t005u-land1,
             BLAND like t005u-bland,
             Bezei like t005u-bezei,
            end of t_t005u.
    Ranges for Country
      ranges: r_land1 for t005u-land1.
    Get the country codes and their descriptions
        refresh r_land1.
        clear r_land1.
      refresh t_dynpfields.
      move 'V_LAND1' to t_dynpfields-fieldname.
      append t_dynpfields.
      clear t_dynpfields.
    Read the value in the Country field on the screen
      call function 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = 'SAPLZ_VENDOR_MASTER'
          dynumb               = '0004'
          translate_to_upper   = 'X'
        TABLES
          dynpfields           = t_dynpfields
        EXCEPTIONS
          invalid_abapworkarea = 01
          invalid_dynprofield  = 02
          invalid_dynproname   = 03
          invalid_dynpronummer = 04
          invalid_request      = 05
          no_fielddescription  = 06
          undefind_error       = 07.
      read table t_dynpfields with key fieldname = 'V_LAND1'.
      if not t_dynpfields-FIELDVALUE is initial.
        r_land1-low = t_dynpfields-FIELDVALUE.
        r_land1-sign = 'I'.
        r_land1-option = 'EQ'.
        append r_land1.
        clear r_land1.
      endif.
    Get the Regions to be displayed as F4 Help
      select land1
             bland
             bezei
        from t005u
        into table t_t005u
       where spras = 'EN'
         and land1 in r_land1.
      if not t_t005u[] is initial..
    Popup to display Valid Regions for the selected country
        CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
          EXPORTING
            ENDPOS_COL   = 60
            ENDPOS_ROW   = 40
            STARTPOS_COL = 40
            STARTPOS_ROW = 20
            TITLETEXT    = 'Region'
          IMPORTING
            CHOISE       = v_choice
          TABLES
            VALUETAB     = t_t005u
          EXCEPTIONS
            BREAK_OFF    = 1
            OTHERS       = 2.
        if sy-subrc = 0.
          if v_activity = 'V'.
            read table t_t005u index v_choice.
            if sy-subrc = 0.
              v_regio = t_t005u-bland.
              move 'V_BEZEI' to t_dynpfields-fieldname.
              move t_t005u-bezei to t_dynpfields-fieldvalue.
              append t_dynpfields.
    Update the Region description on the screen.
              call function 'DYNP_VALUES_UPDATE'
                EXPORTING
                  dyname               = 'SAPLZ_VENDOR_MASTER'
                  dynumb               = '0004'
                TABLES
                  dynpfields           = t_dynpfields
                EXCEPTIONS
                  invalid_abapworkarea = 01
                  invalid_dynprofield  = 02
                  invalid_dynproname   = 03
                  invalid_dynpronummer = 04
                  invalid_request      = 05
                  no_fielddescription  = 06
                  undefind_error       = 07.
            endif.
          endif.
        endif.
      endif.

  • How to Capture the user command value instead of ucomm and pfkey from syst

    Hi,
    How to capture the value of enter key in the enhancements.
    Iam getting the sy-ucomm value as space. Please let me know the better solution ASAP.
    regards
    Nagendra

    Hello,
    If is a module pool program, take a look to the variable defined to receive the user-command (you can see this in the screen painter).
    Regards.

Maybe you are looking for