Fix for broken position command

This area contains the messages from the old Yahoo gcmac group after the port.
Post Reply
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

Fix for broken position command

Post by Robert Poland » Sat Jun 02, 2012 7:44 pm

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

Post Reply