Getting screen resolutions & position/offsets

Hi,
I'm trying to read the resolutions & positions of currently connected screen. Eg, if I had 2 screens connected, I may get information like...
Screen 1, 1920*1080, x:0, y:0
Screen 2, 1280*1024, x:1920, y:0
From my own bumbling research, I think /Library/Preferences/com.apple.windowserver.plist may have what I'm looking for, but it seems to contain information about more screens than those connected, and I can't see a way to tell which is which.
Ideally I'd like to get this information with Python, but interested in hearing any solutions.
I'm from a Windows background, so if I'm coming at things the wrong way that might be why
Many thanks!

Hi,
I'm trying to read the resolutions & positions of currently connected screen. Eg, if I had 2 screens connected, I may get information like...
Screen 1, 1920*1080, x:0, y:0
Screen 2, 1280*1024, x:1920, y:0
From my own bumbling research, I think /Library/Preferences/com.apple.windowserver.plist may have what I'm looking for, but it seems to contain information about more screens than those connected, and I can't see a way to tell which is which.
Ideally I'd like to get this information with Python, but interested in hearing any solutions.
I'm from a Windows background, so if I'm coming at things the wrong way that might be why
Many thanks!

Similar Messages

  • Get screen resolution in WebDynpro ABAP

    Hi,
    is there is a possibility to get the current screen resolution of the frontend in a Web Dynpro ABAP application?
    I found the following class and method: cl_gui_frontend_services => registry_get_value.
    I found the Screen Resolution in WIN XP at:
    SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Control\VIDEO\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000\.....
    As expected, this method only works in the SAP GUI and not in Internet Explorer. In IE it triggers the exception CNTL_ERROR.
    Is there another solution?
    Regards.

    I guess the root question is why do you need the screen resolution?  Web Dynpro isn't design to be screen resolution specific. That is why it is flow layout based and not pixel coordinate based. Generally the use of % based width/height parameters will allow the content to adjust to the screen size.  Even if you had the screen size, what you reall need is the browser window size.  This can change even the user resizes the browser. Even if you could get this value via ACFExecute or something like that, you wouldn't have an event to let you know when the browser was resized.

  • How to get screen resolution settings

    How do u get the present screen resolution from code?
    thanks

    The AWT Toolkit class has got a method called getScreenSize(), it returns an instance of Dimension.
    I'm not sure what to do when you have multiple screens though; maybe the methods of the classes GraphicsEnvironment and GraphicsDevice can be used.

  • Get Screen Resolution from Custom Reports

    I was wondering if it was possible to get the screen resolution of a workstation from the Custom Reports in ZCC ??
    Seb

    Originally Posted by sebastien
    I was wondering if it was possible to get the screen resolution of a workstation from the Custom Reports in ZCC ??
    Seb
    Hi Seb
    I'm out of the network so I can't double check this but I don't think Zen captures that information. If my memory serves it captures some PNP info from the screen like the manufacturer and product ID's.
    It looks like you could pull the data from the registry.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardwa re Profiles\UnitedVideo\CONTROL\VIDEO\{EE167610-A476-4BE2-9CD6-C24D55DFF3B9}\0000
    I think the challenge will be that this key will vary from system to system. And if you have multiple monitor setups you would want to collect both sets of data.
    One way you could do this would be to deploy a bundle containing a small easily available executable called DumpEDID.exe (google it) This little command line utility does exactly what it says on the box. It reads the EDID data from the display and dumps the data back to the command shell.
    Then all you need to do is to run a script to retrieve this output and load it into a custom made registry key. From there you can then pull the registry data into Zen and even create an ADF field for the info.
    Hope this helps

  • Get Screen Resolution

    How can I display in text the screen resolution of the user
    watching the swf?

    Do you really want the screen resolution or the width and
    height of the
    browser window?
    If it is the latter, have a look here:
    http://morethanseven.net/projects/fluidflash
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    <--check this
    *Must Read*
    http://www.smithmediafusion.com/blog
    "pcst88" <[email protected]> wrote in
    message
    news:ernm5r$jls$[email protected]..
    > How can I display in text the screen resolution of the
    user watching the
    > swf?

  • Screen resolution gone poor in Mac Mini

    I cannot get optimum resolution on my Mac Mini. Just a day before I disconnected all the cords, including power and HDMI, just to move my Mac Mini (OS X 10.9.4) to a different room, and connected it back as it was. (Really speaking only two cords) and now I can't seem to get my screen resolution back.
    The earlier screen resolution was there since I connected my Mac Mini for the first time to the LCD TV screen and I never had to deal with any resolution settings, but I am clueless now why I can't SET and SAVE optimum screen resolution settings. Here is screen capture for my System Preferences -> Display settings
    I also have DISPLAYMENU app which gets me to a better screen resolution now, but it seems I do not have any option to save that configuration so every time I restart my Mac Mini, the display will go back to its weird screen resolution state and I have to start from all over again to get it back in a good viewable screen resolution with the help of DISPLAYMENU. I have contacted Apple Support and have done resetting SMC and PRAM and entering in to SAFE-BOOT as well; nothing seems to help here. Any other suggestions? (I cannot accept that it is LCD TV problem because 1. Earlier it was working absolutely FINE. 2. I have my xbox connected to same LCD TV and I am getting screen resolution what I was getting earlier.)

    Backlight
    Direct LED
    Refresh Rate
    60Hz
    Resolution
    720p
    Dynamic Contrast Ratio
    100,000:1
    Display Aspect Ratio
    16:9
    Display Resolution
    1366x768
    Colors:
    16.7 million
    This is what I found on manufacturer's website for the TV model I have. I do not remember exactly what was the resolution earlier but it was definitely not 720 (in earlier image). All I know is I can observe the difference in the screen resolution.
    Also I have tried all sort of setting and resettings; (I was on chat with Apple support over an about 45 mins and on phone call around the same time.)
    Also, I cannot accept that I might be using wrong connectors/adapters/TV not compatible to the resolution I am trying to get to; because it was working absolutely fine just few days before and as mentioned I have connected my xbox to the same TV, which works absolutely fine.

  • Testing if screen resolution meet requirements

    Hi,
    By default our computers are set to 1024 X 768. In case a software would need 1280X1024, I would like testing if the actual screen resolution is effectively lower than the one need (1280X1024) and adjust it. If it is higher (like 1920X1080) then making no
    adjustment.
    What is the best way to compare and adjust screen resolution?
    Thanks,
    François

    Hi François,
    If you want to list the screen resolution, please refer to the script below:
    Get-WmiObject -Class Win32_DesktopMonitor | Select-Object ScreenWidth,ScreenHeight
    In a multi monitor environment you can get the info for all monitors with:
    Add-Type -AssemblyName System.Windows.Forms
    [System.Windows.Forms.Screen]::AllScreens
    Refer to:
    Get Screen resolution using WMI/powershell in Windows 7
    If you want to change the screen resolution via powershell, please refer to the script in this article, you just need to provide the width and height:
    Set-ScreenResolution
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I cannot enlarge photos on Facebook, I only get a BLACK, BLANK screen when I click on them-someone suggested it might be "Screen Resolution Setting"? I've already uploaded new firefox version. Please help!

    I am not able to ENLARGE photos on Facebook, this means photos that friends post on News Feed & photos that I post in my FB photo albums. I only get a BLANK, BLACK screen when I click on individual photos. A friend suggested that I upload the New Firefox, and I did this today, but it did not resolve problem. Friend also suggested that it could be "Screen Resolution Setting"?? OR "Data Rate" too slow?? I do not know how to check these features? Please help! If it could be something else, please let me know. Thank you for your time & help!

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    You can use these steps to check if images are blocked:
    * Open the web page that has the images missing in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    See also:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Satellite Pro U400 - How do I get the native screen resolution for external monitor?

    I have a samsung syncmaster external screen connected to a Satellite Pro U400.
    The screen resolution only goes up to 1280 etc however the samsung minimum is 1440 x 920 (ish I forget).
    How do I get the samsung to display the whole enlarged screen to save my eyes from the realativively small internal screen?

    Hi
    > The screen resolution only goes up to 1280 etc however the Samsung minimum is 1440 x 920 (ish I forget). How do I get the Samsung to display the whole enlarged screen to save my eyes from the realativively small internal
    I??ve got a U400 which was equipped with the Intel graphic card and I??ve got an external LCD which I have connected to the U400 using the DVI-to-HDMI cable.
    My U400 unit supports the HDMI and the LCD the DVI port.
    I have received also the driver disk with my LCD and I have installed the software.
    I have also update the Intel driver and used one from the Intel page.
    Now I have the access to many different external resolutions and can choose it.

  • Qosmio G20: How to get higher screen resolution on external 22" monitor

    I have a Qosmio G20 and today I bought a Samsung 226BW external screen. The Samsung has a max/optimal resolution of 1680x1050px. The Toshiba manual sais the laptop supports an external screen resolution up to 2048x1536 ...
    I have now tried all kinds of settings, but the highest resolution I get on the external monitor is 1440x900 (- same as the laptop).
    1440x900 on the 22" screen is not enough for serious picture editing; it simply looks unsharp.
    What am I doing wrong? I deeply appreciate any answers/feedback; because if 1440x900 is all I can get, I have to take the xternal monitor back to the store ...
    if anyone is so kind !?
    Espen.

    Hi
    The available screen resolution depends on the graphic driver. You cannot choose the favorite resolution of 1680x1050 because the graphic card driver doesnt support it.
    Maybe a graphic driver update could helps.
    By the way; a inf file should be supplied by the monitor manufacture. You can install such file making right click and choosing install.
    Check also these forum threads:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=19677
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=19570&messageID=71767

  • How to get more independent of screen resolution

    Read already a number of topics about this in this forum. But I still wonder
    how to set up ones Swing components for different screen resolutions. What
    I did up to now is checking for the current screenwidth and setting sizes for
    each resolution. Worked OK. But nowadays there are so many different
    screen sizes, this is getting too complex.
    I mean, one has to set the component's size, its location, the fonts used,
    possible Icons in the Toolbar, the size of the components internal panels,
    the insets, border sizes, and many other things. So, assuming ones window
    with all the components looks great in one resolution, the developer still has
    to check whether it all looks so great as well in any other thinkable screen
    resolution. Even in those which the developer isn't even able to create using
    his graphics card.
    So, my question is: Is there somewhere a clever tool inside Java which makes
    the total layout of components and their sizes inside the user's main window
    more independent of the screen resolution?
    For instance, it would be great to be able to define the component's size,
    location, and so on, using the actual size it should appear on any screen.

    You are right. For those using advanced high resolution
    monitors, this will be a disadvantage. However, I'm quite
    sure, the average user I'm aiming for, still uses rather
    standard type of monitors. Of, course, in the (near?)
    future, everybody may be using high resolution (same
    progress as with our tv-screens). So I may have to include
    these screen sizes as well later.
    Your presentation made me aware of the great need for
    everybody in the graphics business for a solution for this.
    Still think, this can be automated in a not too difficult way.
    I mean, if I can hard code this in such a way, that nobody
    is able to see the difference of the program running on a
    different resolution, it must be possible to include an
    option in whatever programming language, to create ones
    graphics components in a resolution independent way.
    At least, I think. May be a good starting point for my next
    project.
    Thanks anyway for your help an remark. I think you still
    deserve your dukes. Here they are.

  • Cant get higher screen resolutions ???

    Hi all,
    hope you can help...
    I installed my new Ge4 Ti4200 last night. All works well but in display properties/settings the highest res. I can get is 1280x1024. This isn't right, i have a 20" LaCie monitor and have used the same one elsewhere at higher resolutions.
    I dont think the problem is with the monitor driver as i have tried different monitor drivers and in any case, they all say 1600x1200 etc.. in the monitor.inf. My computer at work will go 2048x1536 and thats using the "default monitor" driver provided by microsoft. so thats not limiting it.
    I can only think that when i installed the Geforce software and drivers, somehow it didn't talk to teh monitor properly and therefore limited teh available resolutions. I used to have a voodoo 3 and I know that they are notorrious for leaving old files in your system so maybe somehow old voodoo software has limited the resolutions that teh card will allow in teh display properties ?
    any help would be appreciated

    I do not know whether it helps, but I use Powerstrip .. very good software. It helps me to access monitor and video card settings easily. After installation and running this program it asks me whether I want Powerstrip to adjust resolutions that is allowed by my video card. After pressing yes I have rebooted PC. After that I could adjust screen resolutions in monitor settings up to 1600*1200 (used for plug and play default monitor). I notice that I use 15' monitor that support max resolution 1024*768 but PowerStrip allows me to change it up to 1600*1200. Of course I do not use resolutions higher than my monitor supports.
    If you have no idea to solve your problem try this program. Maybe this one can help to access available resolutions correctly.
    Here is the web page for PowerStrip: http://www.entechtaiwan.com

  • Set position of dialogbox depending on screen resolution

    Hi,
    Could you tell me how I can set the position of a dialogbox container (CL_GUI_DIALOGBOX_CONTAINER)depending on the current screen resolution?
    Thank you for your help,
    Fabian

    Hi,
    When u create the Dialogbox object,u have the option of specifying the height,width of the dialog container.
    Dialog container
         go_dialog_container        TYPE REF TO cl_gui_dialogbox_container,
    CREATE OBJECT go_dialog_container
             EXPORTING
          PARENT                      =
               <b>width                       = 400
               height                      = 150</b>           style                       = cl_gui_control=>ws_sysmenu
          REPID                       =
          dynnr                       = '100'
          LIFETIME                    = lifetime_default
               <b>top                         = 100
               left                        = 350</b>           caption                     = 'My dialog box'
          NO_AUTODEF_PROGID_DYNNR     =
          METRIC                      = 0
          NAME                        =
             EXCEPTIONS
               CNTL_ERROR                  = 1
               CNTL_SYSTEM_ERROR           = 2
               CREATE_ERROR                = 3
               LIFETIME_ERROR              = 4
               LIFETIME_DYNPRO_DYNPRO_LINK = 5
               EVENT_ALREADY_REGISTERED    = 6
               ERROR_REGIST_EVENT          = 7
               others                      = 8.
           IF sy-subrc <> 0.
         Do some error handling..............
           ENDIF.
    Hope it helps u.
    Kindly reward point if u find it useful.
    Thanks&Regards,
    Ruthra

  • Please help.   My Adobe InDesign document keeps crashing when I adjust the screen resolution to High in the View menu.  Desperately trying to get my magazines prepared for press today!  HELP!

    Please help.   My Adobe InDesign document keeps crashing when I adjust the screen resolution to High in the View menu.  Desperately trying to get my magazines prepared for press today!  HELP!
    My magazine last month is still working ok - but this month's version has just started crashing for some reason.

    We can't know. You have not provided any system info, not told us what version of ID you use nor provided any specifics about the document like images, color profiles, fonts, paragraph styles and what have you...
    Mylenium

  • Message says "screen resolution problem" and says to set higher than 1020 x 600. My screen resolution is set higher. Why am I getting this message all the time I use firefox?

    when I go on to Firefox I keep getting the message that there is a screen resolution problem and it says I should set it higher a than 1020 X 600. But my screen resolution is set higher. It is set at 1360 x 768. Why am I getting this message continuously?

    I've had the problem too... for at least a month or more. It would happen when logging into yahoo mail. But it happens only with firefox... not explorer. I contacted yahoo and he had me first disable add ons... no change... and since it didn't happen with explorer, they said to contact firefox. So I followed the advice of cor-el's post (on this page) and made the text on my page smaller... It did fix the issue.... but, I liked the size of the text the way I had it. So, how do I get it back to that size, and not have that annoying message any longer? thanks!!

