F=far.Flags SortString="5FE4D394-2FE5-453F-8DB9-D63C32E01D13" Macro area:'Shell' key:'F2' description:'!SortString' condition:-> APanel.Prefix=='' action:-> if not APanel.Selected Panel.Select 0,1,1,0 while APanel.SelCount>0 Panel.SetPosIdx 0,1,1 fname=mf.string Panel.Item 0,0,0 editor.Editor fname,_,_,_,_,_,bit64.bor(F.EF_NONMODAL,F.EF_IMMEDIATERETURN),1,1 Plugin.SyncCall SortString,"operation:0","comparation:3","invert:0","silent:1" if bit64.band(far.AdvControl(F.ACTL_GETWINDOWINFO).Flags,F.WIF_MODIFIED)==F.WIF_MODIFIED if not editor.SaveFile -1 break editor.Quit -1 Panel.Select 0,0,2,fname |