On Mon, 10 Oct 2011 14:48:29 +0200, Leonardo <mac.iphone....@gmail.com> said:
>Hi,
>with Scripting Bridge Finder, I am trying to change the folder window size
>and the icon position of the files therein. I got 2 troubles.
>
>1) If the folder window is closed, I can't resize it.
>2) After I change the position of the icon, I have to close the folder then
>reopen it, in order to see the change.

This is not a Cocoa question. It's not even a Scripting Bridge question. What 
you're having trouble doing is scripting the Finder, plain and simple. You'd be 
better off asking on an AppleScript list.

m.

PS But the answer to your first question is obvious: a closed window doesn't 
exist - you can't refer to it, so of course you can't change its size.

--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to