Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Smooth Resizing (again)



On Monday, August 11, 2003, at 04:25PM, <email@hidden> wrote:
>on resize()
> call method "resizeWindow:toHeight:toWidth:" of class "CocoaUtilities"
>with parameters {"w_main", 400, 400}
>end resize

I think the problem here is that you are passing a string for the first parameter, when you need to pass an object that can be automagically turned into an NSWindow. Try to call it with parameters {window "w_main", 400, 400} instead and see if that works.

Topher
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.