pathToFlashHelpFiles = WScript.Arguments(0) '~ MsgBox(pathToFlashHelpFiles) ' This path should point to the flash help files; ' absolute or relative from Scite-Installation-Directory. ' It is better to use an absolute path, because the working ' directory will differ, if scite is open by file-context. ' create dictonary with help-file-name by command-word Dim d Set d = CreateObject("Scripting.Dictionary") ' start generated dictonary d.Add "a", "matrix2.html" d.Add "about", "00_intro3.html" d.Add "accept", "xmlui2.html" d.Add "accname", "text2.html" d.Add "actionscript", "symbolinstance3.html" d.Add "activate", "functions2.html" d.Add "activeeffect", "Flash2.html" d.Add "activetool", "tools2.html" d.Add "addcubiccurve", "path2.html" d.Add "addcurve", "path3.html" d.Add "adddata", "item2.html" d.Add "adddatatodocument", "document3.html" d.Add "adddatatoselection", "document4.html" d.Add "additem", "document5.html" d.Add "additemtodocument", "library2.html" d.Add "addmotionguide", "timeline2.html" d.Add "addnewitem", "library3.html" d.Add "addnewlayer", "timeline3.html" d.Add "addnewline", "document6.html" d.Add "addnewoval", "document7.html" d.Add "addnewpublishprofile", "document8.html" d.Add "addnewrectangle", "document9.html" d.Add "addnewscene", "document10.html" d.Add "addnewtext", "document11.html" d.Add "addpoint", "path4.html" d.Add "aliastext", "textattrs2.html" d.Add "align", "document12.html" d.Add "alignment", "textattrs3.html" d.Add "allowscreens", "document13.html" d.Add "allowsmoothing", "bitmapitem2.html" d.Add "altisdown", "tools3.html" d.Add "arrange", "document14.html" d.Add "autoexpand", "text3.html" d.Add "autokern", "textattrs4.html" d.Add "autolabel", "document15.html" d.Add "b", "matrix3.html" d.Add "backgroundcolor", "document16.html" d.Add "begindraw", "drawinglayer2.html" d.Add "beginedit", "shape2.html" d.Add "beginframe", "drawinglayer3.html" d.Add "bitmapinstance", "bitmapinstance2.html" d.Add "bitmapitem", "bitmapitem.html" d.Add "bitrate", "sounditem2.html" d.Add "bits", "sounditem3.html" d.Add "bold", "textattrs5.html" d.Add "border", "text4.html" d.Add "breakapart", "document17.html" d.Add "breakatcorners", "stroke2.html" d.Add "browseforfileurl", "Flash3.html" d.Add "buttontracking", "symbolinstance4.html" d.Add "c", "matrix4.html" d.Add "cancel", "xmlui3.html" d.Add "caneditsymbol", "document18.html" d.Add "canrevert", "document19.html" d.Add "cantestmovie", "document20.html" d.Add "cantestscene", "document21.html" d.Add "category", "parameter2.html" d.Add "characterposition", "textattrs6.html" d.Add "characters", "textrun2.html" d.Add "characterspacing", "textattrs7.html" d.Add "childscreens", "screen3.html" d.Add "clear", "path5.html" d.Add "clearframes", "timeline4.html" d.Add "clearkeyframes", "timeline5.html" d.Add "clipcopy", "document22.html" d.Add "clipcut", "document23.html" d.Add "clippaste", "document24.html" d.Add "close", "path6.html" d.Add "closeall", "Flash4.html" d.Add "closedocument", "Flash5.html" d.Add "color", "stroke3.html" d.Add "coloralphaamount", "symbolinstance5.html" d.Add "coloralphapercent", "symbolinstance6.html" d.Add "colorarray", "fill3.html" d.Add "colorblueamount", "symbolinstance7.html" d.Add "colorbluepercent", "symbolinstance8.html" d.Add "colorgreenamount", "symbolinstance9.html" d.Add "colorgreenpercent", "symbolinstance10.html" d.Add "colormode", "symbolinstance11.html" d.Add "colorredamount", "symbolinstance12.html" d.Add "colorredpercent", "symbolinstance13.html" d.Add "compiledclipinstance", "compiledclipinstance.html" d.Add "componentinstance", "componentinstance.html" d.Add "componentspanel", "Flash6.html" d.Add "compressiontype", "sounditem4.html" d.Add "concatmatrix", "math2.html" d.Add "configdirectory", "Flash7.html" d.Add "configuretool", "functions3.html" d.Add "configuri", "Flash8.html" d.Add "constrainpoint", "tools4.html" d.Add "contour", "contour.html" d.Add "contours", "shape3.html" d.Add "convertlinestofills", "document26.html" d.Add "convertstereotomono", "sounditem5.html" d.Add "converttoblankkeyframes", "timeline6.html" d.Add "converttocompiledclip", "symbolitem2.html" d.Add "converttokeyframes", "timeline7.html" d.Add "converttosymbol", "document27.html" d.Add "copyframes", "timeline8.html" d.Add "copyscreenfromfile", "screenoutline2.html" d.Add "createdocument", "Flash9.html" d.Add "createmotiontween", "timeline9.html" d.Add "createnewdoclist", "Flash10.html" d.Add "createnewdoclisttype", "Flash11.html" d.Add "createnewtemplatelist", "Flash12.html" d.Add "ctlisdown", "tools5.html" d.Add "cubiccurveto", "drawinglayer4.html" d.Add "currentframe", "timeline10.html" d.Add "currentlayer", "timeline11.html" d.Add "currentpublishprofile", "document28.html" d.Add "currentscreen", "screenoutline3.html" d.Add "currenttimeline", "document29.html" d.Add "curve", "stroke4.html" d.Add "curveto", "drawinglayer5.html" d.Add "cutframes", "timeline12.html" d.Add "d", "matrix5.html" d.Add "dash1", "stroke5.html" d.Add "dash2", "stroke6.html" d.Add "data", "dll5.html" d.Add "deactivate", "functions4.html" d.Add "deleteedge", "shape4.html" d.Add "deleteitem", "library4.html" d.Add "deletelayer", "timeline13.html" d.Add "deletepublishprofile", "document30.html" d.Add "deletescene", "document31.html" d.Add "deletescreen", "screenoutline4.html" d.Add "deleteselection", "document32.html" d.Add "density", "stroke7.html" d.Add "depth", "element2.html" d.Add "description", "text5.html" d.Add "distribute", "document34.html" d.Add "distributetolayers", "document35.html" d.Add "document", "document.html" d.Add "documenthasdata", "document36.html" d.Add "documents", "Flash13.html" d.Add "dotsize", "stroke8.html" d.Add "dotspace", "stroke9.html" d.Add "drawinglayer", "Flash14.html" d.Add "drawpath", "drawinglayer6.html" d.Add "duplicateitem", "library5.html" d.Add "duplicatepublishprofile", "document37.html" d.Add "duplicatescene", "document38.html" d.Add "duplicatescreen", "screenoutline5.html" d.Add "duplicateselection", "document39.html" d.Add "duration", "frame3.html" d.Add "edge", "edge.html" d.Add "edges", "shape5.html" d.Add "edititem", "library6.html" d.Add "editscene", "document40.html" d.Add "effect", "effect.html" d.Add "effectname", "effect2.html" d.Add "effects", "Flash15.html" d.Add "element", "element.html" d.Add "elements", "frame4.html" d.Add "elementtype", "element3.html" d.Add "embeddedcharacters", "text6.html" d.Add "embeddedvideoinstance", "embeddedvideoinstance.html" d.Add "embedranges", "text7.html" d.Add "enableimmediateupdates", "Flash16.html" d.Add "enablepicontrol", "toolobj2.html" d.Add "enddraw", "drawinglayer7.html" d.Add "endedit", "shape6.html" d.Add "endframe", "drawinglayer8.html" d.Add "entereditmode", "document41.html" d.Add "exiteditmode", "document42.html" d.Add "expandfolder", "timeline14.html" d.Add "exportpublishprofile", "document43.html" d.Add "exportswc", "symbolitem3.html" d.Add "exportswf", "symbolitem4.html" d.Add "face", "textattrs8.html" d.Add "fileexists", "Flash17.html" d.Add "fill", "fill.html" d.Add "fillcolor", "textattrs9.html" d.Add "finddocumentindex", "Flash18.html" d.Add "finditemindex", "library8.html" d.Add "findlayerindex", "timeline15.html" d.Add "firstframe", "symbolinstance15.html" d.Add "flash", "Flash.html" d.Add "folderitem", "folderitem.html" d.Add "fontitem", "fontitem.html" d.Add "forcesimple", "symbolinstance16.html" d.Add "frame", "frame.html" d.Add "framecount", "timeline16.html" d.Add "framerate", "document46.html" d.Add "frames", "layer4.html" d.Add "get", "xmlui4.html" d.Add "getaligntodocument", "document47.html" d.Add "getbits", "bitmapinstance3.html" d.Add "getcontrol", "edge2.html" d.Add "getcustomfill", "document48.html" d.Add "getcustomstroke", "document49.html" d.Add "getdata", "item3.html" d.Add "getdatafromdocument", "document50.html" d.Add "getdocumentdom", "Flash19.html" d.Add "getedge", "halfedge2.html" d.Add "getelementproperty", "document51.html" d.Add "getelementtextattr", "document52.html" d.Add "getframeproperty", "timeline17.html" d.Add "gethalfedge", "vertex2.html" d.Add "getitemproperty", "library9.html" d.Add "getitemtype", "library10.html" d.Add "getkeydown", "tools6.html" d.Add "getlayerproperty", "timeline18.html" d.Add "getnext", "halfedge3.html" d.Add "getoppositehalfedge", "halfedge4.html" d.Add "getpersistentdata", "element4.html" d.Add "getprev", "halfedge5.html" d.Add "getselectedframes", "timeline19.html" d.Add "getselecteditems", "library11.html" d.Add "getselectedlayers", "timeline20.html" d.Add "getselectedscreens", "screenoutline6.html" d.Add "getselectionrect", "document53.html" d.Add "gettextattr", "text8.html" d.Add "gettextstring", "text9.html" d.Add "gettimeline", "document55.html" d.Add "gettransformationpoint", "document56.html" d.Add "getvertex", "halfedge6.html" d.Add "group", "document57.html" d.Add "groupname", "effect3.html" d.Add "halfedge", "halfedge.html" d.Add "hasdata", "item4.html" d.Add "haspersistentdata", "element5.html" d.Add "hatchthickness", "stroke10.html" d.Add "height", "layer5.html" d.Add "hidden", "screen6.html" d.Add "hpixels", "bitmapinstance4.html" d.Add "id", "halfedge7.html" d.Add "importembeddedswf", "library12.html" d.Add "importpublishprofile", "document59.html" d.Add "importswf", "document60.html" d.Add "indent", "textattrs10.html" d.Add "insertblankkeyframe", "timeline21.html" d.Add "insertframes", "timeline22.html" d.Add "insertitem", "parameter3.html" d.Add "insertkeyframe", "timeline23.html" d.Add "insertnestedscreen", "screenoutline7.html" d.Add "insertscreen", "screenoutline8.html" d.Add "instance", "instance.html" d.Add "instancename", "screen7.html" d.Add "instancetype", "instance2.html" d.Add "integrating", "dll2.html" d.Add "interior", "contour3.html" d.Add "introduction", "00_intro.html" d.Add "invertmatrix", "math3.html" d.Add "isgroup", "shape7.html" d.Add "isline", "edge5.html" d.Add "italic", "textattrs11.html" d.Add "item", "item.html" d.Add "itemexists", "library13.html" d.Add "items", "library14.html" d.Add "itemtype", "item5.html" d.Add "jiggle", "stroke11.html" d.Add "jsbool", "dll9.html" d.Add "jsobject", "dll20.html" d.Add "jsval", "dll18.html" d.Add "keydown", "functions5.html" d.Add "keyup", "functions6.html" d.Add "labeltype", "frame5.html" d.Add "layer", "layer.html" d.Add "layercount", "timeline24.html" d.Add "layers", "timeline25.html" d.Add "layertype", "layer6.html" d.Add "left", "element7.html" d.Add "leftmargin", "textattrs12.html" d.Add "length", "text10.html" d.Add "library", "library.html" d.Add "libraryitem", "instance3.html" d.Add "linespacing", "textattrs13.html" d.Add "lineto", "drawinglayer9.html" d.Add "linetype", "text11.html" d.Add "linkageclassname", "item6.html" d.Add "linkageexportforas", "item7.html" d.Add "linkageexportforrs", "item8.html" d.Add "linkageexportinfirstframe", "item9.html" d.Add "linkageidentifier", "item10.html" d.Add "linkageimportforrs", "item11.html" d.Add "linkageurl", "item12.html" d.Add "linkedvideoinstance", "linkedvideoinstance.html" d.Add "listindex", "parameter4.html" d.Add "livepreview", "document62.html" d.Add "locked", "layer7.html" d.Add "long", "dll21.html" d.Add "loop", "symbolinstance17.html" d.Add "makeshape", "path7.html" d.Add "mapplayerurl", "Flash20.html" d.Add "match", "document63.html" d.Add "math", "math.html" d.Add "matrix", "matrix.html" d.Add "maxcharacters", "text12.html" d.Add "motiontweenorienttopath", "frame6.html" d.Add "motiontweenrotate", "frame7.html" d.Add "motiontweenrotatetimes", "frame8.html" d.Add "motiontweenscale", "frame9.html" d.Add "motiontweensnap", "frame10.html" d.Add "motiontweensync", "frame11.html" d.Add "mouseclick", "document64.html" d.Add "mousedblclk", "document65.html" d.Add "mousedoubleclick", "functions7.html" d.Add "mousedown", "functions8.html" d.Add "mouseisdown", "tools7.html" d.Add "mousemove", "functions9.html" d.Add "mouseup", "functions10.html" d.Add "movescreen", "screenoutline9.html" d.Add "moveselectedbezierpointsby", "document66.html" d.Add "moveselectionby", "document67.html" d.Add "moveto", "drawinglayer10.html" d.Add "movetofolder", "library15.html" d.Add "mrurecentfilelist", "Flash22.html" d.Add "mrurecentfilelisttype", "Flash23.html" d.Add "name", "timeline26.html" d.Add "newcontour", "path8.html" d.Add "newfolder", "library16.html" d.Add "newpath", "drawinglayer11.html" d.Add "nextscreen", "screen9.html" d.Add "notifysettingschanged", "functions11.html" d.Add "npts", "path9.html" d.Add "objects", "bitmapinstance.html" d.Add "opendocument", "Flash24.html" d.Add "openproject", "Flash25.html" d.Add "openscript", "Flash26.html" d.Add "optimizecurves", "document69.html" d.Add "orientation", "text13.html" d.Add "outline", "layer9.html" d.Add "outputpanel", "outputpanel.html" d.Add "overview", "00_intro2.html" d.Add "parameter", "parameter.html" d.Add "parameters", "screen10.html" d.Add "parentlayer", "layer10.html" d.Add "parentscreen", "screen11.html" d.Add "pasteframes", "timeline27.html" d.Add "path", "path.html" d.Add "pattern", "stroke13.html" d.Add "pendownloc", "tools8.html" d.Add "penloc", "tools9.html" d.Add "pointdistance", "math4.html" d.Add "posarray", "fill5.html" d.Add "position", "toolobj3.html" d.Add "prevscreen", "screen12.html" d.Add "publish", "document71.html" d.Add "publishprofiles", "document72.html" d.Add "quality", "sounditem6.html" d.Add "quit", "Flash28.html" d.Add "reloadeffects", "Flash29.html" d.Add "reloadtools", "Flash30.html" d.Add "removedata", "item14.html" d.Add "removedatafromdocument", "document73.html" d.Add "removedatafromselection", "document74.html" d.Add "removeframes", "timeline28.html" d.Add "removeitem", "parameter6.html" d.Add "removepersistentdata", "element11.html" d.Add "renameitem", "library17.html" d.Add "renamepublishprofile", "document75.html" d.Add "renamescene", "document76.html" d.Add "renamescreen", "screenoutline10.html" d.Add "renderashtml", "text14.html" d.Add "reorderlayer", "timeline29.html" d.Add "reorderscene", "document77.html" d.Add "resettransformation", "document78.html" d.Add "reverseframes", "timeline30.html" d.Add "revert", "document79.html" d.Add "revertdocument", "Flash31.html" d.Add "rightmargin", "textattrs14.html" d.Add "rootscreen", "screenoutline11.html" d.Add "rotate", "stroke14.html" d.Add "rotateselection", "document80.html" d.Add "rotation", "textattrs15.html" d.Add "runscript", "Flash32.html" d.Add "sample", "dll4.html" d.Add "samplerate", "sounditem7.html" d.Add "save", "outputpanel3.html" d.Add "saveall", "Flash33.html" d.Add "saveandcompact", "document82.html" d.Add "savedocument", "Flash34.html" d.Add "savedocumentas", "Flash35.html" d.Add "scaleselection", "document83.html" d.Add "screen", "screen.html" d.Add "screenoutline", "screenoutline.html" d.Add "screens", "screenoutline12.html" d.Add "scrollable", "text15.html" d.Add "selectable", "text16.html" d.Add "selectall", "library18.html" d.Add "selectallframes", "timeline31.html" d.Add "selection", "document86.html" d.Add "selectionend", "text17.html" d.Add "selectionstart", "text18.html" d.Add "selectitem", "library19.html" d.Add "selectnone", "library20.html" d.Add "set", "xmlui5.html" d.Add "setactivewindow", "Flash36.html" d.Add "setaligntodocument", "document88.html" d.Add "setbits", "bitmapinstance5.html" d.Add "setcolor", "drawinglayer12.html" d.Add "setcontrol", "edge6.html" d.Add "setcurrentscreen", "screenoutline13.html" d.Add "setcursor", "tools10.html" d.Add "setcustomfill", "document89.html" d.Add "setcustomstroke", "document90.html" d.Add "setelementproperty", "document91.html" d.Add "setelementtextattr", "document92.html" d.Add "setfillcolor", "document93.html" d.Add "setframeproperty", "timeline32.html" d.Add "seticon", "toolobj4.html" d.Add "setinstancealpha", "document94.html" d.Add "setinstancebrightness", "document95.html" d.Add "setinstancetint", "document96.html" d.Add "setitemproperty", "library21.html" d.Add "setlayerproperty", "timeline33.html" d.Add "setlocation", "vertex3.html" d.Add "setmenustring", "toolobj5.html" d.Add "setoptionsfile", "toolobj6.html" d.Add "setpersistentdata", "element12.html" d.Add "setpi", "toolobj7.html" d.Add "setscreenproperty", "screenoutline14.html" d.Add "setselectedframes", "timeline34.html" d.Add "setselectedlayers", "timeline35.html" d.Add "setselectedscreens", "screenoutline15.html" d.Add "setselectionbounds", "document97.html" d.Add "setselectionrect", "document98.html" d.Add "setstroke", "document99.html" d.Add "setstrokecolor", "document100.html" d.Add "setstrokesize", "document101.html" d.Add "setstrokestyle", "document102.html" d.Add "settextattr", "text19.html" d.Add "settextrectangle", "document103.html" d.Add "settextselection", "document104.html" d.Add "settextstring", "text20.html" d.Add "settoolname", "toolobj8.html" d.Add "settooltip", "toolobj9.html" d.Add "settransformationpoint", "document106.html" d.Add "shape", "shape.html" d.Add "shapetweenblend", "frame13.html" d.Add "shiftisdown", "tools11.html" d.Add "shortcut", "text21.html" d.Add "showlayermasking", "timeline36.html" d.Add "showpicontrol", "toolobj10.html" d.Add "showtransformhandles", "toolobj11.html" d.Add "silent", "text22.html" d.Add "size", "textattrs16.html" d.Add "skewselection", "document108.html" d.Add "smoothselection", "document109.html" d.Add "snappoint", "tools12.html" d.Add "soundeffect", "frame14.html" d.Add "sounditem", "sounditem.html" d.Add "soundlibraryitem", "frame15.html" d.Add "soundloop", "frame16.html" d.Add "soundloopmode", "frame17.html" d.Add "soundname", "frame18.html" d.Add "soundsync", "frame19.html" d.Add "sourceautoupdate", "symbolitem5.html" d.Add "sourcefile", "effect4.html" d.Add "sourcefilepath", "symbolitem6.html" d.Add "sourcelibraryname", "symbolitem7.html" d.Add "space", "stroke15.html" d.Add "specifying", "00_intro5.html" d.Add "splitedge", "edge7.html" d.Add "startframe", "frame20.html" d.Add "straightenselection", "document111.html" d.Add "stroke", "stroke.html" d.Add "style", "stroke16.html" d.Add "summary", "00_intro6.html" d.Add "swapelement", "document112.html" d.Add "symbolinstance", "symbolinstance.html" d.Add "symbolitem", "symbolitem.html" d.Add "symboltype", "symbolitem8.html" d.Add "tabindex", "text23.html" d.Add "target", "textattrs17.html" d.Add "testmovie", "document113.html" d.Add "testscene", "document114.html" d.Add "text", "text.html" d.Add "textattrs", "textrun3.html" d.Add "textrun", "textrun.html" d.Add "textruns", "text24.html" d.Add "texttype", "text25.html" d.Add "the", "dll6.html" d.Add "thickness", "stroke17.html" d.Add "timeline", "timeline.html" d.Add "timelines", "document115.html" d.Add "toolobj", "toolobj.html" d.Add "toolobjs", "tools13.html" d.Add "tools", "tools.html" d.Add "top", "functions.html" d.Add "trace", "outputpanel4.html" d.Add "tracebitmap", "document116.html" d.Add "transformselection", "document117.html" d.Add "tweeneasing", "frame21.html" d.Add "tweentype", "frame22.html" d.Add "tx", "matrix6.html" d.Add "ty", "matrix7.html" d.Add "ungroup", "document118.html" d.Add "unlockallelements", "document119.html" d.Add "unsigned", "dll8.html" d.Add "updateitem", "library22.html" d.Add "url", "textattrs18.html" d.Add "usedevicefonts", "text26.html" d.Add "useimportedjpegquality", "bitmapitem5.html" d.Add "useimportedmp3quality", "sounditem8.html" d.Add "usexmltoui", "effect6.html" d.Add "value", "parameter7.html" d.Add "valuetype", "parameter8.html" d.Add "variablename", "text27.html" d.Add "variation", "stroke18.html" d.Add "verbose", "parameter9.html" d.Add "version", "Flash39.html" d.Add "vertex", "vertex.html" d.Add "vertices", "shape8.html" d.Add "videoitem", "videoitem.html" d.Add "viewmatrix", "document120.html" d.Add "visible", "layer11.html" d.Add "vpixels", "bitmapinstance6.html" d.Add "waveheight", "stroke19.html" d.Add "wavelength", "stroke20.html" d.Add "width", "element14.html" d.Add "x", "vertex4.html" d.Add "xmlpanel", "document122.html" d.Add "xmlui", "xmlui.html" d.Add "y", "vertex5.html" ' end generated dictonary ' create windows scripting host shell Dim WshShell Set WshShell = WScript.CreateObject("WScript.Shell") ' create path to help-index (mx-only) '~ helpIndexFile = """"& pathToFlashHelpFiles &"\ContextHelp.htm" &"""" '~ helpIndexFile = "C:\Programme\Macromedia\Flash MX\Help\Flash\ContextHelp.htm" ' if arguments passed If WScript.Arguments.Count >= 2 Then ' get first argument searchWord = WScript.Arguments(1) ' lowercase searchWord searchWord = LCase(searchWord) ' if searchWord exists in dictionary If d.Exists(searchWord) Then ' get corrosponding helpfile helpFile = d.Item(searchWord) ' open helpfile with default application '~ WshShell.Run(""""& pathToFlashHelpFiles &"\html\"& helpFile &"""") ' mx WshShell.Run(""""& pathToFlashHelpFiles &"\JavaScriptDictionary\"& helpFile &"""") ' mx04 Else ' open help-index-page '~ WshShell.Run(helpIndexFile) ' (mx-only) End If Else ' open help-index-page '~ WshShell.Run(helpIndexFile) ' (mx-only) End If