Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Doc Management: Remove Watermark

Featured Replies

 Hi,

I am currently working on a FileMaker document management solution and adding and removing watermarks is a requirement of the process. The documents are office documents mainly Word and Visio and will be kept in container fields within the solution. Right now the best i have come up with is a send event script with the CMD code:

start winword FilePath /mmacroname

This opens the word document and calls a macro that removes or adds a watermark and closes the file. This works OK for word but I have not been able to find a CMD equivalent for Visio that lets you call a macro. Furthermore, this solution will be hosted on FileMaker server so all users would have to have macros enabled. I am looking for another way of doing this or a plug in that could accomplish or help with the task. Any help or ideas are greatly appreciated. Thanks.

Daniel

Solved by Wim Decorte

Go to solution
  • Solution

Using an embedded macro in the document itself is not a good idea.  Whether it runs or not depends on the security settings on the client machine and you may or may not have full control over that.  Also, if you have an updated version of the macro, all older documents will not have it.

 

You are better off taking the code of the macro and putting it in a VBscript or Powershell file.  Those you can store in a container field to and export / run them as necessary, feeding them the right parameters.

  • Author

Thanks Wim. This definitely points me in the right direction. I will just have to figure out how to convert the macro to VBS.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.