Re: How Many Pages are in a PDF?
David - works like a charm. Richard, I imagine your method might work just as well. I'm just not that familiar with unix commands. Thanks! On May 29, 2013, at 1:26 PM, dfepst...@comcast.net wrote: 1 + (the duration of player myPlayerName)/ 75 David Epstein ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
How Many Pages are in a PDF?
Anybody know how to get this? I've tried loading the PDF into a player but this only gives me access to things in terms of time such as the TimeScale and the CurrentTime of the player. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: How Many Pages are in a PDF?
On Wed, May 29, 2013 at 6:21 AM, Ray Horsley r...@linkit.com wrote: Anybody know how to get this? I've tried loading the PDF into a player but this only gives me access to things in terms of time such as the TimeScale and the CurrentTime of the player. from unix commands, pdfinfo thefile.pdf and grep for pagess, or strings thefile.pdf | grep Count | tail -1 |sed -e s/.*Count.\([0-9]\{1,\ }\).*/\1/ checks for page indicators. I've used both. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: How Many Pages are in a PDF?
1 + (the duration of player myPlayerName)/ 75 David Epstein ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode