@BD0G said in PDF Implementation:
If others load one .pdf file to the google drive and then delete all other files in that directory well then the file extension would still be .pdf (right) ? So then one could script it using *.pdf (file that ends in .pdf)
So whatever actions that were taken were performed upon a file that ended with .pdf
The file name becomes inconsequential. Just grab all .pdf files (as there will only be one) , download them to a specific directory you create on a local system (ftp sounds like it may be a good option for this) and then use the convert action that @ember1205 speaks of within ImageMagick, upload back to Google Drive via ftp and then (damn! Google Drive will then rename it with another file ID and then the URL that is within the config.js that points to the url will be broken and not display -ugggggg) . I think I understand now.
Here is a Google Chrome Add on that allows one to Overwrite the same file without changing the file name. It “may” be helpful?
https://chrome.google.com/webstore/detail/drive-overwrite-file-repl/llanhaaigblafdecdihpppjaeekpddfl?hl=en-US
It really sounds like you may have to delve into Google App Script to accomplish this. https://developers.google.com/apps-script
If you have questions about using this scripting tool then I think there is support over on www.stackoverflow.com
I am not a Google Script Coder so I cannot be of any help there.
Download from Google drive to the MM device. Convert. Store converted file locally. Load local file.
Less complicated than downloading, converting, pushing back up, figuring out new ID, etc.