PDA

View Full Version : Make portion of desktop viewable at all times


danthespaceman
08-08-2010, 01:08 AM
I'm looking for a way to make a portion of my desktop viewable at all times. I realize that it's easy to write a script that resizes windows to accommodate this, but I'm looking for something with this added twist:

Just like you can't drag a window behind the menu bar, I'd like to create an area on the left side of my screen, about 300 pixels wide, that windows cannot move over, leaving only that portion of the desktop viewable. When moving windows around, they would just bump into this invisible edge just as they do with the menu bar.

I'm not entirely sure if this can be done in AppleScript, but I figured it would be a good place to start. Please redirect me if there is somewhere else this question would be better suited. For those wondering, I have a Geektools sidebar on my desktop that I would always like visible to me at all times.

Running OSX 10.6.4

renaultssoftware
08-08-2010, 07:17 AM
Not possible with AppleScript as far as I know. There are a ton of window switchers like Rob's Witch, or Lowndes' Optimal Layout. Give 'em a spin.

roncross@cox.net
08-08-2010, 09:14 AM
I'm not entirely sure if this can be done in AppleScript, but I figured it would be a good place to start. Please redirect me if there is somewhere else this question would be better suited. For those wondering, I have a Geektools sidebar on my desktop that I would always like visible to me at all times.

Running OSX 10.6.4

You are wrong, AppleScript is a horrible place to start. You should take a look at xcode. Xcode is a very very powerful tool for doing things like this.

tw
08-08-2010, 10:16 AM
This is a far more complicated task than you realize. basically, you want some process that monitors every application to make sure those apps are not putting windows in the area you've reserved. you'd make your life a lot easier just by using a floating panel window that would mirror the contents of that corner of your desktop. you can make one yourself with a lot of effort, get one of several application launchers that are available online fairly easily, or use the dock (this is precisely the kind of thing that stacks are for).