Answer File on Mac OS X
bobsneidar at iotecdigital.com
Sun Dec 1 18:15:23 EST 2013
Thanks Paul, Jacque, others. with type works reliably. Maybe I didn’t read the docs carefully enough. It comes to mind that if a PDF was saved in Windows it would not have the file type, so with type “PDF Files|pdf” is definitely the way to go.
Integrated Office Technology
bobsneidar at iotecdigital.com<mailto:bobsneidar at iotecdigital.com>
On Dec 1, 2013, at 15:06 , Paul Hibbert <paulhibbert at mac.com<mailto:paulhibbert at mac.com>> wrote:
I checked a folder full of PDFs on my hard drive and found some worked with the space in the file type and some that didn’t, like yours, none of these PDFs were generated on OS 9 as far as I know, they are all quite new. The odd ones with the space came from different sources, one of them from ImageCapture.app on another of my Macs running OS X 10.7.5.
After a few tests I concluded that the best line for this would probably be…
answer file "Which PDF?" with type "PDF Files|pdf,pdf |PDF,PDF "
…From what I saw on OS X 10.8.5 this covered both options reliably, however, I don't have Mavericks to test on just yet.
More information about the use-livecode