Fix for broken position command
-
- Posts: 0
- Joined: Sun Jan 03, 2010 3:45 pm
Fix for broken position command
Hi,This fixes the Cocoa implementation of the Position command Applescript command.Sets window to top, left.tell (do shell script "/usr/sbin/system_profiler SPDisplaysDataType : grep Resolution") to set {monitor_B} to {word 4 as number} -- get screen size of main monitortell application "GraphicConverter" activate delay 1 tell window 1 set {null, topSide, null, bottomSide} to bounds set x to 0 set y to monitor_B - (topSide - bottomSide) set position to {x, y} delay 1 end tellend tell Robert Poland - Fort Collins, CO