Maybe you are looking for

  • Help me choose a Macbook

    Can someone offer me some advice? I'm weighing up either a refurb Macbook at £699 or the newest model at £807 (usually £949 but I'm going abroad soon and can get it a Dixons Tax Free at the airport. Only difference seems to be that the new one has at

  • Thinkpad yoga - limited connection - intel 7260AC (with solution that worked for me)

    limited connection issue i'm new to the forum, sorry for bad english i've a brand new rhinkpad yoga, with win 8.1 and intel ac 7260 wifi card first of all the solution that worked for me is moving from WEP to WPA2 protection with the router the probl

  • Problem in Updation of OcrCode and CogsOcrCod

    Hi, My problem is as follows, I am creating AR Invoices using DI, in the invoices we have the Dimensions (OcrCode), we can configure 4 different dimensions and use all 4 in a single Invoice now the problem is that we cannot add more than one Dimensio

  • Saving metadata error

    I am using the 1.3.1 trial version. My images are stored on a network drive. Whenever I save the metadata to file on a JPG image, I get the error "Writing XMP data did not complete successfully". Also, after getting this error, there is a duplicate f

  • MGBLX1 & Cisco SG300-28

    I am trying to connect the 2 Cisco SG300-28 switch using the MGBLX1 module with a single mode fiber cable. When I inserted & removed the module it detected (see attached screenshot) but when I see the optical module it is not detected (see attached s