Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

How to inserting a pdf regardless of the user in windows


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

Recommended Posts

Posted

How can I change the path so the script will insert the pdf regardless of the user in windows and regardless of the pdf name?

This is the original path is:  imagewin: /C/Users/Home/Documents/pdf/anyname.pdf

 

Thanks in advance

Posted

You can use the FM function Get(DocumentsPath) to take the user out of the equation, but you have to know the PDF name obviously.  No way around that.  You can't insert what you can't target.

 

What is it that you are trying to do?  Can you let the user select the file?

Posted

No problem, I can specify the name of the document however I do not understand how to use the function Get(DocumentsPath) in the Insert PDF scipt step.

 

Please help!

Posted

I need to rename a pdf document in the folder "pdf" from 2342355.pdf to pdf.pdf

however I do not know where you specify the desired name in cmd

 

cmd /c REN /Q *.pdf "%userprofile%documentspdf"

 

Thanks in advance

Posted

I found a way to rename my pdf and I want to share with the forum for the benefit of others.

 

cmd /c for /f "delims=" %i in ('dir "%userprofile%documentspdf*.pdf" /s/b') do rename %i pdf.pdf

 

Thanks

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