<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Zoom to full window size</title>
    <link>https://forums.adobe.com/community/indesign/indesign_scripting?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 20 Nov 2013 16:23:55 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-11-20T16:23:55Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Zoom to full window size</title>
      <link>https://forums.adobe.com/message/5858682?tstart=0#5858682</link>
      <description>&lt;!-- [DocumentBodyStart:aaa7d0b1-4f50-41fe-abfa-a64fd3639a98] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I will check on it. Thanks!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:aaa7d0b1-4f50-41fe-abfa-a64fd3639a98] --&gt;&lt;img src='/beacon?t=1415905860283' /&gt;</description>
      <pubDate>Wed, 20 Nov 2013 16:23:55 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5858682?tstart=0#5858682</guid>
      <dc:date>2013-11-20T16:23:55Z</dc:date>
      <clearspace:dateToText>11 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Zoom to full window size</title>
      <link>https://forums.adobe.com/message/5848483?tstart=0#5848483</link>
      <description>&lt;!-- [DocumentBodyStart:bef9a234-ee6b-43de-a22a-de9ef59e7768] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Dan&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Try experimenting with the $.screens object&lt;/p&gt;&lt;p&gt;$.screens[0].right&lt;/p&gt;&lt;p&gt;Result: 0&lt;/p&gt;&lt;p&gt;$.screens[0].right&lt;/p&gt;&lt;p&gt;Result: 1366&lt;/p&gt;&lt;p&gt;$.screens[0].bottom&lt;/p&gt;&lt;p&gt;Result: 728&lt;/p&gt;&lt;p&gt;$.screens[0]&lt;/p&gt;&lt;p&gt;Result: 0:0-1366:728&lt;/p&gt;&lt;p&gt;$.screens.length&lt;/p&gt;&lt;p&gt;Result: 1&lt;/p&gt;&lt;p&gt;Do some maths and Bingo your'll get your zoom to the correct size.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&lt;span aria-label="Happy" class="emoticon-inline emoticon_happy" style="height:16px;width:16px;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Trevor&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:bef9a234-ee6b-43de-a22a-de9ef59e7768] --&gt;</description>
      <pubDate>Sun, 17 Nov 2013 06:54:27 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5848483?tstart=0#5848483</guid>
      <dc:date>2013-11-17T06:54:27Z</dc:date>
      <clearspace:dateToText>11 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Zoom to full window size</title>
      <link>https://forums.adobe.com/message/5843719?tstart=0#5843719</link>
      <description>&lt;!-- [DocumentBodyStart:ea03b794-ed08-4c6b-a551-e5636d6c5863] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I use the following script to reset my documents to the first page and zoom to full window size (like Ctrl+0):&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;with (app.activeDocument.layoutWindows[0]) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; activePage = app.activeDocument.pages[0];&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; screenMode = ScreenModeOptions.previewToPage;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom(ZoomOptions.fitPage);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am working on a 15" laptop with a 24" screen connected to it, and the 24" screen is set to be the only display (in Windows 7).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I run this script directly in InDesign CS6 from the Scripts panel, it works fine. When I run the script using DoScript in a VB.NET program, the resulting document is scaled as though it were displayed on the 15" screen of my laptop. How can I make InDesign scale based on the 24" screen and not the 15" screen?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ea03b794-ed08-4c6b-a551-e5636d6c5863] --&gt;</description>
      <pubDate>Thu, 14 Nov 2013 23:26:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5843719?tstart=0#5843719</guid>
      <dc:date>2013-11-14T23:26:32Z</dc:date>
      <clearspace:dateToText>11 months 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

