<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Move All Windows To Your Main Screen&#8230;</title>
	<atom:link href="http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/</link>
	<description>So Little To Say, and So Little Time To Say It.</description>
	<pubDate>Fri, 05 Sep 2008 13:57:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Dan Harkless</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-2592</link>
		<dc:creator>Dan Harkless</dc:creator>
		<pubDate>Wed, 06 Aug 2008 06:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-2592</guid>
		<description>You rock.  This is one of those occasional areas where Mac OS sucks compared to Windows in not having a native solution for this issue, but this script takes care of that -- thanks!!</description>
		<content:encoded><![CDATA[<p>You rock.  This is one of those occasional areas where Mac OS sucks compared to Windows in not having a native solution for this issue, but this script takes care of that &#8212; thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoffrey Grosenbach</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-405</link>
		<dc:creator>Geoffrey Grosenbach</dc:creator>
		<pubDate>Tue, 22 Apr 2008 05:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-405</guid>
		<description>Works perfectly for my MacBook Air and an occasional external monitor. I call it with LaunchBar.

Thanks!</description>
		<content:encoded><![CDATA[<p>Works perfectly for my MacBook Air and an occasional external monitor. I call it with LaunchBar.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hendel</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-26</link>
		<dc:creator>Hendel</dc:creator>
		<pubDate>Tue, 05 Feb 2008 05:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-26</guid>
		<description>Thanks for this - terrific solution to my problem. I normally run Mail.app on my second monitor, but haven't found a VNC client that will let me access it remotely. When I'm out of town and forgot to push Mail over to the main monitor before I left, I've been stuck. Your script works great (though I had to use the modification to set screen size).</description>
		<content:encoded><![CDATA[<p>Thanks for this - terrific solution to my problem. I normally run Mail.app on my second monitor, but haven&#8217;t found a VNC client that will let me access it remotely. When I&#8217;m out of town and forgot to push Mail over to the main monitor before I left, I&#8217;ve been stuck. Your script works great (though I had to use the modification to set screen size).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Laliberte</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-9</link>
		<dc:creator>Jonathan Laliberte</dc:creator>
		<pubDate>Thu, 06 Dec 2007 01:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-9</guid>
		<description>David,
Open the script in Script Editor, go to File-&gt;Save As...
Select File Format: Application, I recommend turning/leaving off all the check boxes presented.</description>
		<content:encoded><![CDATA[<p>David,<br />
Open the script in Script Editor, go to File->Save As&#8230;<br />
Select File Format: Application, I recommend turning/leaving off all the check boxes presented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Brake</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-8</link>
		<dc:creator>David Brake</dc:creator>
		<pubDate>Wed, 05 Dec 2007 12:45:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-8</guid>
		<description>Thanks - does just what I need (once I made the fix mooncaine asked for). And I can confirm it works on Leopard (in case there was any doubt).

Dumb question I know but how can I make the script into a mini-app so when I double-click on it it runs rather than launching the editor from which I have to choose "run"?</description>
		<content:encoded><![CDATA[<p>Thanks - does just what I need (once I made the fix mooncaine asked for). And I can confirm it works on Leopard (in case there was any doubt).</p>
<p>Dumb question I know but how can I make the script into a mini-app so when I double-click on it it runs rather than launching the editor from which I have to choose &#8220;run&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Life, it is a Travesty&#8230; &#187; links for 2007-10-24</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-7</link>
		<dc:creator>Life, it is a Travesty&#8230; &#187; links for 2007-10-24</dc:creator>
		<pubDate>Mon, 12 Nov 2007 18:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-7</guid>
		<description>[...] Move All Windows To Your Main Screen… at JonathanLaliberte.com (tags: osx windows offscreen onscreen monitor move) [...]</description>
		<content:encoded><![CDATA[<p>[...] Move All Windows To Your Main Screen… at JonathanLaliberte.com (tags: osx windows offscreen onscreen monitor move) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mooncaine</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-6</link>
		<dc:creator>mooncaine</dc:creator>
		<pubDate>Tue, 23 Oct 2007 19:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-6</guid>
		<description>Thanks for that, because it did give me something useful. I made a copy of your script, called "gather windows to main display", and used your suggested code block, except I set it for 800 and 600, so that the windows definitely cluster near the top left corner, no matter what screen res I choose [I change that setting often]. Great! Thanks!

I renamed the original version to "move offscreen windows to the main display" so I won't be confused later -- I often run my MBP attached to a 2nd monitor.</description>
		<content:encoded><![CDATA[<p>Thanks for that, because it did give me something useful. I made a copy of your script, called &#8220;gather windows to main display&#8221;, and used your suggested code block, except I set it for 800 and 600, so that the windows definitely cluster near the top left corner, no matter what screen res I choose [I change that setting often]. Great! Thanks!</p>
<p>I renamed the original version to &#8220;move offscreen windows to the main display&#8221; so I won&#8217;t be confused later &#8212; I often run my MBP attached to a 2nd monitor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Laliberte</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-5</link>
		<dc:creator>Jonathan Laliberte</dc:creator>
		<pubDate>Tue, 23 Oct 2007 18:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-5</guid>
		<description>AFAIK, there is no way to get the size of the main display with Applescript (not easily anyway). The current Finder block gets the size of the desktop, which is going to be the size of all connected displays. The following change would accomplish what you are asking for though:

At the top of the script, remove the Finder tell block:
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

replace it with:
	set screen_width to &lt;insert screen width here&gt;
	set screen_height to  &lt;insert screen height here&gt;

So, if your screen resolution is 1440x900, you would have
	set screen_width to 1440
	set screen_height to 900
</description>
		<content:encoded><![CDATA[<p>AFAIK, there is no way to get the size of the main display with Applescript (not easily anyway). The current Finder block gets the size of the desktop, which is going to be the size of all connected displays. The following change would accomplish what you are asking for though:</p>
<p>At the top of the script, remove the Finder tell block:<br />
tell application &#8220;Finder&#8221;<br />
	set _b to bounds of window of desktop<br />
	set screen_width to item 3 of _b<br />
	set screen_height to item 4 of _b<br />
end tell</p>
<p>replace it with:<br />
	set screen_width to <insert screen width here><br />
	set screen_height to  </insert><insert screen height here></p>
<p>So, if your screen resolution is 1440&#215;900, you would have<br />
	set screen_width to 1440<br />
	set screen_height to 900</insert></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mooncaine</title>
		<link>http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-4</link>
		<dc:creator>mooncaine</dc:creator>
		<pubDate>Tue, 23 Oct 2007 18:10:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen/#comment-4</guid>
		<description>Brilliant idea. Could you write a script that would gather all the windows to the main display, even if there are other displays attached?</description>
		<content:encoded><![CDATA[<p>Brilliant idea. Could you write a script that would gather all the windows to the main display, even if there are other displays attached?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
