Page 1 of 1

[Solved] File dialog preview feature

Posted: Sat Dec 14, 2013 11:22 pm
by foliator
Can the preview pane in AkelPad's file open dialog be disabled by the user? It's a nice, unique feature, but I don't need it, and would prefer to free up the vertical space it uses so I can see more files. I always use details view, and the window height on my netbook is limited due to the aspect ratio of its display (1024x600).

Posted: Sun Dec 15, 2013 5:34 am
by Instructor
You can use for example modified InsertFile.js script (from Scripts plugin distributive):

Code: Select all

...
    //if (pText=AkelPad.ReadFile(pFile))
    //{
    //  AkelPad.ReplaceSel(pText, true);
    //}
    AkelPad.OpenFile(pFile);
...

Posted: Sun Dec 15, 2013 6:28 am
by foliator
Instructor wrote:You can use for example modified InsertFile.js script (from Scripts plugin distributive):

Code: Select all

...
    //if (pText=AkelPad.ReadFile(pFile))
    //{
    //  AkelPad.ReplaceSel(pText, true);
    //}
    AkelPad.OpenFile(pFile);
...
Thanks, Instructor, that works fine. It gives me the standard Windows file open dialog.