This also works on a per-application basis. Just replace NSGlobalDomain with your app's bundle identifier. For example, to speed up sheets in Preview.app, use the following:

defaults write com.apple.preview NSWindowResizeTime .001

On 18 Jan 2010, at 11:53 pm, Warren Dodge wrote:

On Jan 18, 2010, at 2:43 PM, David Catmull wrote:
Is there any way to make sheets open instantly, instead of animating? I'd just like to speed up my unit tests.

Hi David,
If you run the following before launching your app, you'll get speedy sheets.
 defaults write NSGlobalDomain NSWindowResizeTime .001

Return to normal with
 defaults delete NSGlobalDomain NSWindowResizeTime


Warren


_______________________________________________

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/markjallan%40blueyonder.co.uk

This email sent to markjal...@blueyonder.co.uk



_______________________________________________

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