Solved

PDF slideshow on a dynamic folder

Posted on 2016-10-06
12
81 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 52

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 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 41832294
Are you using the IrfanView GUI or command line?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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 52

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
 
LVL 52

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 52

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 52

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

821 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