<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get screen  resolution  windows desktop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407612#M10695</link>
    <description>&lt;P&gt;Thanks Richard, &lt;/P&gt;&lt;P&gt;That's right, I'm talking about the windows taskbar. &lt;/P&gt;&lt;P&gt;I have tried to get windos resolution by API, but I have not succeeded :(.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2017 14:15:40 GMT</pubDate>
    <dc:creator>former_member270915</dc:creator>
    <dc:date>2017-03-30T14:15:40Z</dc:date>
    <item>
      <title>Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407607#M10690</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need get screen resolution of windows desktop. The object cl_gui_props_consumer not work correctly with taskbar.. &lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;My current screen resolution of windows is 1366x768 With this eg.&lt;/P&gt;&lt;P&gt;DATA: lref_consumer TYPE REF TO cl_gui_props_consumer,&lt;BR /&gt;ls_metric_factors TYPE cntl_metric_factors.&lt;BR /&gt;&lt;BR /&gt;lref_consumer = cl_gui_props_consumer=&amp;gt;create_consumer( ).&lt;BR /&gt;ls_metric_factors = lref_consumer-&amp;gt;get_metric_factors( ).&lt;BR /&gt;WRITE: / ls_metric_factors-screen-x,&lt;BR /&gt;ls_metric_factors-screen-y.&lt;/P&gt;&lt;P&gt;Result: 1366x728&lt;/P&gt;&lt;P&gt;If taskbar is hide the result is correct 1366x768 Please i need a result independently the taskbar.&lt;/P&gt;Anything happen to you? &lt;P&gt;Thank!!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 16:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407607#M10690</guid>
      <dc:creator>former_member270915</dc:creator>
      <dc:date>2017-03-29T16:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407608#M10691</link>
      <description>&lt;P&gt;How exactly is the result affected by the task bar? I'm confused...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 18:58:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407608#M10691</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2017-03-29T18:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407609#M10692</link>
      <description>&lt;P&gt;Supplying insufficient information is a good way of getting your question removed. Please supply specific details of what you're doing and why. &lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 06:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407609#M10692</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-03-30T06:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407610#M10693</link>
      <description>&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;My current screen resolution of windows is 1366x768 
With this eg.&lt;/P&gt;&lt;P&gt;DATA: lref_consumer TYPE REF TO cl_gui_props_consumer,&lt;BR /&gt;
 ls_metric_factors TYPE cntl_metric_factors.&lt;BR /&gt;
&lt;BR /&gt;
 lref_consumer = cl_gui_props_consumer=&amp;gt;create_consumer( ).&lt;BR /&gt;
 ls_metric_factors = lref_consumer-&amp;gt;get_metric_factors( ).&lt;BR /&gt;
 WRITE: / ls_metric_factors-screen-x,&lt;BR /&gt;
 ls_metric_factors-screen-y.&lt;/P&gt;&lt;P&gt;Result: 1366x728&lt;/P&gt;&lt;P&gt;If  taskbar is hide the result is correct 1366x768 
Please i need a result independently the taskbar. &lt;/P&gt;&lt;P&gt;
Thank&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 09:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407610#M10693</guid>
      <dc:creator>former_member270915</dc:creator>
      <dc:date>2017-03-30T09:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407611#M10694</link>
      <description>&lt;P&gt;Ahh...  &lt;/P&gt;&lt;P&gt;You are not getting the screen resolution,  you are getting the currrent window dimensions and the task bar you are talking about is the windows task bar yes ??&lt;/P&gt;&lt;P&gt;I had to do this once but it's not on my work laptop.  I'll check when I get home tonight.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407611#M10694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-03-30T13:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407612#M10695</link>
      <description>&lt;P&gt;Thanks Richard, &lt;/P&gt;&lt;P&gt;That's right, I'm talking about the windows taskbar. &lt;/P&gt;&lt;P&gt;I have tried to get windos resolution by API, but I have not succeeded :(.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 14:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407612#M10695</guid>
      <dc:creator>former_member270915</dc:creator>
      <dc:date>2017-03-30T14:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407613#M10696</link>
      <description>&lt;P&gt;refer to windows forums; it's not an ABAP question.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 14:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407613#M10696</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-04-03T14:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407614#M10697</link>
      <description>&lt;P&gt;Forgives, &lt;/P&gt;&lt;P&gt;I think it is. I need to get windows resolution from Abap, because depending on that I generate buttons in an HTML container with height and width defined by resolution.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 15:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407614#M10697</guid>
      <dc:creator>former_member270915</dc:creator>
      <dc:date>2017-04-03T15:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407615#M10698</link>
      <description>&lt;P&gt;Search DLL in windows to get resolution and search how to call DLL from ABAP&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 15:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407615#M10698</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-04-03T15:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407616#M10699</link>
      <description>&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;I have already tried using the Api windows and I have also tried to read from the windows registry, but it did not work :(.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 15:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407616#M10699</guid>
      <dc:creator>former_member270915</dc:creator>
      <dc:date>2017-04-03T15:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407617#M10700</link>
      <description>&lt;P&gt;If you can't do it using Windows functions, then why would ABAP be able to do it? No, it's certain you just didn't search enough or you didn't ask in Windows forums.&lt;/P&gt;&lt;P&gt;By the way, I'm surprised that you can't do it using javascript (inside HTML). Otherwise, I would "overkill" the by doing it first in VBA/DLL (Word, Excel...), then I would access the result from ABAP. Stephan Schnell has published several posts for DLL/ABAP communication.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 05:11:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407617#M10700</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-04-04T05:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407618#M10701</link>
      <description>&lt;P&gt;Hi Sandra&lt;/P&gt;&lt;P&gt;With JavaScript it works, but I need to get the resolution before running the html container. Now I'll look at Stephan Schnell's messages about ABAP / DLL. &lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407618#M10701</guid>
      <dc:creator>former_member270915</dc:creator>
      <dc:date>2017-04-04T10:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407619#M10702</link>
      <description>&lt;P&gt;As suggested by &lt;A target="_blank" href="https://answers.sap.com/users/1091/sandrarossi.html"&gt;Sandra Rossi&lt;/A&gt; you could check this:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://archive.sap.com/discussions/thread/1815465"&gt;How to call DLL functions from the client in ABAP programs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 12:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407619#M10702</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2017-04-04T12:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get screen  resolution  windows desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407620#M10703</link>
      <description>&lt;P&gt;Hi Pablo, &lt;/P&gt;&lt;P&gt;I tried, but I can not :(. Do you have an example?&lt;/P&gt;&lt;P&gt;Thank!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 15:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-screen-resolution-windows-desktop/m-p/407620#M10703</guid>
      <dc:creator>former_member270915</dc:creator>
      <dc:date>2017-04-05T15:24:36Z</dc:date>
    </item>
  </channel>
</rss>

