Key Navigation when window doesn't have focus

Using key navigation I want to allow the user to instigate a program function by with a key sequence like Ctrl-F1. This works fine as long as the window has focus but does not work if another window is active. Is there any way to get my vi to respond to the key sequence when that vi does not have the focus?

You can use the keyboard input VIs to continuously poll for that key combination. Not as good as an event, but will work without focus. The VIs can be found in the Advanced palette before 8.0 and in the Connectivity palette (I think) later.
Try to take over the world!

Similar Messages

  • Wake up login box doesn't have focus

    When my computer wakes up from sleep it prompts me to login, but the login window does not have focus by default. If i start typing my password in it often ends up in plain text in whatever application or dialog box that is open.
    This is not nice.

    Others have noticed this too. It was thought that security update 2007-008 addressed this issue (CVE-ID: CVE-2007-4693), but apparently it was a separate problem with similar symptoms.
    It might help if you submitted a bug report to Apple so that they know they missed something:
    http://developer.apple.com/bugreporter/

  • How do I load on Office:Mac onto my new MacBook Pro when it doesn't have a disk drive?

    How do I load on Office: Mac onto my new MacBook Pro when it doesn't have a disk drive - I don't want to have to purchase another copy.

    Glad you were able to solve your problem. For the benefit of others who may find this discussion later, allow me to suggest another possibility.
    If you have access to another Mac running Lion or Mountain Lion with an optical drive, you should be able to use the Remote Disc feature to access the optical drive on that other Mac.

  • I just got a mac book for the first time. how do i dual boot my mac book pro when it doesn't have a cd drive?

    i just got a mac book pro and it is my first mac. my friends have told me that i can have a mac boot up windows. i would like to do this with my mac book but it doesn't have a cd drive. does any one know how i can do this if it is possible.

    maickem wrote:
    i just got a mac book pro and it is my first mac. my friends have told me that i can have a mac boot up windows. i would like to do this with my mac book but it doesn't have a cd drive. does any one know how i can do this if it is possible.
    Read and follow the Boot Camp Instructions located here: http://www.apple.com/support/bootcamp/
    The Boot Camp Community is located here: Boot Camp

  • Alternatives when iTunes doesn't have song?

    Where can I go to buy mp3s for song tracks that iTunes doesn't have?
    I don't want to join a download service or fill out a subscription--I like
    the simplicity of iTunes and the fact that you just plunk down your 99 cents and the song is yours. Any other reputable sites that you go to in order to "fill in"
    the gaps in your song collection? Thanks!

    Bump. I was wondering the same thing.
    Thanks.

  • JFileChooser doesn't have focus first time it opens

    Hi!
    I'm using JFileChooser to export some data from JDeveloper to a file. Everything is working file, The only problem I have is, when I run the application and try to export data the choose file dialog opens behind the browser window. This is quite unpleasant since the user thinks the dialog is not opened at all. This only happens the first time when the button to export the data is clicked after the application is run. Every next time the dialog gets the focus and is visible in front of the browser.
    How can I set the focus to dialog the first time it opens?
    My code looks like this:
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            loJFC = new JFileChooser();
            loJFC.setDialogTitle("Export data");
            loJFC.setFileFilter(new TextFilter()); // my class that accepts only txt files
            loJFC.setAcceptAllFileFilterUsed(false);
            loJFC.setSelectedFile(new File("MyFileName.txt")); // set the default name
            int liRetVal = loJFC.showSaveDialog(null);
            if (liRetVal == JFileChooser.APPROVE_OPTION)
              loFile = loJFC.getSelectedFile();
            else
              return;
    // then I write to file etc...Thanks in advance.
    BB

    Hi Frank!
    I have a jspx page in my web application. This jspx includes a commandButton which has above described method as actionListener. So when I click on this button on the jspx the dialog for file selection is opened but hidden the first time it opens.
    Thanks

  • GetURL spawned new window doesn't have a parent

    I have a Flash application that is opening a new window via
    getURL.
    getURL("
    http://www.microsoft.com",
    "EMMWindow");
    The new window has a link that triggers a javascript that
    attempts to redirect the parent window via
    opener.location.href='x';
    However, when that javascript is called, it returns an error
    that shows that the opener is undefined - e.g., the window that was
    opened is effectively an orphan - it doesn't know its parent.
    Is this an issue with getURL or am I doing something wrong?
    Any help would be appreciated.

    I think this is an html/javascript issue. I don't think
    GetURL is not going to create a child window, just a plane ole
    window, so there is no opener associated with it. That window would
    have to have been opened by the other window and named EMMWindow
    before getURL filled it up with something.
    You may have to communicate via javascript to get the page to
    open the window as an opener.
    Of course, I could be wrong.

  • Installing apps from dmg file package content windows doesn't gain focus

    When I download a dmg file and double click to mount, after it mounts, the window containing the package contents never gains focus and stays hidden behind the rest of the windows that are open and I have to use Expose to find it. Is this an error or setting I've missed? On my friend's iMac it works fine but not on my MacBook Pro and we both have Snow Leopard.
    Thanks

    Ok the first option didn't have any effect. When I opened the dmg from Chrome it loaded the window in the background.
    Dragging the dmg onto the DiskMounter app worked. The window opened allowing me to drag the App to the Applications folder and was in focus.
    I have a similar issue when I open an archive(zip) file from chrome/safari/firefox it shows the progress of the unarchiving bu then the finder window that would normally come to focus displaying the unarchived folder is hidden behind my other open windows.

  • Security sandbox violation when URL doesn't have 'www'

    I am loading an external swf file from the same domain into my main flash movie using an absolute path: "http://www.sitename.com/movie.swf". The problem is that when someone goes to the site without the 'www' in the address: "http://sitename.com" - the movie throws a sandbox error upon trying to load the 2nd movie.
    I have a crossdomain in place set to: <allow-access-from domain="*" secure="false"/>.
    I also have: Security.allowDomain("*"); in the document class of the main movie.
    I realize I could use a relative path to load the movie instead of the absolute path, but shouldn't the cross domain file and/or the allowDomain command take care of the security issues? Is there another workaround besides the relative path?
    Thanks,
    Amanda

    The crossdomain should work.  Check to make sure you have it set up properly.
    Another workaround is to use the LocalConnection class to grab the current domain.  We do this at my company, where we distribute files out to the local server of the branch.
    import flash.net.LocalConnection;
    var lc:LocalConnection = new LocalConnection();
    var myIP:String = lc.domain();
    var pathToLoad = "http://"+myIP+"/movie.swf";

  • Run-Time Error window doesn't have Retry and Ignore options

    Hi,
    The run-Time Error window usually have 4 bullets at the bottom part.  They all used to be enabled untill recently.  Somehow, I only have the Run Cleanup and Abort immediately bullets enabled.  Why are the Retry and Ignore disabled?  Is there an option to turn it on and off?
    Thanks
    Rafi

    Hi,
    Its possible you have operator privileges. What's user type are you running as?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Working of serializable interface, when it doesn't have any methods

    Hi,
    I am curious about how the serializable interface is used in JVM.
    This is an empty interface. ie. it does not have any method signatures or any variables inside.
    How does java use this interface, for serializing purposes.
    Also, why should it be an interface, when its all empty.

    Such marker interfaces are just used to tell something about about a class, in this cases that the developer wants that instances of a class can be serialized. The code that handles the serialization just check s"instanceof Serializable". Of course Serializbale could look like this
    public interface Serializable
    public boolean isSerializable();
    But why make things more complicated than necessary?

  • Display Nothing in table column heding when parameter doesn't have any value

    Hi,
    I created one tabular report . Report has 2 parameters(ex: A and B) both have default values from two different datasets. I am using these parameters in two column headings (col1 has parameter A and col2 has parameter B) in report. My question is, if parameters(A
    and B ) don't have any value from the datasets it should display "Nothing" in the table column headings(col1 and col2). If parameters(A & B) have some value(June & July respectively) it should display in table column headings(col1 and col2).
    Thanks in advance,
    Visu

    Hi Visu,
    According to your description, you want to display the value of two parameters in two column headers. Parameter A in col1, parameter B in col2. And if the parameter returns null value, it should display “Nothing” in the header. If the
    parameter return a value, the value should be displayed in the column header.
    If in this scenario, in order to achieve your requirement, we can refer to the following expression in the two column headers:
    =iif(Parameters!ReportParameter_name.Value
    is nothing,"Nothing",Parameters!ReportParameter_name.Value)
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I have an app called pocket frogs and it needs updating, but when I try to it tells me to input my dad's ID when he doesn't have one what do I do?

    G

    Are you trying to update only that one app or more that one app (via Update all)? You have to log into the account that purchased an app to update an app. If you have apps purchased by more than one account you have to update tem one at a time until the remaining apps were purchased from one account.

  • How do I import a CD on a MacBook Pro when it doesn't have a CD drive?

    I have a MacBook Pro with retina display. I have a seperate Mac with a disc drive. I tried Remote Disc and AirDrop and still cannot transfer files onto the MacBook Pro. Help!

    Make sure to turn on the "DVD or CD Sharing" in Apple System Preferences > SHARING.  Then you can use the optical drive and download it on your Air.
    Regards,
    Patrick

  • How to disable script debug? Alt key brings debugger window.

    Here is detailed problem description:
    http://forums.adobe.com/message/2678671
    In short.
    When batch is being processed in background (photoshop window is inactive) pressing the Alt key brings the debugger window (ExtendScript Toolkit - Fit Image.jsx).
    Steps to repro:
    1. Create some action (must include Fit Image script from File->Automate)
    2. Apply this action to a folder.
    3. Switch to another window (not photoshop)
    4. Hold the Alt key for a little why.
    Current workaround:
    1. Do not do anything while processing batch. Just sit and look at the screen several hours.
    or
    2. Process batches under separate user (use WinKey+L to switch).
    Another (related) problem. When batch is being processed (in background) the Esc key doesn't work at all! Just switch to some application where you can use the Esc key, hit Esc - and it won't work!
    OS: Windows XP
    Photoshop CS4, CS3

    But why do you need the Alt key when PS window is not active?
    Nobody did, as far as I know. You only needed it when a script is launched from in PS and then only when PS had focus. I have no clue why they were looking at the Alt key when PS didn't have focus. Instead of fixing what I would consider a bug, the removed a very useful feature.
    The only case I could see it being useful is if you were running a script in Bridge and that calls a script in PS and you wanted the debugger to fire up when the PS script was launched. That's a rare enough situation that inserting a debugger; call in the PS script would be a reasonable alternative and is the one I use. Unfortunately, it doesn't always work.

Maybe you are looking for