Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - @echo off
 - IF [%1]==[] (goto usage)
 - IF [%2]==[] (goto longscroll)
 - IF NOT [%2]==[] (goto default)
 - :usage
 - echo Usage is ^<folder to process^> ^<longscroll^>
 - echo Example: create_pdf.bat bloom_into_you longscroll
 - echo Creates a PDF with the name of the folder in long scroll format
 - echo Example: create_pdf.bat bloom_into_you
 - echo Creates a PDF with the name of the folder
 - exit /b 1
 - :default
 - echo Creating %1.pdf
 - call magick %1\*[0-9].{png,jpg} %1\*credits.{png,jpg} %1.pdf
 - exit /b 1
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment