Change position of another app's window

I am using python and pyobjc. I need to change position of another app's window.
Information I have is title of window. Also I can get window number by using Quartz.CGWindowListCopyWindowInfo().

This is an annoying problem for me too. Recently upgraded from CS2 to CS4. I use styles a lot and like to keep the palletes for them open on the bottom right of the screen. I used to reduce the width of a window of a document back so it sat to left of these palletes and it would stay this way whenever I opened it, but now every time I open a document it defaults to full screen width and so need to move the styles palletes to access the thing at the bottom right of the document window to resize it. This is very annoying. How do you set it so Indesign remembers a document's window width as well as its position? If you can't, why the hell not? Also tried this with application frame, but it has the same behaviour within the frame. Not keen on application frame anyway, still like the option-click on the desktop behind to hide the app quickly.

Similar Messages

  • Can I change the position of the Get Info window?

    Can I change the position of the Get Info window?

    If you want to open the "Get Info" panel in the center of your screen, define the following Automator service and install it in the "Services" Folder of your User Library. This service will be available when you ctrl-click a file or folder in the pop-up menu and it will open the "Get Info" in the center of the screen.
    Open Automator and select New -> Service.
    Select: Service receives "files or Folders" in "Finder.app"
    Drag a "Run Apple script" action from the Actions pane -> Utilities onto the Workflow
    Paste the following script into the action, after (* Your script goes here *) and before "return input"
              tell application "Finder"
      activate
                        set {d1, d2, d3, d4} to (get bounds of window of desktop)
      open information window of item input
                        set {i1, i2, i3, i4} to (get bounds of information window 1)
                        set position of information window 1 to {d1 + (d3 - i3 + i1) / 2, d2 + (d4 - i4 + i2) / 2}
              end tell
    Save the service and name it e.g. "centeredGetInfo". It will be installed in your library -> Services.
    Now you can ctrl-click any File or Folder, and in the Services Section of the pop-up menu you will see your new service "centeredGetInfo", also in File ->Services in the Finder, when you select a Finder item.
    You can bind this service to a keyboard shortcut in the keyboard preferences and use it like the standard "Get Info"

  • How to fix the positions of two Mail.app viewer windows on the screen?

    I use Mail.app as my main IMAP Mail application. I work with two Mail viewer windows which I position on the screen so that the upper window shows the Inbox and the lower window the Send-box. The windows are aligned to each other and do not overlap. Fine.
    But when I quit Mail.app and open the program again, the windows have forgotten their postions. They "jump" to a new location on the screen. This is in contrast to all other applications I use. Another bad example of window managment is the Mail.app-Preferences window which also does not stick to a given position.
    Is this a (known?) bug or does it only happen on my Macs? (two: one in the office, one at home, both running 10.4.6)

    I guess the difference is that my description text is longer.
    Try this text for a new rule:
    "From: blacklisted senders 1 - move to SPAM-blacklisted-addresses"
    When you want to see this text completely with the default font, you will need to enlarge the Preferences window for "Rules". After that, click to "Signatures": the window stays at the enlarged width. Then click on any of the other areas in Preferences, and the window goes back to the "normal" width. When you then click on either "Signatures" or "Rules", the Preferences window will stay at the "normal" width (resulting in a truncated display of the rule description text).
    Also: when you have moved the Preferences window to a position not covered by a (large) viewer window to access it with a mouse click, close the window and re-open Preferences, it is back to a position covered by the viewer window. Again not accessible when the viewer window is the front-most Mail.app window. BTW: the "Activity viewer" window does a better job in sticking to a fix position.

  • In the Calendar app in Yosemite, how can I prevent the event's details window to disappear when transferring focus to another app?

    When you click on an event to get the full details in a separate window, like a phone number for the meeting, if you move to another app like Skype the details window hides and you cannot look at the comments.
    This is kind of annoying.

    It's not iDVD that opens when you insert a burned DVD,  It's DVD Player.  Set the Apple preferences to igonre when inserting a video DVD.  You will have to launch DVD Ripper manually and locate and open the VOB folder on the DVD disk.
    OT

  • My dad has a brand new iMac. If he quits an app, this window closes, but the app won't finish shutting down, Force quitting does not work.  Once another app is opened, it will not close either.  Now none of the apps are responding. Any ideas?

    My dad has a brand new iMac. If he quits an app, this window closes, but the app won't finish shutting down, Force quitting does not work.  Once another app is opened, it will not close either.  Now none of the apps on the dock are responding. I asked him to click on the apple, and drop down to "About this Mac", but that wouldn't open either. Any ideas?  If I was at his house, I would call Apple Care in a heartbeat, but am home with my sick daughter,,,  Thanks!

    For starters, have him open Disk Utility in Applications>Utilities, select the volume (the indented listing) and Verify Disk. If it reports any problems, have him try a Safe Boot by holding the Shift key at startup. This boot will take much longer than usual. It's checking and trying to repair the drive directory, if possible. Once in Safe Boot, have him repair Permissions.
    For other Disk repair remedies see
    http://support.apple.com/kb/TS1417
    Also, have him try a PRAM Reset. At the startup chime, hold down CMD-Option-P-R together, listen for two more chimes, total three, then let go to finish booting.
    Also, is he running any AV? If so, have him uninstall it. It might be responsible for this behavior. (There are no viruses for OS X.)

  • Window doesn't refresh unless you click to another app (on Mac)

    When I scroll, click on a link, or click on another tab to switch to it, FF appears to be frozen and nothing moves/changes/happens on screen. If I then click to another app (e.g. Outlook) and then back on FF, the new content appears instantly. It appears as though the browser is loading the requested information, but does not actually ''draw'' it until I click away and click back.
    I already tried deleting and reinstalling.
    ETA: This happens every time I use FF, not immediately upon opening. It crops up when I've been using it for a little while (say, a half-hour). It may have to do with having multiple tabs open, but I don't see an exact correspondence between the problem and visiting specific sites or having a certain number of tabs open.

    I am unable to click to select with my track pad so I enabled my magic mouse in order to even get into System Preferences to check settings. I understand that they are set up separately. Unfortunately, that didn't help

  • TS3804 "io6" I am unable to save a photo from another app (for example FACEBOOK)  to the Camera Roll.  I press & hold the photo, the window indicates "Save Photo" comes up, I press that option & the window goes away but the photo is not in Camera Roll.

    IPHONE 4 + "io6". I am unable to save a photo from another app (for example FACEBOOK)  to the Camera Roll.  I press & hold photo, window indicates "Save Photo" comes up, I press that option & the window goes away but the photo is not in Camera Roll. Please advice...

    Steve750717 did yu notice that the post is 6 months old?

  • SAP Script :change position of window margins (resize window)

    Hi,
    how to change position of window margins (resize a window)?
    Sounds very simple, but when I open my SAPScript form in layout editing mode it does not allow me to change values of window margins...
    Regards,
    Mindaugas

    Hi...
    Make sure your entering language and orginal language of the script is same or not.
    utilities -> convert orginal language..
    Procedure if you are using English as entering language:
    Enter script name -> Enter language as DE -> change -> utiliteis -> convert orginal language -> change it DE to EN -> now back and re-enter into script...
    Thanks,
    Naveen.I

  • TS1702 Change from one country App Store to another country

    How doe one change from one country App Store to another country ????

    When I try to change my country in the Account section of the App Store (and the ITunes Store)  I receive the message "You have a store credit balance; you must spend your balance before you can change stores."
    I am unable to understand the reason for this and can't find a way around this. The amount of credit remaining in my account is less than the price of any App or Song.
    I am also concerned after reading other threads that if I change countries, whether the Apps purchased in one country will still be available in the new country.
    Some have proposed using credit cards to change the country for the account, but  accounts funded through vouchers exclusively should be able to be able to change countries without this requirements.
    Thanks in advance for any solutions or comments.

  • Change to another app store

    Hi, i just moved to germany and would like to change to the german app store. How can I do that. Just changing the address does'nt help. I bought an app store card in germany but it ist not accepted. Does anyone know, what I need to do?
    Thanks

    as the app account is not german.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    The iTunes and Mac App Store are one in the same.

  • Help! layers change position from document window to browser window

    dear all,
    i have a single page site with buttons on which when clicked on show or hide layers.
    BUT I have the age old problem in that the layers appear in a different position in the browser window
    than where I positioned them in the document window.
    Is there a fix? a plug-in?
    I am tearing my hair out over this.
    What is the use of having layers when they dont work in the end?

    First off, code is important.  If you don't post a link to the page in the question or at least the code (HTML + CSS) from the page in question all we can do is guess.
    From your statement I would suspect you are using Absolute Positioned divs and you are hoping web design is like print design and you are now realizing it is now.  Best suggestion I could give is read over the HTML and CSS tutorial at the following website:
    http://www.w3schools.com/
    Then come back here and post a link or the code from the page once you have a basic understanding.  Otherwise our answers to you be as mysterious as your code is to us at the moment.

  • Desktop Icons Change Positions After Restart

    Hi,
    After I inadvertently synced my computer with another Mac computer my icons change position after restart. I was trying to sync another computer to mine.
    I have tried the usual suggestions of taking out com.apple.finder.plist and com.apple.desktop.plist and letting the system create these new files but the problem still persists. I also checked the Finder > View > Show View Options and arrange by none is still selected.
    Does anyone have a suggestion how I can fix this problem? Will I have to go back in time with Time Machine and restore my entire system to solve this?
    I can't operate with the desktop icons changing positions like this.
    Thanks,
    Pacecom

    Delete the hidden .DS_Store file associated with your Desktop folder. Launch the Terminal.app (in /Applications/Utilities/), copy & paste the following command into the window that pops up, hit the return key, quit the Terminal.app, OPTION-click and hold the Dock's Finder icon, and select Relaunch:
    *rm ~/Desktop/".DS_Store"*
    Now, set the Desktop as desired, log out and back in, and the Desktop should be as it was as you last set it.

  • Audio file resets to beginning when I go to another app.

    Just upgraded to Ipod Touch 2G from Ipod 5G Video. I've searched these forums for a similar problem to no avail.
    I have imported an audio CD with no problems so far. My difficulty is that when I stop an audio file playback (or any music file for that matter) and go to another app or outside of the playlist, the file resets to the beginning. Not a problem on a 3 or 4 min music file but a 1 or 2 hour audio file can get very frustrating. I didn't have this problem with the IPod video, I could stop and play games or anything without losing my place in the file. Is there a setting or something to correct this?

    Hello and Welcome to Apple Discussions. 
    Have a read of these articles:
    http://oakroadsystems.com/genl/itunsabk.htm
    http://aldoblog.com/audiobooks/itunes/importing-audio-cds/
    audio books from Audible or iTunes should do this right away.
    If the files are from another source, right click on them and choose Get Info, then check the "Remember Playback position" box. If you then change the file extension in Windows to .m4b they should show up in the Audiobooks section of iTunes too.
    regards
    mrtotes
    Message was edited by: mrtotes

  • TV Mobile app for Windows 8 tablet & phones

    How do locate the apps for Windows 8 tablet (pro/rt) and for the Windows Phone 8?
    All I can find is the iPhone/Android.
    I have a windows 8 PC Pro, and a Windows 8 Tablet Pro and a Windows Phone 8.

    Jutme wrote:
    How do locate the apps for Windows 8 tablet (pro/rt) and for the Windows Phone 8?
    All I can find is the iPhone/Android.
    I have a windows 8 PC Pro, and a Windows 8 Tablet Pro and a Windows Phone 8.
    An app for Windows 8 or Windows Phone 8 does not exist.  I have asked Verizon about this a number of times and have been ignored.  The only positive of this is that the Android and IOS apps are all buggy, so it's highly likely that we're only missing out on another buggy app for the Windows platforms.

  • Total Failure of CC 2014 Apps on Windows 7

    Total Failure of CC 2014 Apps on Windows 7
    Yesterday (Thursday16 Oct 2014) I had one of those tech issues that stretch the imagination and patience of a customer. After using CC for the past two years, and generally very happy with the response and resources, I updated all my app to the CC 2014 releases.
    I expect a few bugs (which are usually corrected quickly) but not a total failure.  In my case InDesign would open, but lock up. It could not be accessed or terminated without using the Task Manager.  Illustrator would open and run, but could not be terminated without the task manager. Photoshop worked, I didn't try the remainder of the apps.
    I started at 10am trying to figure it out. I deleted all the preferences, cleared CC preferences, reset VRAM, all the usual steps.
    At 11a I called tech support and that started what ended up being a four hour cycle of two tech support calls with remote access which produced zero results and plus my time of more than 4 hours uninstalling/reinstalling first the CC2014 apps and then finally uninstalling all CC2014 apps and re-installing the CC apps (but that's the end of the story).
    Both tech support personnel were polite. But they took me through and agonizingly long stretch of nothing. It was like a four hour Seinfeld episode.
    Before I continue understand that I have, by design, a totally generic machine. It is Win7 64B, 8GB of ram, NVIDIA Video, 4TB of high speed disk drives and standard software. I have GB Ethernet, and Comcast commercial service with 50/15, almost zero latency. The only semi-intrusive component is MS's Security Essentials. All drivers are up to date with the latest or latest stable versions.
    Also note that I have been using Adobe products on Mac and PC since 1995 and I have never had an experience like this with any product.
    Solutions offered and explored were:
    * Increase VRAM to 4x physical RAM
    * Make Acrobat the default printer
    * Ask if I am on a domain controller
    * An a dozen other relatively useless options.
    There was a lot of random setting, disabling services, etc. All for nothing. And all the solutions offered were generally irrelevant. Any software that has otherwise worked perfectly for years, that suddenly requires me to uninstall WACOM, uninstall printers, disable services, change network configurations, etc. should be ignored and other options found.
    Finally, I told them to stop. I had already lost more than $1500 in billing and I am now two days behind in work. I then uninstalled all the CC2014 apps and re- installed all the CC apps which to no surprise work perfectly.
    This is totally unacceptable for a company like Adobe. There is something wrong with the release and I could not get the support personnel to say, "Wow. We better get on this right now." I finally told them I couldn't afford to let them use me to debug their mistakes. 
    I fear that companies like Adobe, and Apple, and Microsoft are enamored with the speed of online software releases and are getting very sloppy indeed in testing. When they had to burn a million CD installs it seems they were much more careful.
    So Adobe, what do I do now?  Your mistake has cost me more than the equivalent of two years subscription to CC in just one day. In 24 hours you've effectively doubled my subscription cost (actually quadrupled because I now have to the work and make up the same hours in overtime).
    What do I want? Simple...
    1. I want Adobe to credit me one year of my CC subscription.
    2. I want Adobe to commit to testing as thoroughly as they used to.
    3. I want Adobe to fix the CC2014 apps
    4. I want to know I can have confidence in future installs.
    5. Take away the horrid opening screen on Illustrator CC2014 or let us choose our own images.
    // Marco Ciavolino
    http://www.meetmarco.com

    Have you received any feedback regarding this issue and reasonable resolution?
    InDesign CC 2014 is proving to be a mess for me. It will work for a while, then it won't. I can only use the task manager to close the file. I've followed all of the suggestions for disabling, resetting, preferences, settings, etc. I continue to have horribly slow performance, or no performance at all.
    Interestingly, I now have an issue with fonts. Fonts installed on my computer work great in one file. In another file, the exact same fonts, with the exact same paragraph and character settings can't be found for some reason. When I attempt to replace the font a prompt displays that the font can't be found. It can be found in another file, very perplexing.
    So far today, I've spent three hours trying to make a file change that should have taken me 15 minutes at the longest.
    What is going on with this version? This is a ridiculous way to do business. What happened to trouble shooting and caring about the end product? This is frustrating and my confidence in Adobe has been depleted. The company I work for was looking to upgrade to Adobe CC for all 65 marketing and graphics personnel, I can't recommend that now.
    Any new information on how to deal with these issues would be greatly appreciated.

Maybe you are looking for