Move an application "pop-up" (dialog box) with keyboard possible?

Is there a way to move an application's pop up (dialog box) with a keyboard command/shortcut? I had a situation where I was not connected to my 2nd monitor and an application popup box was opening on that 2nd (*not connected*) monitor.
I hate to say this; but on a PeeCee, a user can move a window via the keyboard. Is this possible on a Mac? Thanks!

no, it's not possible on a mac. if the popup open on the other monitor connect the second monitor and move the popup with a mouse. it should open on the main monitor form now on.
If you don't have a second monitor at all do the following.
1) goto System Prefs - universal access - enable access for assistive devices.
Paste the following into Script Editor and press run. This will move all offscreen windows currently open on the second monitor to the main screen.
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 335px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
–– Example list of processes to ignore: {"xGestures"} or {"xGestures", "OtherApp", ...}
property processesToIgnore : {}
–– Get the size of the Display(s), only useful if there is one display
–– otherwise it will grab the total size of both displays
tell application "Finder"
set _b to bounds of window of desktop
set screen_width to item 3 of _b
set screen_height to item 4 of _b
end tell
tell application "System Events"
set allProcesses to application processes
set _results to ""
repeat with i from 1 to count allProcesses
set doIt to 1
repeat with z from 1 to count processesToIgnore
if process i = process (item z of processesToIgnore) then
set doIt to 0
end if
end repeat
if doIt = 1 then
tell process i
repeat with x from 1 to (count windows)
set winPos to position of window x
set _x to item 1 of winPos
set _y to item 2 of winPos
if (_x < 0 or _y < 0 or _x > screen_width or _y > screen_height) then
set position of window x to {0, 22}
end if
end repeat
end tell
end if
end repeat
end tell
</pre>

