Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pncdaspropagandas

Pages: 1 2 3 [4]
76
Support and Feedback / Selecting files
« on: February 02, 2017, 16:37:10 »
When I go to a folder with 3 or more files and do the following:

- Press END
- Hold SHIFT
- Press UP

MC selects all files except the last one.

My desired behavior would be selecting the 2 last files.

Is this a bug or a desired behavior?

Thanks

77
Script / Re: Select Same Name (Selected Files)
« on: February 02, 2017, 12:51:53 »
Hmm ok

I did this script because when I select multiple files and run Edit > Select Same Name, I get only the focused file to select files with the same name. So I did this script that applies the internal function in a loop to all selected files.

In the image bellow, I selected both txt files and ran Select Same Name. The result is only 3 files selected intead of 4.

78
Script / Select Same Name (Selected Files)
« on: February 02, 2017, 10:44:54 »
I wrote a Multi Script to extend the Select Same Name to All Selected Files:

@var $selected_files[] = GetSourceSelectedPaths();
@var $same_name_files[];
@var $same_name_files_iteration[];

@var $n;
@var $i;
@var $aux;

for ($n = 0; $n < arrayCount($selected_files); $n++)
{
    MC.Explorer.SetItemFocus ITEM={PathGetNamePart($selected_files[$n])}
    MC.RunCmd ID="ExplorerPanel.40308"
   
    // SetItemFocus causes the selected files in panel to be unselected
    // only the focused file gets selected
    // so we have to add it to a array and re-select them at the end
    $same_name_files_iteration = GetSourceSelectedFileNames();
    for ($i = 0; $i < arrayCount($same_name_files_iteration); $i++)
    {
        $aux = $same_name_files_iteration[$i];
        arrayAdd($same_name_files, $aux);
    }
}

SetSourceSelected($same_name_files, 0);

79
User Contributed Content / Notepad++ MCS Language Support
« on: January 29, 2017, 03:59:48 »
Hi,

I compiled the reserved words, function names etc and created a file to import to Notepad++ and have colored text to help coding.

I want to say thanks to Mathias for the lovely file manager.

Save the following code to a xml file and import in Notepad++

