Newbies bigwordsmith Posted January 22, 2009 Newbies Posted January 22, 2009 Hi All One of our customers on a windows machine is reporting that she can't save PDFs to disk from FM9 - it works fine on our development system ( Mac OSX). The error message says something along the lines of make room or change the name, but I'm wondering if it is more about her windows privilieges. Any ideas? Thanks BWS
bcooney Posted January 24, 2009 Posted January 24, 2009 (edited) I'll bet it's the path. Where are you saving the pdf? For example, to save to the Desktop, the export path is: "file:" & Get (DesktopPath) & filename & ".pdf" Have you forgotten the "file:" or perhaps have "filemac:" ? Edited January 24, 2009 by Guest
Newbies bigwordsmith Posted January 26, 2009 Author Newbies Posted January 26, 2009 Thanks - that sorted it perfectly - How I Hate Windoze!
eljefejb Posted March 3, 2009 Posted March 3, 2009 I'm getting the same error, but from a Mac (Error 800). My path calculation looks like: "filemac:/" & Get(DesktopPath) & "/VAR PDFs/" & $day & " " & Leads::VAR & ".pdf" The $day variable is the selected day, with "-" substituted for the "/" character. The folder on the desktop has Read/Write permissions for everyone. I can't think of what the problem might be... maybe because the file is hosted by FMServer, and it's trying to save to the Desktop of the server, instead of the client's desktop?
bcooney Posted March 4, 2009 Posted March 4, 2009 (edited) It's your path. You don't need a slash after filemac: Also, Get (DesktopPath) returns, for example, /MacintoshHD/Users/John Smith/Desktop/ . So you're adding an extra slash at the end. Is $day defined in the same script? If set a field to this path, what do you get? I can't tell what $day is equal to or Leads:VAR and why you have a space between $day and Leads::VAR. It won't save to the Desktop of the server. Get (DesktopPath) always saves to the user's desktop. Edited March 4, 2009 by Guest
eljefejb Posted March 4, 2009 Posted March 4, 2009 That was it! Thank you, oh wise guru of scripting! :
Recommended Posts
This topic is 5811 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 accountSign in
Already have an account? Sign in here.
Sign In Now