Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4224 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?
 
 
  • 4 weeks later...
Posted

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

This topic is 4224 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.