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

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

Recommended Posts

Posted

Hello all,

I am currently trying to save records with a naming system. I am able to achieve this on my desktop (having already set the $filename variable) using

Set Variable [$fullpath; Value: Get(DesktopPath) & $filename]

however I need to save this file on a remote volume.

In the Set Variable script's Value field, I've tried substituting the Get function for

filemac:/Volume/Folder

But I am told that is not a table and cannot proceed. I have also tried substituting Volume for the Server's IP address and surrounding this part of the function with apostrophies.

I am sure that the answer is shockingly simple, however my scripting/programming knowledge is very limited.

Any help would be greatly appreciated.

Posted

thanks LaRetta for your response. I tried that too. My problem is with the exact sintax in the Set Variable function. With apostrophes I can put in any file path I want, however I always get the message "Disk full...". When I try it without apostrophes I am told by FMP that that The specified table cannot be found.

If you have any insight that would great, if not, thank you for your time anyhow, I would not have gotten this far without you.

Posted

Can you post your script? Another method is to import a file from your network share as a reference. Then, use GetasText(container) to see the path necessary.

Posted (edited)

OK I finally got it after trying to smash a square peg in a round hole for 2 days I finally stopped trying to use Set Variable for $filepath and directly in the save as .pdf script put in filemac:/Volume/Folder/$filename and voilá!

Wow, I knew it was simple but I am embarassed about how much so it was...

PS. Thank you bcooney, I was thankfully able to avoid the SetVariable problem for the time being. I will keep that Getastext in my mind for the future.

Edited by Guest
Posted

It would still be a good idea to learn to write an accurate path variable. That's the foundation for all kinds of file references, import, export, etc. It isn't that hard.

This topic is 5214 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.