<NotepadPlus>
    <UserLang name="MultiCommander" ext="mcs" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="yes" Keywords8="yes" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">00# 00// 01 02 03 04</Keywords>
            <Keywords name="Numbers, prefix1"></Keywords>
            <Keywords name="Numbers, prefix2"></Keywords>
            <Keywords name="Numbers, extras1"></Keywords>
            <Keywords name="Numbers, extras2"></Keywords>
            <Keywords name="Numbers, suffix1"></Keywords>
            <Keywords name="Numbers, suffix2"></Keywords>
            <Keywords name="Numbers, range"></Keywords>
            <Keywords name="Operators1">^ + - * / = == ! != &lt; &gt; ( ) { } ; </Keywords>
            <Keywords name="Operators2"></Keywords>
            <Keywords name="Folders in code1, open">(</Keywords>
            <Keywords name="Folders in code1, middle"></Keywords>
            <Keywords name="Folders in code1, close">)</Keywords>
            <Keywords name="Folders in code2, open">{</Keywords>
            <Keywords name="Folders in code2, middle"></Keywords>
            <Keywords name="Folders in code2, close">}</Keywords>
            <Keywords name="Folders in comment, open"></Keywords>
            <Keywords name="Folders in comment, middle"></Keywords>
            <Keywords name="Folders in comment, close"></Keywords>
            <Keywords name="Keywords1">array initialization&#x000D;&#x000A;arrayCount&#x000D;&#x000A;arrayAdd&#x000D;&#x000A;arrayRemove&#x000D;&#x000A;arrayFind&#x000D;&#x000A;arrayIFind&#x000D;&#x000A;ArraySort&#x000D;&#x000A;StrLines2Array&#x000D;&#x000A;StrLinesArray2String&#x000D;&#x000A;StrTokenize2Array&#x000D;&#x000A;StrLen&#x000D;&#x000A;StrSub&#x000D;&#x000A;StrFind&#x000D;&#x000A;StrRFind&#x000D;&#x000A;StrReplace&#x000D;&#x000A;StrToUpper&#x000D;&#x000A;StrToLower&#x000D;&#x000A;StrTrim&#x000D;&#x000A;StrTrimLeft&#x000D;&#x000A;StrTrimRight&#x000D;&#x000A;StrSplit&#x000D;&#x000A;StrCompareNoCase&#x000D;&#x000A;operator ==&#x000D;&#x000A;StrIsEqual&#x000D;&#x000A;StrIsEqualNoCase&#x000D;&#x000A;StrIsWildMatch&#x000D;&#x000A;StrIsWildMatchNoCase&#x000D;&#x000A;StrIsRegExpMatch&#x000D;&#x000A;StrIsRegExpMatchNoCase&#x000D;&#x000A;StrRegExpFind&#x000D;&#x000A;RowListLoad&#x000D;&#x000A;RowListClose&#x000D;&#x000A;RowListCount&#x000D;&#x000A;RowListColumnCount&#x000D;&#x000A;RowListArray&#x000D;&#x000A;RowListItem&#x000D;&#x000A;ReplaceTagsInString&#x000D;&#x000A;GetTime&#x000D;&#x000A;FormatDate&#x000D;&#x000A;FormatTime&#x000D;&#x000A;TimeLocal2UTC&#x000D;&#x000A;TimeUTC2Local&#x000D;&#x000A;ParseDateTime&#x000D;&#x000A;GetFileTime&#x000D;&#x000A;SetFileTime&#x000D;&#x000A;IsFolder&#x000D;&#x000A;FileExists&#x000D;&#x000A;GetFileSize&#x000D;&#x000A;GetFileProp&#x000D;&#x000A;FindFirstFile&#x000D;&#x000A;FindFiles&#x000D;&#x000A;GetFileAttributes&#x000D;&#x000A;AddFileAttributes&#x000D;&#x000A;RemoveFileAttributes&#x000D;&#x000A;SetFileAttributes&#x000D;&#x000A;HasFileAttributes&#x000D;&#x000A;CopyFile&#x000D;&#x000A;MoveFile&#x000D;&#x000A;RenameFile&#x000D;&#x000A;UnpackFile&#x000D;&#x000A;PackFile&#x000D;&#x000A;DeleteFile&#x000D;&#x000A;DeleteFiles&#x000D;&#x000A;MakeDir&#x000D;&#x000A;FilterCreate&#x000D;&#x000A;FilterAddRule&#x000D;&#x000A;FilterLoad&#x000D;&#x000A;FilterLoadById&#x000D;&#x000A;FilterSave&#x000D;&#x000A;FilterIsMatch&#x000D;&#x000A;PathGetPathPart&#x000D;&#x000A;PathGetNamePart&#x000D;&#x000A;PathGetFileExtPart&#x000D;&#x000A;PathGetParts&#x000D;&#x000A;PathMakeRelativeMC&#x000D;&#x000A;PathMakeAbsoluteMC&#x000D;&#x000A;PathTranslatePath&#x000D;&#x000A;NetWGet&#x000D;&#x000A;RegKeyExists&#x000D;&#x000A;RegKeyAdd&#x000D;&#x000A;RegKeyDel&#x000D;&#x000A;RegKeyFind&#x000D;&#x000A;RegKeyFindRegExp&#x000D;&#x000A;RegValueExists&#x000D;&#x000A;RegValueAdd&#x000D;&#x000A;RegValueDel&#x000D;&#x000A;RegValueFind&#x000D;&#x000A;RegValueFindRegExp&#x000D;&#x000A;RegValueGetSZ&#x000D;&#x000A;RegValueGetDWORD&#x000D;&#x000A;GetSelectedFileNames&#x000D;&#x000A;GetSelectedPaths&#x000D;&#x000A;GetSourceSelectedFileNames&#x000D;&#x000A;GetTargetSelectedFileNames&#x000D;&#x000A;GetSourceSelectedPaths&#x000D;&#x000A;GetTargetSelectedPaths&#x000D;&#x000A;GetSourcePath&#x000D;&#x000A;GetTargetPath&#x000D;&#x000A;GetSourceFocusPath&#x000D;&#x000A;GetTargetFocusPath&#x000D;&#x000A;GetSourceFocusName&#x000D;&#x000A;GetTargetFocusName&#x000D;&#x000A;GetSourceItems&#x000D;&#x000A;GetTargetItems&#x000D;&#x000A;SetSourceSelected&#x000D;&#x000A;SetTargetSelected&#x000D;&#x000A;Sleep&#x000D;&#x000A;Log&#x000D;&#x000A;LogDump&#x000D;&#x000A;LogDumpArray&#x000D;&#x000A;LogAppInfo&#x000D;&#x000A;MessageBox&#x000D;&#x000A;AskText&#x000D;&#x000A;AskOption&#x000D;&#x000A;SaveArray&#x000D;&#x000A;LoadArray&#x000D;&#x000A;SaveStringToFile&#x000D;&#x000A;LoadStringFromFile&#x000D;&#x000A;GetClipboardText&#x000D;&#x000A;SetClipboardText&#x000D;&#x000A;GetTagValue&#x000D;&#x000A;TranslateEnvString&#x000D;&#x000A;FTPConnect&#x000D;&#x000A;FTPChdir&#x000D;&#x000A;FTPMkdir&#x000D;&#x000A;FTPRmdir&#x000D;&#x000A;FTPRemove&#x000D;&#x000A;FTPRename&#x000D;&#x000A;FTPList&#x000D;&#x000A;FTPListCount&#x000D;&#x000A;FTPListGet&#x000D;&#x000A;FTPExists&#x000D;&#x000A;FTPPutFile&#x000D;&#x000A;FTPGetFile&#x000D;&#x000A;FTPCommandRaw&#x000D;&#x000A;FTPQuit&#x000D;&#x000A;ChkSum_Calculate</Keywords>
            <Keywords name="Keywords2">@var&#x000D;&#x000A;new</Keywords>
            <Keywords name="Keywords3">import&#x000D;&#x000A;if&#x000D;&#x000A;else&#x000D;&#x000A;for&#x000D;&#x000A;while&#x000D;&#x000A;break&#x000D;&#x000A;continue&#x000D;&#x000A;return&#x000D;&#x000A;function&#x000D;&#x000A;class</Keywords>
            <Keywords name="Keywords4">${date:&#x000D;&#x000A;${time:&#x000D;&#x000A;${param:&#x000D;&#x000A;${focusfilepath}&#x000D;&#x000A;${targetpath}&#x000D;&#x000A;${sourcepath}&#x000D;&#x000A;${targetdevice}&#x000D;&#x000A;${sourcedevice}&#x000D;&#x000A;${sourcefocuspath}&#x000D;&#x000A;${targetfocuspath}&#x000D;&#x000A;${sourcefocusname}&#x000D;&#x000A;${targetfocusname}&#x000D;&#x000A;${leftpath}&#x000D;&#x000A;${leftfocuspath}&#x000D;&#x000A;${leftfocusname}&#x000D;&#x000A;${rightpath}&#x000D;&#x000A;${rightfocuspath}&#x000D;&#x000A;${rightfocusname}&#x000D;&#x000A;${mcinstallpath}&#x000D;&#x000A;${mcappdatapath}&#x000D;&#x000A;${mclogpath}&#x000D;&#x000A;${mcconfigpath}&#x000D;&#x000A;${mcuserappdata}</Keywords>
            <Keywords name="Keywords5">Sleep&#x000D;&#x000A;Log&#x000D;&#x000A;LogDump&#x000D;&#x000A;LogDumpArray&#x000D;&#x000A;LogAppInfo&#x000D;&#x000A;MessageBox&#x000D;&#x000A;AskText&#x000D;&#x000A;AskOption&#x000D;&#x000A;SaveArray&#x000D;&#x000A;LoadArray&#x000D;&#x000A;SaveStringToFile&#x000D;&#x000A;LoadStringFromFile&#x000D;&#x000A;GetClipboardText&#x000D;&#x000A;SetClipboardText&#x000D;&#x000A;GetTagValue&#x000D;&#x000A;TranslateEnvString&#x000D;&#x000A;MC.Run&#x000D;&#x000A;MC.RunUserCmd&#x000D;&#x000A;MC.RunCmd&#x000D;&#x000A;MC.CmdLineSet&#x000D;&#x000A;MC.CmdLineRun&#x000D;&#x000A;MC.View&#x000D;&#x000A;MC.Edit&#x000D;&#x000A;MC.SetActivePanel&#x000D;&#x000A;MC.SetActiveTab&#x000D;&#x000A;MC.CloseAllTabs&#x000D;&#x000A;MC.SaveTabs&#x000D;&#x000A;MC.LoadTabs&#x000D;&#x000A;MC.ChangeTabSession&#x000D;&#x000A;MC.XChangeSettings&#x000D;&#x000A;MC.BindKey&#x000D;&#x000A;MC.UnBindKey&#x000D;&#x000A;MC.ShowFavWindow&#x000D;&#x000A;MC.ShowFavPopup&#x000D;&#x000A;MC.ShellPaste&#x000D;&#x000A;MC.LoadButtonPanelLayout&#x000D;&#x000A;MC.Filesystem.Rename&#x000D;&#x000A;MC.Filesystem.Delete&#x000D;&#x000A;MC.Filesystem.Makedir&#x000D;&#x000A;MC.Filesystem.PackFiles&#x000D;&#x000A;MC.Filesystem.Unpack&#x000D;&#x000A;MC.Explorer.NewBrowser&#x000D;&#x000A;MC.Explorer.CloseAll&#x000D;&#x000A;MC.Explorer.Goto&#x000D;&#x000A;MC.Explorer.Select&#x000D;&#x000A;MC.Explorer.Deselect&#x000D;&#x000A;MC.Explorer.Refresh&#x000D;&#x000A;MC.Explorer.RefreshTree&#x000D;&#x000A;MC.Explorer.Copy&#x000D;&#x000A;MC.Explorer.Delete&#x000D;&#x000A;MC.Explorer.Move&#x000D;&#x000A;MC.Explorer.Makedir&#x000D;&#x000A;MC.Explorer.SetViewFilter&#x000D;&#x000A;MC.Explorer.GetViewFilter&#x000D;&#x000A;MC.Explorer.SetColumns&#x000D;&#x000A;MC.Explorer.SetViewMode&#x000D;&#x000A;MC.Explorer.SetTabProp&#x000D;&#x000A;MC.Explorer.Sort&#x000D;&#x000A;MC.Explorer.SizeFolder&#x000D;&#x000A;MC.Explorer.SetItemFocus&#x000D;&#x000A;MC.Explorer.SetColoringRules&#x000D;&#x000A;MC.Explorer.RefreshColoringRules&#x000D;&#x000A;MC.Explorer.ChangeSetting&#x000D;&#x000A;MC.Explorer.Selection.Select&#x000D;&#x000A;MC.Explorer.Selection.Unselect&#x000D;&#x000A;MC.Explorer.Selection.SelectAll&#x000D;&#x000A;MC.Explorer.Selection.UnselectAll&#x000D;&#x000A;MC.Explorer.Selection.InvertSelection&#x000D;&#x000A;MC.Explorer.Selection.SelectByColor&#x000D;&#x000A;MC.Explorer.Selection.UnselectByColor&#x000D;&#x000A;MC.Explorer.Selection.SaveSelectionToMemory&#x000D;&#x000A;MC.Explorer.Selection.LoadSelectionFromMemory&#x000D;&#x000A;MC.Explorer.Selection.SaveSelectionToFile&#x000D;&#x000A;MC.Explorer.Selection.LoadSelectionFromFile&#x000D;&#x000A;MC.Explorer.Selection.LoadSelectionFromClipboard&#x000D;&#x000A;MC.Explorer.Selection.CompareFoldersForDuplicates&#x000D;&#x000A;MC.Explorer.Selection.CompareFoldersForSelected&#x000D;&#x000A;MC.Explorer.Selection.CompareFoldersForMissingAndNewer&#x000D;&#x000A;MC.Explorer.Selection.CompareFoldersForMissing&#x000D;&#x000A;MC.Explorer.Selection.CompareFoldersForNewest&#x000D;&#x000A;MC.FileSearch.Search&#x000D;&#x000A;MC.Special.SelectOldestByName&#x000D;&#x000A;MC.Utils.CreateLink&#x000D;&#x000A;MC.Utils.SortLines&#x000D;&#x000A;MC.Utils.FindAndReplace&#x000D;&#x000A;MC.CheckSum.Verify&#x000D;&#x000A;MC.CheckSum.Create&#x000D;&#x000A;MC.DataViewer.View&#x000D;&#x000A;MC.PictureTools.Convert&#x000D;&#x000A;MC.PictureTools.Resize</Keywords>
            <Keywords name="Keywords6">ADD&#x000D;&#x000A;ADMIN&#x000D;&#x000A;ALL&#x000D;&#x000A;ALLSELECTED&#x000D;&#x000A;ARG&#x000D;&#x000A;ASADMIN&#x000D;&#x000A;ASCII&#x000D;&#x000A;ASKNAME&#x000D;&#x000A;ASYNC&#x000D;&#x000A;ATTRIBUTE&#x000D;&#x000A;AUTO&#x000D;&#x000A;AUTORELOAD&#x000D;&#x000A;AUTOSTART&#x000D;&#x000A;BGCOLOR&#x000D;&#x000A;BINARY&#x000D;&#x000A;CHECKSUM&#x000D;&#x000A;CMD&#x000D;&#x000A;COL&#x000D;&#x000A;COLNAME&#x000D;&#x000A;COLOR&#x000D;&#x000A;CONTENT&#x000D;&#x000A;CURRENT&#x000D;&#x000A;DATEFORMAT&#x000D;&#x000A;DELETE&#x000D;&#x000A;DONOTASK&#x000D;&#x000A;EDITAS&#x000D;&#x000A;ENCODING&#x000D;&#x000A;ENDATWHITESPACE&#x000D;&#x000A;ENDCHAR&#x000D;&#x000A;EXCLUDE&#x000D;&#x000A;FILE&#x000D;&#x000A;FILENAME&#x000D;&#x000A;FILES&#x000D;&#x000A;FILTER&#x000D;&#x000A;FILTERID&#x000D;&#x000A;FIND&#x000D;&#x000A;FLAT&#x000D;&#x000A;FOCUS&#x000D;&#x000A;FOLDERNAME&#x000D;&#x000A;FOLDERS&#x000D;&#x000A;FONT&#x000D;&#x000A;FONTSIZE&#x000D;&#x000A;FORCEREBUILD&#x000D;&#x000A;FORCEUPDATE&#x000D;&#x000A;FORCEUTF8&#x000D;&#x000A;FORMAT&#x000D;&#x000A;FORMAT_1&#x000D;&#x000A;GOTO&#x000D;&#x000A;HEIGHT&#x000D;&#x000A;HEX&#x000D;&#x000A;HIDE&#x000D;&#x000A;HIGHLIGHT&#x000D;&#x000A;ID&#x000D;&#x000A;IGNORECASE&#x000D;&#x000A;ITEM&#x000D;&#x000A;ITEMSEP&#x000D;&#x000A;JPGQUALITY&#x000D;&#x000A;KEEPBACKUP&#x000D;&#x000A;KEEPBOTTOM&#x000D;&#x000A;KEEPLOCKED&#x000D;&#x000A;KEEPTOP&#x000D;&#x000A;KEY&#x000D;&#x000A;LANGUAGEORDER&#x000D;&#x000A;LEFT&#x000D;&#x000A;LEFTONLY&#x000D;&#x000A;LINEOFFSET&#x000D;&#x000A;LNKSRC&#x000D;&#x000A;LNKTRG&#x000D;&#x000A;LNKTYPE&#x000D;&#x000A;METHOD&#x000D;&#x000A;MODE&#x000D;&#x000A;NATRUALNUMORDER&#x000D;&#x000A;NEWNAME&#x000D;&#x000A;NEWQUEUE&#x000D;&#x000A;NODIALOG&#x000D;&#x000A;NOTTHERE&#x000D;&#x000A;ONLYFILES&#x000D;&#x000A;ONLYFOCUS&#x000D;&#x000A;ONLYFOLDERS&#x000D;&#x000A;ORDER&#x000D;&#x000A;OVERWRITE&#x000D;&#x000A;PANEL&#x000D;&#x000A;PASSWORD&#x000D;&#x000A;PATH&#x000D;&#x000A;POS&#x000D;&#x000A;REDRAWUI&#x000D;&#x000A;REPLACE&#x000D;&#x000A;REPLACEALL&#x000D;&#x000A;REPLACEWITH&#x000D;&#x000A;RESET&#x000D;&#x000A;REVERSE&#x000D;&#x000A;RIGHT&#x000D;&#x000A;RIGHTONLY&#x000D;&#x000A;RULE&#x000D;&#x000A;SAVEAS&#x000D;&#x000A;SEARCHFOR&#x000D;&#x000A;SEARCHFOR_REGEXP&#x000D;&#x000A;SEARCHIN&#x000D;&#x000A;SECTION&#x000D;&#x000A;SELECTED&#x000D;&#x000A;SEPARATE&#x000D;&#x000A;SETFOCUS&#x000D;&#x000A;SHELL&#x000D;&#x000A;SHOWPATH&#x000D;&#x000A;SIDE&#x000D;&#x000A;SILENT&#x000D;&#x000A;SIZE&#x000D;&#x000A;SKIPLEADINGSPACE&#x000D;&#x000A;SORTAS&#x000D;&#x000A;SORTBY&#x000D;&#x000A;SOURCE&#x000D;&#x000A;STARTIN&#x000D;&#x000A;SUBLEVELS&#x000D;&#x000A;SUBSTRLEN&#x000D;&#x000A;TAB&#x000D;&#x000A;TABCOLORS&#x000D;&#x000A;TABLOCK&#x000D;&#x000A;TABLOCKALLOWSUBCHANGE&#x000D;&#x000A;TABNAME&#x000D;&#x000A;TARGET&#x000D;&#x000A;TEXT&#x000D;&#x000A;TIME&#x000D;&#x000A;TIMEFROM&#x000D;&#x000A;TIMETO&#x000D;&#x000A;TOGGLE&#x000D;&#x000A;UNICODE&#x000D;&#x000A;UPDATEUICACHE&#x000D;&#x000A;USEEXISTINGQUEUE&#x000D;&#x000A;VALUE&#x000D;&#x000A;VIEWAS&#x000D;&#x000A;WAIT&#x000D;&#x000A;WIDTH&#x000D;&#x000A;WILDCARD&#x000D;&#x000A;WORDS&#x000D;&#x000A;</Keywords>
            <Keywords name="Keywords7">$$</Keywords>
            <Keywords name="Keywords8">$</Keywords>
            <Keywords name="Delimiters">00&apos; 01 02&apos; 03&quot; 04\ 05&quot; 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="65CA00" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="808040" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FF0000" fontName="" fontStyle="4" nesting="0" />
            <WordsStyle name="KEYWORDS8" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>


80
Support and Feedback / Re: LoadArray
« on: January 29, 2017, 03:52:26 »
I'm not sure if it did work or not because I found out after that there are more factors involved. I was saving the scrap file as Unicode  UTF8 (SaveArray). If the array is empty, the created file uses BOM I think, and that writes some bytes at the file although the Notepad++ interface doesn't show nothing. You can see those bytes using a Hex Editor (I use a Notepad++ addon)

After all I implemented an empty file check to avoid loading an empty file and used ANSI to write the file and avoid the BOM bytes.

Yes, I'm loving MC and I did a Notepad++ User Defined Language to support MC Script. I'm posting it on User Contributed Content.

81
Support and Feedback / Re: LoadArray
« on: January 27, 2017, 17:45:31 »
you killed it  :)

