Solved

PDF slideshow on a dynamic folder

Posted on 2016-10-06
12
45 Views
Last Modified: 2016-10-07
I have an issue where I am trying to display PDF's in a certain folder via a slideshow, but also pick up new PDF's that are placed into that folder. I am currently using Irfanview with the PDF plugin to display the PDF slideshow, but new PDF's that are placed into the folder are not picked up and displayed. Does anyone know how this can be accomplished?
0
Comment
Question by:eagle3344
  • 6
  • 6
12 Comments
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
ID: 41832285
Are they all one-page PDFs? If not, do you want the slideshow to show just the first page of each PDF or all the pages of each PDF?
0
 

Author Comment

by:eagle3344
ID: 41832289
They are all one page PDF's.
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
ID: 41832294
Are you using the IrfanView GUI or command line?
0
 

Author Comment

by:eagle3344
ID: 41832296
hmmm...didn't realize there was a command line. I am using the GUI and running the slide show option on a loop.
0
 
LVL 51

Accepted Solution

by:
Joe Winograd, EE MVE earned 500 total points
ID: 41832313
AFAIK, in the GUI, you would have to manually re-populate the "Slideshow files" box.

Look in your IV install folder and you'll find a file called i_options.txt — that's the doc for the CLI. Search for "slideshow" in it and you'll see the slideshow options. I would think that the /reloadonloop option would do it, but I've never tried it. If it doesn't work, you can write a simple script to run the slideshow via a call to i_view32.exe, then exit, and then re-run it, which should pick up the new contents of the folder.
0
 

Author Comment

by:eagle3344
ID: 41832486
Thanks Joe, I will try that tomorrow and report back. I really appreciate your expertise!
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
ID: 41832535
You're welcome. Looking forward to your results tomorrow.
0
 

Author Comment

by:eagle3344
ID: 41834041
hi joe!

That worked perfectly! I appreciate that.

I did find out today that i'm going to need to pull from two different directories. at a risk of showing how terrible I am at batch here is what I have:

@echo on
cls
:start
C:\progra~2\irfanview\i_view32.exe /slideshow=C:\Users\username\Dropbox\vehicle_inspection\Assembly /reloadonloop
C:\progra~2\irfanview\i_view32.exe /slideshow=C:\Users\username\Dropbox\vehicle_inspection\Assembly2 /reloadonloop
goto start

Everything works perfectly (even adding in the new files), but it only loops the first directory. Any ideas what I may be missing to add that second directory into the mix?

Either way you answered my original question and will give you the full amount, but was hoping you may see what I might be missing.

thanks again! it's greatly appreciated.
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
ID: 41834122
Put this option at the end of both commands (after /reloadonloop with a space between them):

/closeslideshow

That should do it.
0
 

Author Comment

by:eagle3344
ID: 41834208
and that did do it! Joe, you are a lifesaver! I REALLY appreciate it!!!
0
 

Author Closing Comment

by:eagle3344
ID: 41834210
Joe's the man!
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
ID: 41834356
You're very welcome! I'm glad that works for you. And thanks to you for the kind words.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now