Well that got me alot further, than I would of gotten, thanks. Here is my new script, but I don't seem to have the float field connected to the amount of frames, here it is: global proc myShaveWriteProcedure() { int $f; for ($f = 1; $f <= 1000; $f++) { currentTime $f; shaveWriteRib -frame $f ("c:\\file." + $f + ".rib"); } } global proc myShaveWindow() { window -height 90 -width 320; rowLayout -columnWidth3 80 100 80 -height 64 -numberOfColumns 3 -width 312; text -height 17 -label "Frames" -width 80; floatField -height 23 -maxValue 1000 -minValue 1 -value 1 -width 100; button -command "myShaveWriteProcedure" -height 28 -label "Rib It" -width 80; } showWindow;