New version, set position still fails

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

New version, set position still fails

Post by Robert Poland »

Thorsten,Shouldn't this script work?Gives error "AppleEvent handler failed."tell application "GraphicConverter" activate delay 1 tell window 1 delay 1 set position to {22, 22} end tellend tellRobert PolandGC 8.1 (884)2.7 GHz Intel Core I5, 27” iMac  12 GB Ram, 1TB HD, OS 10.7.4
thorstenlemke
Posts: 0
Joined: Fri Dec 30, 2016 12:00 pm

Re: New version, set position still fails

Post by thorstenlemke »

Hello Robert,many thanks.Will be fixed in build 887.Thorsten On 31.05.2012, at 14:54, Robert Poland wrote:   Thorsten,Shouldn't this script work?Gives error "AppleEvent handler failed."tell application "GraphicConverter" activate delay 1 tell window 1 delay 1 set position to {22, 22} end tellend tell
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

GC 8.1 (887)

Post by Robert Poland »

Thorsten,Set Position now works but setting a top position of 22 ends up about 72 px from the top. On May 31, 2012, at 8:10 AM, Thorsten Lemke wrote:Hello Robert,many thanks.Will be fixed in build 887.ThorstenOn 31.05.2012, at 14:54, Robert Poland wrote:Thorsten,Shouldn't this script work?Gives error "AppleEvent handler failed."tell application "GraphicConverter" activate delay 1 tell window 1 delay 1 set position to {22, 22} end tellend tell Robert Poland - Fort Collins, CO
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

GC 8.1 (887)

Post by Robert Poland »

Thorsten,Forgot to attach picture.Set Position now works but setting a top position of 22 ends up about 72 px from the top. On May 31, 2012, at 8:10 AM, Thorsten Lemke wrote:Hello Robert,many thanks.Will be fixed in build 887.ThorstenOn 31.05.2012, at 14:54, Robert Poland wrote:Thorsten,Shouldn't this script work?Gives error "AppleEvent handler failed."tell application "GraphicConverter" activate delay 1 tell window 1 delay 1 set position to {22, 22} end tellend tell Robert Poland - Fort Collins, CO
Christopher Stone
Posts: 0
Joined: Sat Jun 19, 2004 11:47 pm

Re: GC 8.1 (887)

Post by Christopher Stone »

On Jun 01, 2012, at 08:40, Robert Poland wrote: Set Position now works but setting a top position of 22 ends up about 72 px from the top.______________________________________________________________________Confirmed. --Chris
thorstenlemke
Posts: 0
Joined: Fri Dec 30, 2016 12:00 pm

Re: GC 8.1 (887)

Post by thorstenlemke »

Hello,yes, I use now the Cocoa calls for the windows.You adjust the content view location.Thorsten Thorsten,Forgot to attach picture.Set Position now works but setting a top position of 22 ends up about 72 px from the top.On May 31, 2012, at 8:10 AM, Thorsten Lemke wrote:
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

Re: GC 8.1 (887)

Post by Robert Poland »

On Jun 2, 2012, at 12:44 AM, Thorsten Lemke wrote:Hello,yes, I use now the Cocoa calls for the windows.Then the Applescript Dictionary is WRONG???"position list of integer : position of the window (top/left) in global coordinates"You adjust the content view location.ThorstenThorsten,Forgot to attach picture.Set Position now works but setting a top position of 22 ends up about 72 px from the top.On May 31, 2012, at 8:10 AM, Thorsten Lemke wrote: Robert Poland - Fort Collins, CO
Post Reply