sorry, i'm not used to declare @var

82
Support and Feedback / LoadArray
« on: January 27, 2017, 16:47:06 »
Hi,

I'm implementing a scrap area that I can Add/Remove files to it.

When I execute the command:
@var $temp_scrap_file = ".\Config\Scrap\scrap.txt";
$old_items = LoadArray($temp_scrap_file);
if the txt file is empty MC immediately closes

I will do a verification if the file is empty prior to LoadArray, but I would like just to let you guys now

Thanks

83
Support and Feedback / Get Link Target
« on: January 27, 2017, 11:24:12 »
Is there a way to get the link target (either a shortcut or hardlink) using MultiScript? I want to create a button that makes the source panel go to the target directory. I searched but found only how to create a link.

Thanks

85
Feature Requests and Suggestions / Re: Run focus selection on ENTER
« on: January 26, 2017, 16:13:35 »
ok thanks

86
Feature Requests and Suggestions / Re: Documentation
« on: January 26, 2017, 16:12:38 »
 :)

87
Feature Requests and Suggestions / Documentation
« on: January 26, 2017, 14:48:06 »
Hi,

I may be wrong, but in the page
http://multicommander.com/docs/multiscript/functions/getfilefromview
the first item in list is GetSelectFileNames, but when you click on it it shows the details of GetSelectedFileNames.

