[Solved] File dialog preview feature

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 23
Joined: Sun Nov 13, 2011 5:40 pm

[Solved] File dialog preview feature

Post 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).
Last edited by foliator on Sun Dec 15, 2013 6:28 am, edited 1 time in total.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post 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);
...

Offline
Posts: 23
Joined: Sun Nov 13, 2011 5:40 pm

Post 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.
Post Reply