Similar Messages

  • How can I Create custom pop up dialog box with question/answer

    I need to create a pop up dialog box that asks a question and accepts an answer input.  The form needs to be able to be emailed out (not server based)  Can someone help me do this?  I am a designer,  with very (Very!) limited coding skills.   Looks like the windjack program that I keep running into does not work with Acrobat X.
    Thanks for any help you may have

    I am not able to help you with the current method you are using - which seems an odd one in that you are using a menu script to do this????
    I would have done the page completely differently - instead of slicing it up into a vastly complex table, I'd have added the image to the page and then used an imagemap.  Then I'd have used this script to add the popups (as toolitps) that you can be as simple or as complex as you wish: http://boxover.swazz.org/.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Is there a way to place a button on the front panel that when clicked gives a pop up dialog box with more info in it?

    Hi Everyone,
     The simulations that I am creating are very simple themselves but are intended for use in a classroom setting to help students learn more about the theory being demonstrated.  I am hoping to be able to place a "Help" or "more info" button on the front panel so that if a student wants more info about the theory they can click on it and a pop up appears with background info on it.  It should also have a second button to close it and return to the main front panel again.  Can anyone lead me in the right direction?
    Thank you!
    Solved!
    Go to Solution.

    Use an event structure on the main vi that when the button is clicked, launches a "Help" sub vi. Inside the sub vi (with the properties set to load front panel when called of course), use another event structure to wait for the button of the subVI to be clicked so you can return to the main VI. Do you need help with using event structures?
    Charles
    Charles Chickering
    Architecture is art with rules.
    ...and the rules are more like guidelines

  • Blank Dialog Boxes with PUSH ME blue buttons

    Greetings All,
    I'm a fairly experienced Mac User and have been a bit surprised recently to be getting blank dialog boxes with buttons. Could it be some sort of spyware hoping I'll just push the blue buttons?
    It seems to come up once my Mac has been on for a while.
    Today I clicked a link at a website I frequently visit. I did so in FIREFOX and it's one of the few sites I allow for pop up windows. The link doesn't lead to a popup, but it did in this case: a blank window with blank buttons.
    http://www.screenplayhouse.com/temp/blank.jpg
    I quit FIREFOX and won another such window. I logged out, logged in, and it's gone.
    Is there some utility I can open-- like Activity monitor-- and find out what these windows are attached to?
    Just curious,
    Me
    (I have two similar Macs but only this one seems to do it.)

    I would look in Console and see if anything is being reported as you're experiencing this. (Console is in the /Applications/Utilities/ folder). If something is, post it here.
    When the window is visible, switch to the Finder by clicking on its icon in the Dock. Then click onto the dialog to activate its window. See if the application name in the upper left corner changes when the dialog window comes forward. If it does, then it would most likely be the name of the application that's created the dialog. If it doesn't change, then it could be created by either the Finder or by an invisible background application whose LSUIElement is set to 1 so that it doesn't appear in the Dock or in the Force quit window (it should show in Activity Monitor though). To determine which one it is, do the following. Switch to another application, like TextEdit, by clicking on its icon in the Dock. Then click on the dialog window again to bring it forward. If the application name shown in the upper left still says TextEdit, then you know that the dialog is being created by a background application.
    If it is, Open Activity Monitor and change the scope to All Processes. Quit as many open applications as possible, and then bring the dialog forward again. A pulsating button should use a small amount of CPU usage, try to use that to help narrow down what process might be causing it. Also, most likely any application that's drawing a button will have the "/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
    HIToolbox.framework/Versions/A/Resources/Extras.rsrc" file listed as an open file in the Open Files and Ports tab of an info window of Activity Monitor. (You can open an info window for an application by double-clicking on it in Activity Monitor).
    Hope this helps....
    Dual 2.7GHz PowerPC G5 w/ 2.5 GB RAM; 17" MacBook Pro w/ 2 GB RAM -   Mac OS X (10.4.6)  

  • I've developed the problem that when I click on something I get a dialog box with a mess of stuff such as: Back,re;oad page ,Open in dashboard ,print page, etc. It's quite annoying!

    I have a problem that when I click on something I get a dialog box with Back,Reload page, Open in Dashboard,View Source Save page as ETC. I don't get the normal or expected respose to a simple "click". Another problem. For some reason the back and forth arrows it the tool bar of Safari have shifted from the upper left hand cornor to the uuuer rihht hand cornor.

    Something is seriously wrong then.  Did you move it?  There are several Library folders.  One of them should be inside your HOME folder.
    If WZZZ suggestion does not work, re-install your OS by using Mac OS X 10.6.8 Update Combo.  When done, repair permissions and restart your computer.

  • When I right click on a link to open in new tab and move my cursor into the dialog box the box dissapears this is new in the last 24 hours.

    I'm using Firefox 8.0 on Suse 11.4 today is 11/28/11 the past 24 hours I've been experiencing this: I always try to right click on links and open in new tab, lately when I do so and move the cursor into the dialog box the box disappears. Also if I online shop say for clothing, if I want to change size's when I click the button to do so nothing happens when I want to scroll down and pick a different size, (I can hi-light the size and click on it then when the window scrolls back up the default size is still there. This isn't consistent with all web sites.

    You can middle-click a link to open the link in a new tab.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Creating a dialog box with OK and Cancel buttons without OADialogPage

    Hi Experts,
    i want to create a dialog box for Delete Confirmation means after clicking on delete it should pop up a small dialog box with OK/Cancel buttons
    and need code for the same to handle the buttons.
    i have created with OADialogPage but its showing in a complete page but i want to show those buttons in a small box.
    Plz help.
    THANKS IN ADVANCE.
    Thanks
    Raja.

    Hi,
    I have not tried using javascript in destination URI as suggested by Mukul.
    I have tried the below code for opening a page as dialog box.
    You can try it for your requirement by creating a dialog page of your own, say XXDialogPage (with OK and Cancel button)
    StringBuffer l_buffer = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    String url = "/OA_HTML/OA.jsp?page=/xx/oracle/apps/fnd/dialog/webui/OADialogPG";
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:500, height:500},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    In dialog page's controller, you can forward it to the page onc ethe user selects OK or Cancel.
    Pass the selected value back to the main page and further you can use it for deleting.
    Regards.

  • Photoshop CS5 pop-ups (Dialog boxes) will not stay / stick in place

    My pop-up / dialog boxes have always opened in the same place as I had placed them from the previous time I had used them. All of a sudden they will no longer stick / stay, they open in the center of the page.
    For example when I first open PS and I click Ctrl > C for Brightness / Contrast the box will open in the center of the page. If I move it to the side (so its not in the working area) it should open in that spot the next time I use it.
    But now it will always open in the center of the page regardless of where I have placed it before. Very annoying it have to move the dialog boxes all the time.

    What OS are you running?
    I know of no way Windows can cause that, but I don't know about OS X.
    If you can't find a direct solution, it might be a case where a complete Photoshop preferences reset to defaults could help...  Press and hold Control - Shift - Alt simultaneously (or Command - Shift - Option if on a Mac) immediately upon cold-starting Photoshop. If you get the keys down quickly enough - and you have to be really quick - it will prompt you to confirm deletion of your current preferences, which will lead to the establishment of a fresh default set. If it does not prompt you, you haven't been quick enough to get the keys down.
    -Noel

  • How to print a dialog box with all its components ?

    Hi !
    I've written an application.It has a dialog box [JDialog] containing following components:
    1) 2 JLabels.
    1) A JTextField.
    3) A JTable with some values.
    4) A JProgressBar.
    5) A JButton.
    6) An animated gif image.
    I want to print the dialog box with all its components exactly as the are [ Except the button & animated gif ].
    Would anybody please help me?
    My Operating System: Windows XP

    The article over at http://java.sun.com/developer/technicalArticles/Printing/Java2DPrinting/ has some helpful information on printing Swing components.
    It suggests creating a subclass of the JComponent that you want to print, and have it implement Printable interface.
    So, something like (note, uncompiled / untested code alert) :
    import java.awt.Frame;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.HeadlessException;
    import java.awt.print.PageFormat;
    import java.awt.print.Printable;
    import javax.swing.JDialog;
    public class PrintableDialog extends JDialog implements Printable {
          * Or whichever constructor you need...
         public PrintableDialog(Frame owner, String title, boolean modal) throws HeadlessException {
              super(owner, title, modal);
          * Implementation of the Printable interface.
           public int print(Graphics g, PageFormat pf, int pageIndex) {
              if (pageIndex != 0) return NO_SUCH_PAGE;
              Graphics2D g2 = (Graphics2D) g;
              g2.translate(pf.getImageableX(), pf.getImageableY());
              getContentPane().paint(g2);
              return PAGE_EXISTS;
    }Cheers,
    John

  • Pop up dialog box on condition check - JAVA

    i'm currently working on CORE java and i'm stuck with a scenario wherein i need to pop up a dialog box when a particular condition is met.
    the dialog box needs to have a message and two buttons yes and no .
    yes would go ahead with the process and no would prevent the action.
    how do i go about creating this dialog box.
    is it possible without applets.
    if applets are used , can you give me a sample code. my file cannot extend from Applet.

    JOptionPane.showConfirmDialog(...);

  • How to move R12 apps-tier to another box with same hostname and a new IP ?

    Hi , we want to move R12 apps-tier to another box with same hostname,same application paths and a new IP. What is the best way? SR recommends cloning but I am seeking for a short way,Thanks.

    Hi , we want to move R12 apps-tier to another box with same hostname,same application paths and a new IP. What is the best way? SR recommends cloning but I am seeking for a short way,Thanks.Cloning is the best approach.
    You could simply copy all the files (without running preclone), clean FND_NODES and bring the services up.
    How to Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]
    How to get a clean Autoconfig Environment ? [ID 391406.1]
    You would still need to relink the executable files as per the docs in this thread -- Need clarification on Solaris 10 upgrade for E Business suite application
    Again, I would recommend cloning as it is the easiest/shortest method.
    Thanks,
    Hussein

  • The pop-up dialog box, such as on Facebook, is truncated. It chops off the command buttons.

    The pop-up dialog boxes, such as those on Facebook, are truncated. The boxes are 1/2 of normal size with the bottom 1/2 gone, including the command buttons, making it useless. Since yesterday evening, ALL dialog boxes on Facebook and Zynga are affected. I can't post anything from the pop-up boxes.
    == This happened ==
    Every time Firefox opened
    == yesterday evening

    Reset the page zoom on pages that cause problems: '''View > Zoom > Reset''' (Ctrl+0 (zero); Cmd+0 on Mac)
    See [[Text Zoom]] and [[Page Zoom]] and http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Open pop up dialog box

    I read on article i.e to create new pop up dialog box. We have to use launchListener"#{backing_bean.handleLaunch}" to pass parameter to corresponding pop up dialog box.
    Anyway I tried to do the same job declaratively by using setActionListener instead of launchListener. The pop up dialog box gets the passed parameter using EL #{prossesScope.param} And it works.
    Is this fine technique or not recommended at all?
    Regards
    Eric H

    Hi,
    its fine as well. As soon as the dialog is opened the process scope becomes accessible. With multiple parameters you will however find it more convenient to use the launch listener as describe in
    http://download-uk.oracle.com/docs/html/B25947_01/web_complex003.htm#CEGDAHEA
    because a setActionListener can only set one parameter at a time
    Frank

  • Printer Pop-up Dialog box

    Hi
    I encounter the printer Pop-up Dialog Box appear upon a
    PrintJob is sent.
    Is there a way to ignore or escape this pop up box?
    Regards

    We have currently upgraded 3 instances and it is happening in all 3 on all PC's. Appears that Oracle has it's own pop-up printer window it uses when printing from the PC instead of using the standard one. I imagine it is slow because of it being java. I'd open an SR but they will just say to update to today's version of java. We can't test in other browsers since IE8 is our standard company wide. I haven't got any hits searching MOS or Google on this so was just wondering if others are seeing the same thing. BTW - Our 11i instances work fine and load quick even on the first print but then 11i is using the PC's standard print pop-up window and not a java based one from the applications.
    FYI - Fuound Bug 9202075 which seems to be the same issue except that we are on java 1.6.07. I have opened an SR.
    Edited by: user649511 on May 20, 2011 7:18 AM

  • Confirmation Pop up dialog box

    Hi All,
    I want a pop up dialog box to be open on click of my create button asking "whether you want to submit the page"
    Need help
    Regards

    Hi Trent
    I have a create button. On the button optional URL target section, changes the Target as URL and the URL Target as
    javascript:apex.confirm('Are you sure you want to submit?', 'CREATE');
    I tried with this even
    javascript:apex.confirm('Are you sure you want to submit?', 'SUBMIT');
    But in both the cases the funtion is not calling.
    Regards

Maybe you are looking for