Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Increase to 1100 instead of 1000. Most sites expect greater than 1000…

…px width.
  • Loading branch information...
commit a99c776ee02ce1d49e1836ada176a1a9d23c196a 1 parent 597ae96
Geoffrey Grosenbach authored March 11, 2009

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  front-natural-left.applescript
4  front-natural-left.applescript
@@ -2,6 +2,8 @@
2 2
 
3 3
 -- Put frontmost window on left side
4 4
 
  5
+set windowWidth to 1100
  6
+
5 7
 -- Works with most setups
6 8
 tell application "Finder"
7 9
   set {screen_left, screen_top, screen_width, screen_height} to bounds of window of desktop
@@ -18,7 +20,7 @@ tell application "System Events"
18 20
   set myFrontMost to name of first item of (processes whose frontmost is true)
19 21
 	
20 22
   tell process myFrontMost
21  
-    set size of window 1 to {1040, screen_height}
  23
+    set size of window 1 to {windowWidth, screen_height}
22 24
     set position of window 1 to {0, 20}
23 25
   end tell
24 26
 

0 notes on commit a99c776

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