Wednesday, August 8, 2012

increase shelf height mel script




int $shelfHeight = `layout -q -height ShelfLayout`;
int $doubleShelf = $shelfHeight + 20;

if ($shelfHeight < 150)
{
layout -e -height $doubleShelf ShelfLayout;
}
else
{
layout -e -height 40 ShelfLayout;
}

2 comments:

k2v said...

thank you thank you thank you x 100!!!

Anonymous said...

How can I restore the default shelf size? Thanks!