Page 1 of 1

Fix for broken position command

Posted: Sat Jun 02, 2012 7:44 pm
by Robert Poland
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