Skip to content
Browse files

Notes

  • Loading branch information...
1 parent 303334a commit 5ceeff52f57547d5b02d35e5cdb335036e5b2d6a @topfunky committed Jun 12, 2008
Showing with 8 additions and 12 deletions.
  1. +7 −1 README.markdown
  2. +0 −5 bdd-2up-swap.applescript
  3. +0 −5 bdd-2up.applescript
  4. +1 −1 front-natural-left.applescript
View
8 README.markdown
@@ -2,7 +2,9 @@ OSX Window Sizing
=================
OSX Window Sizing is a set of apps that makes it dead-simple to change the size of
-you windows. At present, it comes with two apps: center and maximize
+your windows.
+
+This Topfunky fork includes several extra scripts to resize specific apps to certain places on the screen. I have them bound to ctrl-shift-[1,2,3,4,5] for easy access. Use them as a starting point for your own window management.
maximize
--------
@@ -26,6 +28,10 @@ applescripts into .scpt files and copy them into your ~/Library/Scripts folder.
Usage
-----
+To compile and run all scripts to ~/Library/Scripts, run
+
+ rake install
+
It is recommended that you bind the scripts to shortcut keys in the system. I personally
use `ctrl-shift-M` for maximize and `ctrl-shift-C` for center.
View
5 bdd-2up-swap.applescript
@@ -5,11 +5,6 @@ tell application "System Events"
-- TODO hide all other apps
tell process "Terminal"
- -- try
- -- set {{w, h}} to size of drawer of window 1
- -- on error
- -- set {w, h} to {0, 0}
- -- end try
set position of window 1 to {0, 50}
set size of window 1 to {700, 800}
end tell
View
5 bdd-2up.applescript
@@ -5,11 +5,6 @@ tell application "System Events"
-- TODO hide all other apps
tell process "Terminal"
- -- try
- -- set {{w, h}} to size of drawer of window 1
- -- on error
- -- set {w, h} to {0, 0}
- -- end try
set position of window 1 to {800, 50}
set size of window 1 to {700, 800}
end tell
View
2 front-natural-left.applescript
@@ -1,4 +1,4 @@
--- Put frontmost window on left half
+-- Put frontmost window on left side
tell application "System Events"

0 comments on commit 5ceeff5

Please sign in to comment.
Something went wrong with that request. Please try again.