Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 203
  • Last Modified:

PDF slideshow on a dynamic folder

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
eagle3344
Asked:
eagle3344
  • 6
  • 6
1 Solution
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
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
 
eagle3344Author Commented:
They are all one page PDF's.
0
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
Are you using the IrfanView GUI or command line?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
eagle3344Author Commented:
hmmm...didn't realize there was a command line. I am using the GUI and running the slide show option on a loop.
0
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
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
 
eagle3344Author Commented:
Thanks Joe, I will try that tomorrow and report back. I really appreciate your expertise!
0
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
You're welcome. Looking forward to your results tomorrow.
0
 
eagle3344Author Commented:
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
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
Put this option at the end of both commands (after /reloadonloop with a space between them):

/closeslideshow

That should do it.
0
 
eagle3344Author Commented:
and that did do it! Joe, you are a lifesaver! I REALLY appreciate it!!!
0
 
eagle3344Author Commented:
Joe's the man!
0
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
You're very welcome! I'm glad that works for you. And thanks to you for the kind words.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now