I think that the first item in the list in missing "ed" in the Select

Thanks

88
Feature Requests and Suggestions / Re: Run focus selection on ENTER
« on: January 26, 2017, 13:31:40 »
Dammit, how didn't I see that. Yes, it works already.

The only thing missing then is the option to automatically focus the first item in the panel on entering it for the first time (the following times it should remember what was selected as it currently does).

Thanks

89
Feature Requests and Suggestions / Run focus selection on ENTER
« on: January 26, 2017, 11:40:36 »
In another file manager I used to use, when I got a focused (but not selected) file or folder and pressed ENTER it would treat it as if it was selected and run it / go inside that folder. But for safety, if I want to delete it I have to select if first.

And if it is the first time entering a folder, it would already put focus on the first file/folder.

I find this very useful. If you could implement it I would appreciate very much.

Thank you.

90
Support and Feedback / Re: ${sourcefilepath} problem
« on: January 20, 2017, 16:09:43 »
Ok, I get it.

Thank you very much. Keep up the excellent work! MC is in my fav program list now!

91
Support and Feedback / Re: ${sourcefilepath} problem
« on: January 20, 2017, 11:21:40 »
But then I edit a Quick Launch Button and set

Program Path = C:\Program Files (x86)\Notepad++\notepad++.exe
Program Parameters = ${sourcefocuspath}

I select a file and click on the Quick Launch Button

Notepadd++ warns me with the message:
C:\${sourcefocuspath} doesn't exist. Create it?

It seems that the MultiTag  ${sourcefocuspath} doesn't work on a Quick Launch Button.

On the other hand, on another Quick Launch Button, I use the MultiTag ${sourcepath} and it works fine.

Thanks

92
Support and Feedback / Re: ${sourcefilepath} problem
« on: January 20, 2017, 11:01:11 »
I see. My bad. I confused it with focusfilepath

Thank you

93
Support and Feedback / ${sourcefilepath} problem
« on: January 19, 2017, 16:26:02 »
Hi,

I'm having trouble with the  ${sourcefilepath} multitag.

I created a User Defined Command as a Batch Script with:

echo sourcepath = "${sourcepath}"
echo sourcefilepath = "${sourcefilepath}"
pause

Then I select any or multiple files on C:\

When I run the scrit I get:
sourcepath = ""C:\""
sourcefilepath = ""

So is this a bug or did I do something wrong?

Thanks

Pages: 1 2 3 [4]