This works in Photoshop CS4 on Mac OS X (but the randomSeed parameter is just ignored in CS):
function clouds (randomSeed)
{ var desc = new ActionDescriptor (); desc.putInteger (charIDToTypeID ("FlRs" ), randomSeed); app.executeAction (stringIDToTypeID ("clouds"), desc);
}
clouds (1);
clouds (42);
HTH,
--Mikaeru
P.S. : I'll never get used to this forum's poor editor...