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.

Similar Messages

  • I have lost my Safari app and all the bookmarks that go with it. I have tried to download my back-up on external drive but cannot access it. Tried a start with C key held down but still no access to the back-up app.

    I have lost my Safari app and all the bookmarks that go with it. I have tried to download my back-up on external drive but cannot access it. Tried a start with C key held down but still no access to the back up app.
    Have used Superduper app. to back up and checked back-up occasionally to see if all files present  and appeared OK.
    I had previously started machine using original CD #1 to try and replace Eudora which was acting up. Did not knowingly touch Safari.
    Running iMAC System 10.4.11
    How can I successfully download from the Maxtor back-up?
    Ivan

    Further info.
    I checked the content of my other back-up and found the bookmark Bookmarks.plist in the library under Safari
    Dumped the existing copy in the computer and drag-dropped the back up. All bookmarks restored.
    Solved the Stickies problem by using Spotlight  to find file "stickiesdatabase" and did a drag- drop to replace file. All data restored.
    Re Ical data loss. Used Spotlight to find iCal document in  Library - Preferences where I found com.apple.iCal.plist in folder.
    Got ready to make change but did not immediately remove file. When I returned to Preferences folder to grab above document,
    the readable descriptors had been changed to code consisting of some upper case letters and/or single symbols!
    So now I cannot tell which is the symbol  iCal.plist
    Thanks for leading me so far, but how do I find that plist for my calendar?

  • How do I resolve this error message? The iPhoto library is on a locked volume.  Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library.

    How do I resolve this error message? The iPhoto library is on a locked volume.  Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library.

    Hi j,
    I don't know if this will work, but I'd try logging in to an admin account, going to your main library (not user library), opening it, opening Application Support, selecting iPhoto, hold down the command key and press i, click on the lock in the lower left, entering the password and making sure you have Read & Write privileges for System and Admin.

  • When starting up my iMac with Option Key held down, my recovery partition shows 10.9 instead of 10.10.  How do I install the correct recovery partition?

    iMac (27-inch, Mid 2011)
    Yosemite 10.10.1
    When I start up my iMac with option key held down, the recovery partition is shown as 10.9 instead of 10.10 which is the installed version.
    How do I install the proper recovery partition?

    Thanks very much for the quick reply.  I figured it would something that simple.  Like I said, I only know enough to cause trouble.  LOL
    Thanks again,  Guess I need to find a new game to play.  LOL

  • After silverlight update laptop acts as if shift key held down

    After silverlight update laptop acts as if shift key held down, i.e. all caps, no numbers, it means I can't input passwords or open folders or select single items. Called Apple Help and they walked me through reinstlling OS from disk and it helped for about 12 hours. Now it shuffles between this ALLCAPS version and regular mode and won't allow me to reinstall anything. Any ideas? Thanks!

    lynnefromoakland wrote:
    HI tjk,
    Thanks for replying! I didn't do anything else during the 12 hours of normal use--the Silverlight update followed one of those automated updates that caused Netflix streaming to stop working. I haven't re-callled Apple Support because when I initially described the problem to the tech, he said to do the reinstall and if that didn't work I should bring the laptop in to one of the stores and see what they could do there. If the problem continues, will have to do that this weekend, I guess. . .
    Lynne
    Ok, that like means the AppleCare representative thinks there may be a hardware issue. One other thing you can try is an SMC Reset: http://support.apple.com/kb/HT3964

  • The iPhoto library is a Time Machine backup, and so cannot be used as the main library. Reopen iPhoto with the Option key held down to choose another library.

    I recently tried to look up my pictures on my time machine back up on an external hard drive. As soon as I try to open it I get the following message.
    "The iPhoto library is a Time Machine backup, and so cannot be used as the main library. Reopen iPhoto with the Option key held down to choose another library."
    I have tried holding down the option key but still couldn't few the photos.
    I want to know if there is anyway I can actually view these photos. I have over 85gbs of photos on the hard drive.  I have tried googling and looking at pervious forums with the same problem but nothing is working.
    Please help!

    Select Mac Help from the Finder's Help menu. Search for "Restore items backed up with Time Machine."

  • This message shows up when I try to access my auxiliary iPhone library: "The iPhoto library is on a locked volume. Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library."

    This message shows up when I try to access my auxiliary iPhone library: "The iPhoto library is on a locked volume. Reopen iPhoto when you have read/write access, or reopen iPhoto with the Option key held down to choose another library."
    What did I do wrong?  I have been downloading all my photos into this same library since Janurary with no problems.

    What version of Mac OS X?
    Click the black Apple icon on the top left of the screen and select About This Mac. The next screen will show the information.

  • How to debug a transfer rule during data load?

    I am conducting a flat file (excel sheet saved as a CSV file) data load.  The flat file contains a date field and the value is '12/18/1988'.  In transfer rule for this field, I use a function call to transfer this value to '19881218' which corresponds to BW DATS format, but the monitor of the InfoPackage shows red error:
    "Value '1981218' of characteristic 0DATE is not a number with 000008 spaces".
    Somehow, the last digit or character of the year 1988 was cut and the year grabbed is 198 other than 1988.  The function code is (see below in between two * lines):
    FUNCTION ZDM_CONVERT_DATE.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(CHARDATE) TYPE  STRING
    *"  EXPORTING
    *"     REFERENCE(DATE) TYPE  D
    DATA:
    c_date(2) TYPE c,
    c_month(2) TYPE c,
    c_year(4) TYPE c,
    c_date_combined(8) TYPE c.
    data: text(10).
    text = chardate.
    search text for '/'.
    if sy-fdpos = 1.
      concatenate '0' text into text.
    endif.
    c_month = text(2).
    c_date = text+3(2).
    c_year = text+6(4).
    CONCATENATE c_year c_month c_date INTO c_date_combined.
    date = c_date_combined.
    ENDFUNCTION.
    Could experts here tell me what's wrong and also tell me on how to debug a transfer rule during data load?
    Thanks

    hey Bhanu/AHP,
    I find the reason.  Originally, I set the character length for the date InfoObject ZCHARDAT1 to 9, then I find the date field value (12/18/1988)length is 10.  Then I modified the InfoObject ZCHARDAT1 length from 9 to 10 and activated it already.  But when defining the transfer rule for this field, before the code screen, click the radio button "Selected Fields" and pick the filed /BIC/ZCHARDAT1, then continue to go to the transfer rule code screen, but find the declaration lines for the infoObject /BIC/ZCHARDAT1 is as following:
      InfoObject ZCHARDAT1: CHAR - 000009
        /BIC/ZCHARDAT1(000009) TYPE C,
    That means even if I've modified the length to 10 for the InfoObject and activated it, but somehow the transfer rule code screen always takes the old length 9.  Any idea to have it fixed to take the length 10 in the transfer rule code screen defination?
    Thanks

  • How do I close Apps on the Version 7? Previously I held down the App until a cross appeared and then I could shut it down. In the Version 7, Apps appear to remain once opened. I am wondering what that does to the battery?

    How do I close Apps on iPhone 4 Version 7? Previous versions entailed holding down the App until a cross appeared then it could be closed.

    Double-tap the home button and then swipe UP on the app preview window...not the icon but the preview window above the icon.

  • Sending keystrokes with keys held down

    Hello,
    I am trying to develop a program which will allow me to send keystrokes to another application (possibly not Java) based on a programmatically produced script. Similar to a macro program.
    Ideally, I would like to be able to send keystroke combinations including periods where 1 or more keys are held down (other than normal control keys such as SHIFT and ALT). For example, I would like to be able to send keystrokes to another program to mimic this script:
    KEY "a": hold down for 10 seconds, do nothing for 5 seconds, tap once.
    KEY "b": do nothing for 12 seconds, tap, wait one second, tap, tap.
    KEY "c": hold down for 5 seconds, pause 10, hold down for 5 seconds
    Key "d": pause 5 seconds, hold down for 10 seconds, pause for 5
    etc
    ...where each key's script is run simultaneously, ie, the 3rd second of the script will see key "a" being held down, and key "c" held down. The 12th second will see the "b" key tapped once while the "d" key was held down.
    My intention is to use such a program to drive others which use the keyboard for input, but not as typed keys, but rather as buttons.
    Does anyone have any ideas on how this could be done?

    I'm not sure, but could the Robot class work for you?
    http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html

  • Flash player in Firefox acts as if keyboard buttons are being held down during games

    I am running Flash Player version 11.5.502.146 for Firefox.  While playing flash games online, I often notice that the game thinks that a button is being held down on the keyboard.  I have not noticed a patten as to which games are affected or which buttons are being "pressed", but a game that is affected will always act as if the same button is being pressed.  For example, one game will always be pressing "Left" (the A key), even when I shut down all processes or restart the browser or computer.  Another game will always behave as if the Pause button is being pressed, causing the pause menu to constantly appear and disappear.  I have opened these games in Internet Explorer and did not have the same problem.  Anyone else having these problems, or have any suggestions?

    Flash Player Plug-in (All other browsers)
    THAT'S a full offline installer.
    Save it.
    CLose your browser.
    Run it.
    You're good to go.

  • No screen displayed when booting with options key held down

    When I hold the option key down to select which OS I want to boot into I am getting nothing displayed on the screen but the booting has paused waiting for my input because I can use the cursor keys and return to get the system to boot.
    Anyone got any ideas as to why I cant see the choices?
    Thanks
    Gary

    Just a quick follow up on this problem. I have just tried the Mac Mini on my TV using the HDMI port and I get the boot menu displayed when holding down the Option Key and it works fine. The issues are arising when I plug a VGA adaptor into the mini display port and use that with my monitor. The monitor is not reporting any out of range or sync signals while booting and I have tried 3 different monitors of various ages and all have the same result.
    I also get no apple logo or any display while OSX is loading when I use the monitor
    Gary

  • New SSD only boots when option key held down.

    I recently cloned the original HDD in my mid-2009 MBP [2,53] to a brand new SSD. I put the SSD in an external enclosure, formatted and then cloned.
    Then I put replaced the internal HDD with the SSD and put the HDD to rest in a drawer forever. If I hold down option upon startup, I'm able to choose the new SSD and launch. But if I just turn my MBP on, I simply get a white/grey screen.
    Not a giant problem, but not sure why it would not just boot normally. Is there some kind of step required to make the new SSD the default startup drive?
    Thank you.

    Shootist007 wrote:
    Also if this one one of these new iMacs that come with the bluetooth wireless keyboards that is also the problem. These BT keyboard are not recognized right away when the system turns on so it is a Hit & Miss type of thing getting any of the Boot Options to work correctly. If you press to soon it is not registered. If you pres to late the system has already bypassed the system to use the boot option keys. this is not only for the Option key press to bring up the Boot selection screen. it also doesn't work for the Recovery HD boot or the boot from DVD key and any other boot option keys.
    As far as I can tell the window in which you should press the key runs from the start (but not before) of the chime to before it ends (bit vague).

  • Crashes on launch, even with option key held down

    It crashes immediately whenever I launch. This happens even if I hold down the option key. I have version 23.0.1, which I believe is current.
    bp-98bc09af-ceea-4295-b10d-b2fe82130914

    Can you create a new profile?
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Key held down event

    is there an event in java for holding down a key? i know there are ones for pressing it and releasing it. i am already using those. but i need one for if im holding the space bar down.
    plz help

    lol nvm i got this one too

Maybe you are looking for