How can I view next/previous files in the current directory without individually opening them via File/Open?
I am looking for a function similar to the left/right arrows in IrfanView for viewing images.
Did I miss something?
Thx
How to walk through files
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 11052
- Joined: Wed Jan 03, 2018 6:52 pm
Re: How to walk through files
Hello, Sportive
At this time we do not offer a feature like this, and unfortunately do not have plans to implement one.
Kind regards,
At this time we do not offer a feature like this, and unfortunately do not have plans to implement one.
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 1400
- Joined: Tue Nov 24, 2020 4:02 pm
Re: How to walk through files
If you use Windows explorer with the View optioned to Extra large icons, at least you will see the first page of each file.
All best,
FringePhil
FringePhil
-
- User
- Posts: 1680
- Joined: Sat Sep 11, 2021 5:04 am
Re: How to walk through files
Hello Sportive,
As Daniel has answered, the feature you are looking for does not exist. Also, there does not appear to be a way to use JavaScript to get a list of files in the current file's folder path, because it is restricted for security reasons.
However, with the Launch Applications feature, you can pass the file path of the current file to an external program by specifying %1 in the parameter field. Thus, there might be a slight possibility. The following video shows verification with a script created for autohotkey v1 as a proof of concept.
If you assign a shortcut key (*1) to the Launch Applications feature and then assign a shortcut key (*2) to each of the functions that display the previous and next files in the external program, you should be able to display the previous and next files using only the shortcut keys.
(*1) In the following verification, Ctrl+Shift+J was assigned.
(*2) In the following verification, Left Arrow key / Right Arrow key was assigned.
Best regards,
rakunavi
As Daniel has answered, the feature you are looking for does not exist. Also, there does not appear to be a way to use JavaScript to get a list of files in the current file's folder path, because it is restricted for security reasons.
However, with the Launch Applications feature, you can pass the file path of the current file to an external program by specifying %1 in the parameter field. Thus, there might be a slight possibility. The following video shows verification with a script created for autohotkey v1 as a proof of concept.
If you assign a shortcut key (*1) to the Launch Applications feature and then assign a shortcut key (*2) to each of the functions that display the previous and next files in the external program, you should be able to display the previous and next files using only the shortcut keys.
(*1) In the following verification, Ctrl+Shift+J was assigned.
(*2) In the following verification, Left Arrow key / Right Arrow key was assigned.
- Product Manuals » PDF-XChange Editor V10 » Tabs Guide » File Tab » Preferences » Launch Applications
https://help.pdf-xchange.com/pdfxe10/in ... ns_ed.html
Code: Select all
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
#SingleInstance Force
#Persistent
FilePath = %1%
SplitPath, FilePath, , FileDir
; Get all PDF files in a folder
FileList := {}
Loop, Files, %FileDir%\*.pdf
{
FileList.Push(A_LoopFileFullPath)
}
; Sort by file path
FileList.Sort()
; Get index value of current PDF file
for index, value in FileList {
if (value = FilePath) {
CurrentIndex := index
break
}
}
; Open previous PDF with left arrow key
Left::
PrevIndex := CurrentIndex - 1
if (PrevIndex >= 1) {
send ^w
Run, % FileList[PrevIndex]
CurrentIndex := PrevIndex
} else {
SoundBeep
}
return
; Open next PDF with right arrow key
Right::
NextIndex := CurrentIndex + 1
if (NextIndex <= FileList.Length()) {
send ^w
Run, % FileList[NextIndex]
CurrentIndex := NextIndex
} else {
SoundBeep
}
return
Best regards,
rakunavi
You do not have the required permissions to view the files attached to this post.
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
-
- User
- Posts: 558
- Joined: Sat Dec 16, 2023 11:09 am
Re: How to walk through files
Hi Sportive,
For viewing purpose, you can also simply use the built-in preview feature in windows File Explorer.
For viewing purpose, you can also simply use the built-in preview feature in windows File Explorer.
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
-
- Site Admin
- Posts: 11052
- Joined: Wed Jan 03, 2018 6:52 pm
How to walk through files

Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com