//Written by Paul Riggott allActions=[]; letterActions=[]; selection=99; var dlg= "dialog{text:'Script Interface',bounds:[100,100,700,390],"+ "panel0:Panel{bounds:[10,10,590,280] , text:'' ,properties:{borderStyle:'etched',su1PanelCoordinates:true},"+ "title:StaticText{bounds:[180,10,390,40] , text:'Action Finder' ,properties:{scrolling:undefined,multiline:undefined}},"+ "panel1:Panel{bounds:[10,50,570,110] , text:'' ,properties:{borderStyle:'etched',su1PanelCoordinates:true},"+ "ActionSet:DropDownList{bounds:[10,20,220,40]},"+ "ActionName:DropDownList{bounds:[230,20,440,40]},"+ "useact1:Button{bounds:[450,20,550,40] , text:'Use Action' }},"+ "panel2:Panel{bounds:[10,120,570,220] , text:'' ,properties:{borderStyle:'etched',su1PanelCoordinates:true},"+ "ActionSet:DropDownList{bounds:[10,10,220,30]},"+ "ActionName:DropDownList{bounds:[240,10,440,30]},"+ "useact2:Button{bounds:[450,10,550,30] , text:'Use Action' },"+ "statictext1:StaticText{bounds:[10,40,210,57] , text:'Find actions starting with :-' ,properties:{scrolling:undefined,multiline:undefined}},"+ "prefix:EditText{bounds:[240,40,440,60] , text:'a' ,properties:{multiline:false,noecho:false,readonly:false}},"+ "findpre:Button{bounds:[450,40,550,60] , text:'Find' },"+ "statictext2:StaticText{bounds:[10,70,220,87] , text:'Find actions containing :-' ,properties:{scrolling:undefined,multiline:undefined}},"+ "containing:EditText{bounds:[240,70,440,90] , text:'' ,properties:{multiline:false,noecho:false,readonly:false}},"+ "findcon:Button{bounds:[450,70,550,90] , text:'Find' }},"+ "button4:Button{bounds:[10,230,570,260] , text:'Cancel' }}};" var win = new Window(dlg,'Action Finder'); win.center(); if(version.substr(0,version.indexOf('.'))>9){ win.panel0.title.graphics.font = ScriptUI.newFont("Arial","BOLDITALIC",26); g = win.graphics; var myBrush = g.newBrush(g.BrushType.SOLID_COLOR, [1.00, 1.00, 1.00, 1]); g.backgroundColor = myBrush; var myPen =g.newPen (g.PenType.SOLID_COLOR, [1.00, 0.00, 0.00, 1],lineWidth=1); } var actionSets = new Array(); actionSets = getActionSets(); for (var i=0,len=actionSets.length;i