Latest post of the previous page:
для билда 3620 можно теперь таким скриптом отделаться- local ffi = require "ffi"
- local C = ffi.C
- local shlwapi=ffi.load("shlwapi")
- ffi.cdef [[
- int StrCmpLogicalW(const wchar_t*, const wchar_t*);
- ]]
- Panel.LoadCustomSortMode (100, {
- Description = "Sort files with StrCmpLogicalW";
- Compare = function(pi1,pi2,opt)
- return shlwapi.StrCmpLogicalW(pi1.FileName, pi2.FileName)
- end;
- Indicator = "+-";
- })
- Macro {
- description="Sort files with StrCmpLogicalW";
- area="Shell";
- key="CtrlShiftF12";
- action=function()
- Panel.CustomSortMenu()
- end;
- }
GeSHi © Codebox Plus Extension