AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Solved] File dialog preview feature

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
foliator



Joined: 13 Nov 2011
Posts: 23

PostPosted: Sat Dec 14, 2013 11:22 pm    Post subject: [Solved] File dialog preview feature Reply with quote

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
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5289

PostPosted: Sun Dec 15, 2013 5:34 am    Post subject: Reply with quote

You can use for example modified InsertFile.js script (from Scripts plugin distributive):
Code:
...
    //if (pText=AkelPad.ReadFile(pFile))
    //{
    //  AkelPad.ReplaceSel(pText, true);
    //}
    AkelPad.OpenFile(pFile);
...
Back to top
View user's profile Send private message Send e-mail
foliator



Joined: 13 Nov 2011
Posts: 23

PostPosted: Sun Dec 15, 2013 6:28 am    Post subject: Reply with quote

Instructor wrote:
You can use for example modified InsertFile.js script (from Scripts plugin distributive):
Code:
...
    //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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group