![]() In the properties of a shortcut the workingĭirectory can be specified in the edit field named "Start in".ģ) sFileType - contains the file type specification like "*.txt" or The working directory is by default the directory active on start This parameter is ignored for all other file list types. String is empty and a search in a directory is set by first parameter. The current working directory ".\" is used by the function if this ![]() The other three function parameters are evaluated only if 0 is usedįor the first function parameter and should be omitted on using 1-4.Ģ) sDirectory - is the initial directory for the search. Value 0 is used by default if this parameter is not specifiedĪt all, or is not of type number, or contains a wrong number. get list of solution files (only supported by UEStudio). get list of files in a specified directory.Ĥ. The function expects 1 number, 2 strings and 1 boolean as input parameters:ġ) nFileList - is the number which specifies the kind of file listĠ. To value true to get ANSI encoded file names. For former versions don't use this function on file namesĬontaining a character not included in system code page for non-Unicode awareĪpplications and set value of variable bNoUnicode in the function below Unicode file names are supported by UltraEdit for Windows >= v24.00 and The function requires UltraEdit for Windows >= v13.10 or UEStudio >= v6.30. Of the file on success finding at least one file matching the criteria. The new file with the file list is the active file and the caret is at top ![]() With at least one file name, otherwise false is returned by the function. The return value of the function is true if a file list could be created It uses the commandįind in Files with advanced option Results to edit window for The function GetListOfFiles creates in an edit window a list of filesĪccording to the arguments passed to the function. UE v27.00.0.22 has only XMLConvertToCRLF in Command list while v27.00.0.24 has additionally also XMLCompressDocument and XMLFormatDocument in the list.Ĭonclusion: It looks like there is the plan to make the commands Compress XML and Reformat XML available also as macro commands XMLCompressDocument and XMLFormatDocument, but the implementation is not finished yet and UltraEdit users have to add macro command XMLConvertToCRLF to a macro to get the behavior of command Reformat XML during macro execution.Ĭode: Select all // = GetListOfFiles = ![]() XMLConvertToCRLF is also recorded with UltraEdit for Windows v27.00.0.22 (first public released v27.00 replaced two days later already by build 24). The execution of command XML convert to CR/LFs in UltraEdit v26.20.0.68 and former versions during recording of a macro results in having macro command XMLConvertToCRLF in recorded macro. I found out further that an execution of command Reformat XML during macro recording does result in neither XMLConvertToCRLF nor XMLFormatDocument being in the recorded macro using UltraEdit for Windows v27.00.0.24 (second public released v27.00) to v27.10.0.108 (currently latest version). The existing documented and working command XMLConvertToCRLF is the same as Reformat XML in submenu XML of contemporary menu Coding respectively traditional menu Format. I think, there is the plan to support these two commands in a future version, but they are not (yet) supported by UltraEdit for Windows v27.10.0.108. The two undocumented commands are not (yet) supported by UltraEdit macro editor/creator/recorder. The Edit/Create Macro dialog window contains at bottom of Command list the two undocumented commands XMLCompressDocument and XMLFormatDocument in addition to documented command XMLConvertToCRLF.
0 Comments
Leave a Reply. |