<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4129802251268931265</id><updated>2011-07-29T02:44:21.819-07:00</updated><category term='applescript itile'/><title type='text'>an:Ds life and dev page</title><subtitle type='html'>make some stuff public</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://andikoerner.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129802251268931265/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://andikoerner.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>an:D</name><uri>http://www.blogger.com/profile/07001288839775436295</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4129802251268931265.post-315258237203529850</id><published>2010-02-04T01:50:00.000-08:00</published><updated>2010-02-04T11:02:18.264-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='applescript itile'/><title type='text'>iTile - the Window Manager</title><content type='html'>Windows 7 has introduced a new feature: Drag a Window to the Side of the screen to arrange it at this side. &amp;nbsp;This is a really nice feature, and something like this is not found on the mac. Sometimes the window management on a mac is really weird. Developers like &lt;a href="http://www.irradiatedsoftware.com/"&gt;Irradiated Software&lt;/a&gt;&amp;nbsp;know this and provide solutions for window managing. But &lt;a href="http://www.irradiatedsoftware.com/cinch/"&gt;Cinch&lt;/a&gt; and &lt;a href="http://www.irradiatedsoftware.com/sizeup/"&gt;SizeUp&lt;/a&gt;&amp;nbsp;are too expensive for what they do in my opinion. And &lt;a href="http://www.irradiatedsoftware.com/twoup/"&gt;TwoUp&lt;/a&gt; does not provide FullScreen or multi Monitor Support.&lt;br /&gt;&lt;br /&gt;So I googled a little, and wrote some code. I was heaviliy inspired by the programs named above. And several Google Results did really help me (see References).&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Usage&lt;/span&gt;&lt;br /&gt;iTile can be found under&amp;nbsp;&lt;a href="http://www.jaak.de/andi/itile/itile.zip"&gt;www.jaak.de/andi/itile/itile.zip&lt;/a&gt;. The Archive contains an applescript and a Spark Library. I really recommend you to download &lt;a href="http://www.shadowlab.org/softwares/spark.php"&gt;Spark&lt;/a&gt; and import the Library file from the archive.&lt;br /&gt;This way you can set up itile with ease in under five minutes.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Shortcuts in the Spark Library&lt;/span&gt;&lt;br /&gt;The Spark Library provides you with several Shortcuts, similar to TwoUp:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;Control+Option+Command+Right/Left/Up/Down&lt;/i&gt; arranges the frontmost window at this Side of the Screen&lt;/li&gt;&lt;li&gt;&lt;i&gt;Control+Option+Command+Space&lt;/i&gt;&amp;nbsp;maximizes the frontmost window&lt;/li&gt;&lt;li&gt;&lt;i&gt;Control+Option+Command+N&lt;/i&gt; Brings the window to "normal" size, which means it will be in the middle of the screen&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Limitations&lt;/span&gt;&lt;/div&gt;&lt;div&gt;I did not get the X Window Server to work with the shortcuts. But Matlab did work, and I think that most applications that support global shortcuts do.&amp;nbsp;&lt;/div&gt;&lt;div&gt;iTile is a little slow. (especially on the first run) This is because it has to call the SystemProfiler to get the screen size every time. I do not want to cache the results for I use my MacBook with an external monitor. Often I need to plug of that screen and iTile should work properly after this.&lt;/div&gt;&lt;div&gt;Currently iTile only supports two screens. As there are many case sto handle for more screens. Also these two screens will only be handled if they stand (virtually) side-by-side this means the second screen on the left or right side of the main monitor.&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Possibilities of the script&lt;/span&gt;&lt;br /&gt;You can use the iTile script to arrange your windows in different ways. The ways in the spark library are not the only ones. p.e. you could arrange your windows in the edges of your screen.&lt;br /&gt;&lt;i&gt;sizeFrontmost&lt;/i&gt;&amp;nbsp;takes 6 arguments: the first two tell it in how many parts the screen should be divided horizontal and vertically. The second two arguments tell the script the position of the window in that grid. The upper left corner is 0,0. And the last two arguments tell the script how many cells the window should take horizontal and vertically.&lt;br /&gt;p.e. you could create a 3 by 3 grid with the window set up in the lower left corner of the screen (0,2) taken two cells horizontal and one vertically (2,1).&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Future Plans&lt;/span&gt;&lt;br /&gt;Are no good ;)&lt;br /&gt;Maybe I will extend the script to arrange not just the frostmost window, but every window by name.&lt;br /&gt;And I plan to build in borders and maybe a simple transition while resizing to make the hole thing look more beautifull. Well, maybe ...&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;References&lt;/span&gt;&lt;br /&gt;I used some blog/forum posts that really got my thoughts pushed in the right direction&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://daringfireball.net/2006/12/display_size_applescript_the_lazy_way"&gt;Daring Fireball: Getting the Size of Your Display With AppleScript, the Lazy Way&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://daringfireball.net/2006/12/display_size_applescript_the_lazy_way"&gt;&lt;/a&gt;&lt;a href="http://macscripter.net/viewtopic.php?id=24511"&gt;MacScripter / How can I get the screen resolution?&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://macscripter.net/viewtopic.php?id=24511"&gt;&lt;/a&gt;&lt;a href="http://www.thepretzelblog.com/2009/07/resize-windows-in-mac-os-x-from-the-keyboard-using-applescript/"&gt;The Pretzel Blog | Computing Tips by Stephan Ritter&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.thepretzelblog.com/2009/07/resize-windows-in-mac-os-x-from-the-keyboard-using-applescript/"&gt;&lt;/a&gt;&lt;a href="http://ctrloptcmd.com/archives/536/center-and-resize-window-with-applescript/"&gt;» Center and resize window with AppleScript&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://ctrloptcmd.com/archives/536/center-and-resize-window-with-applescript/"&gt;&lt;/a&gt;&lt;a href="http://www.ithug.com/2007/09/applescript-moving-and-resizing-windows/"&gt;iThug » Applescript: Moving and Resizing Windows&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ithug.com/2007/09/applescript-moving-and-resizing-windows/"&gt;&lt;/a&gt;&lt;a href="http://slaunchaman.wordpress.com/2008/05/20/resize-your-windows-automatically-for-different-resolutions/"&gt;Resize Your Windows Automatically for Different Resolutions « Jeff Kelley’s Blog&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://macscripter.net/viewtopic.php?id=4915"&gt;MacScripter / Reading Jon's screen size of {screen list}?&lt;/a&gt;&amp;nbsp;This was really important especially the monitorProperties Function of &amp;nbsp;paulskinner, which I took over nearly completely.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129802251268931265-315258237203529850?l=andikoerner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andikoerner.blogspot.com/feeds/315258237203529850/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://andikoerner.blogspot.com/2010/02/itile-window-manager.html#comment-form' title='2 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129802251268931265/posts/default/315258237203529850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129802251268931265/posts/default/315258237203529850'/><link rel='alternate' type='text/html' href='http://andikoerner.blogspot.com/2010/02/itile-window-manager.html' title='iTile - the Window Manager'/><author><name>an:D</name><uri>http://www.blogger.com/profile/07001288839775436295</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129802251268931265.post-4206020055165442078</id><published>2009-10-05T03:42:00.000-07:00</published><updated>2009-10-07T14:03:55.338-07:00</updated><title type='text'>Last.FM for Quicksilver using iScrobbler</title><content type='html'>This is a simple Applescript, which can be used to select your Last.FM Radio via Quicksilver.&lt;br /&gt;As I listen to Last.FM most of the time I'm sitting in front of my Mac, I did not like the way I have to use iScrobbler to switch radio stations. But iScrobbler has really nice Applescript support, so it's really easy to control it from Quicksilver.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Usage&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Copy the Scripts (not the folder) to your &lt;b&gt;Library/Application Support/Quicksilver/Actions&lt;/b&gt; (create the Folders if they do not exist)&lt;/li&gt;&lt;li&gt;Open up Quicksilber type "." for the Text Field. Type the Artist or the Tag your want to hear, Press "Tab" and select "Last.FM - tune Artist" or "Last.FM tune Tag" from the list.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;a href="http://dl.getdropbox.com/u/937769/Permanent/LastFM-for-Quicksilver.tgz"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129802251268931265-4206020055165442078?l=andikoerner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andikoerner.blogspot.com/feeds/4206020055165442078/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://andikoerner.blogspot.com/2009/10/lastfm-for-quicksilver-using-iscrobbler.html#comment-form' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129802251268931265/posts/default/4206020055165442078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129802251268931265/posts/default/4206020055165442078'/><link rel='alternate' type='text/html' href='http://andikoerner.blogspot.com/2009/10/lastfm-for-quicksilver-using-iscrobbler.html' title='Last.FM for Quicksilver using iScrobbler'/><author><name>an:D</name><uri>http://www.blogger.com/profile/07001288839775436295</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
