Page 1 of 1

wish new action fmPrev+fmNext

PostPosted: Thu Jun 14, 2012 9:49 am
by HPW

I am using the plugin to build a custom file open dialog with a thumbnail browse-area.
Below the preview area I want to have buttons to navigate to prev and next file.
I know its possible to script it, but it would be comfortable to have the actions fmPrev and fmNext.


PostPosted: Thu Jun 14, 2012 10:21 am
by Neosoft Support
I'll add that to the list of things to consider for the next update.

PostPosted: Fri Jun 15, 2012 8:21 am
by HPW
As long it is not done, I use this for a Next-button:

Code: Select all
fmFileListToVar "FileList" "FullPath=Yes;IncludeFiles=Yes;IncludeFolders=No;SelectedOnly=No" "[OpenFileList]"
StrReplace "[OpenFileList]" ";" "[#13][#10]" "[OpenFileList]" ""
hpwLineCount "[OpenFileList]" "[OpenFileCount]"
hpwLineNumber "[OpenFileList]" "[SelectedFile]" "False" "[SelectedPos]"
SetVar "[NewPos]" "[SelectedPos]+1"
hpwLine "[OpenFileList]" "[NewPos]" "[FileItem]"
ExtractFileName "[FileItem]" "[FileItem]"
fmSelectSome "FileList" "[FileItem]" "IncludeFiles=Yes;IncludeFolders=No"

PostPosted: Fri Jun 15, 2012 10:39 am
by Neosoft Support
Could you use fmFileListToVar to populate a list box and use that for navigation instead of FM/FTP's file list?