// Fireworks JavaScript Command // Unlinks all selected masks // Install by copying to Fireworks/Configuration/Commands/ // Run in Fireworks via the Commands menu // Aaron Beall - http://abeall.com var dom = fw.getDocumentDOM(); var sel = [].concat(fw.selection); function UnlinkSelectedMasks(){ for(var s in sel){ if(sel[s].mask){ sel[s].mask.linked = false; } } } UnlinkSelectedMasks();