<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Elegando &#187; Mac</title>
	<atom:link href="http://elegando.jcg3.org/cat/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegando.jcg3.org</link>
	<description>elegant » being unusually effective and simple...</description>
	<lastBuildDate>Mon, 01 Mar 2010 20:17:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Aqua Data Studio 6.5 with Java 1.6</title>
		<link>http://elegando.jcg3.org/2010/02/aqua-data-studio-6-5-with-java-1-6/</link>
		<comments>http://elegando.jcg3.org/2010/02/aqua-data-studio-6-5-with-java-1-6/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 02:25:34 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://elegando.jcg3.org/2010/02/aqua-data-studio-6-5-with-java-1-6/</guid>
		<description><![CDATA[I use an older version (6.5) of Aqua Data Studio (an excellent tool), but it recently broke on the Mac when Java 1.6 came out. There is a quick fix for this, as the problem was a few classes moving outside of the JRE&#8217;s default libs. Download this file and put it in AquaDataStudio.app/Content/Resources/Java. Someone [...]]]></description>
			<content:encoded><![CDATA[<p>I use an older version (6.5) of <a href="http://www.aquafold.com/index.html">Aqua Data Studio</a> (an excellent tool), but it recently broke on the Mac when Java 1.6 came out. There is a quick fix for this, as the problem was a few classes moving outside of the JRE&#8217;s default libs.</p>
<p>Download <a href="/web/2010/02/aqua2.jar">this file</a> and put it in AquaDataStudio.app/Content/Resources/Java.</p>
<p>Someone else came up with this solution, but I have no idea of the original source.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegando.jcg3.org/2010/02/aqua-data-studio-6-5-with-java-1-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix Offscreen Windows (Mac)</title>
		<link>http://elegando.jcg3.org/2010/02/fix-offscreen-windows-mac/</link>
		<comments>http://elegando.jcg3.org/2010/02/fix-offscreen-windows-mac/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 01:06:21 +0000</pubDate>
		<dc:creator>Jason G.</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://elegando.jcg3.org/2010/02/fix-offscreen-windows-mac/</guid>
		<description><![CDATA[I change screen resolutions on my Mac frequently &#8212; adding or removing external monitors, using external monitors of different sizes&#8230; Every once in a while a window is placed off screen or is too large to be resized within the screen available. Here&#8217;s a script to fix that&#8230; Launch the Apple Script Editor, and create [...]]]></description>
			<content:encoded><![CDATA[<p>I change screen resolutions on my Mac frequently &#8212; adding or removing external monitors, using external monitors of different sizes&#8230; Every once in a while a window is placed off screen or is too large to be resized within the screen available.</p>
<p>Here&#8217;s a script to fix that&#8230;</p>
<p><span id="more-145"></span></p>
<p>Launch the Apple Script Editor, and create a new script.  Enter the following in the script&#8230;</p>
<pre class="java" name="code">
-- Example list of processes to ignore: {"xGestures"} or {"xGestures", "OtherApp", ...}
property processesToIgnore : {"GeekTool"}

-- Get the size of the Display(s), only useful if there is one display
-- otherwise it will grab the total size of both displays
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

tell application "System Events"
	set allProcesses to application processes
	set _results to ""
	repeat with i from 1 to count allProcesses
		set doIt to 1
		repeat with z from 1 to count processesToIgnore
			if process i = process (item z of processesToIgnore) then
				set doIt to 0
			end if
		end repeat

		if doIt = 1 then
			tell process i
				repeat with x from 1 to (count windows)
					set winPos to position of window x
					set _x to item 1 of winPos
					set _y to item 2 of winPos
					set winPos to size of window x
					set _width to item 1 of winPos
					set _height to item 2 of winPos

					if (_x < 0 or _y < 0 or _x > screen_width or _y > screen_height) then
						set position of window x to {0, 22}
					end if
					if (_width > screen_width or _height > screen_height) then
						set size of window x to {screen_width - 100, screen_height - 100}
					end if
				end repeat

			end tell
		end if
	end repeat
end tell
</pre>
<p>Save the file, and then export as an application.  Do File &#8211;&gt; Save As, and change the File Format to be Application.  Once completed, you now have an executable (double-clickable) program that will run the script.</p>
<p>Note that I got this code from somewhere like <a href="http://www.leonamarant.com/2008/04/02/how-to-get-off-screen-windows-back-on-your-mac-os-x-v105/">this</a>, modified slightly for my use.</p>
<p>It&#8217;s also worth mentioning that someone else has already fixed this problem with a free app named <a href="http://www.macupdate.com/info.php/id/22709/forget-me-not">Forget-Me-Not</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegando.jcg3.org/2010/02/fix-offscreen-windows-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
