April 4, 201312 yr Here we go again - the old export container fields dance. Trying to open a pdf stored (not referenced) in a Container field. I create a variable for the export file path e.g. > $filepath = "filemac:" & Get ( DesktopPath ) & GetField ($FieldName) & ¶ & "filewin:" & Get ( DesktopPath ) & GetField ($FieldName) Then use the Export Field Contents script step with the 'Automatically Open…" checkbox ticked. This works fine on the Mac. On Windows XP it exports the file correctly but doesn't open it (though no error is generated) - yes Acrobat Reader is installed - and double-clicking the file in Windows Explorer (XP) does open the file. This would appear to be a bug in FMP v12.03. So - tried a number of work-arounds including Open URL and Send Event but can't get either to do the job on Windows. Yes the file path includes spaces and a non alphanumeric char e.g. "C:/Documents and Settings/Administrator/Desktop/Clipboard Explorer v2.54 Manual.pdf" Now there are a number of possible variations on the syntax of this file path - but the right one eludes me for both OPEN URL and Send Event Boy has this wasted some time - any ideas how to get either - or both work-arounds working?
May 1, 201312 yr I would try a couple of things - firstly double check that the acrobat opens within the browser, that was a problem i encountered once. I believe there is a tickbox in the Options bit of Reader somewhere. Also I recall having problems with certain versions of Reader, I would backgrade to Reader 9 to see if that solves your problem. Sorry no golden bullet, but hope it helps. Martyn
Create an account or sign in to comment