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.

Featured Replies

Hello :)

 

I have a script that creates an indesign file with correct measurements, and it stores it perfectly when I set a fixed filepath in the AS.

I need a filepath that is calculated to a folder on a server. If I put the path in as text, in AS, it works fine, but when I insert a $$VAR it

somehow does not understand what it...

 

I am using the following (wich works but is not calculated)

save document 1 to "MC Kranten:Weekproductie:WK03:H24997188_POLDER-EN_2.indd"¶
 

 I have tried to create a calc field for the whole path+name and use that in a $$VAR but that does not work.

 

This down not work:

save document 1 to" & $$DOCPATH & ¶

Is there anyone that spots what I did wrong here?

Is there anyone that spots what I did wrong here?

 

No, because you don't show us how you defined the $$DOCPATH variable. If I had to guess, I'd say you're missing the quotation marks.

 

BTW, I don't see why you need a global $$variable for this; it seems to me a local $variable should be quite sufficient.

  • Author

Thanks for the reply

 

the mistake I made was not with the quotations marks but when I turned the path from local to server... that's fixed now but overlooked earlier... sorry.

 

As for the $$globals... I've been reading up on using the vars in AS, and somehow I was convinced that using globals was the way to go, not sure why.

I'll make them local and see if it still works fine

 

Thanks comment!

I've been reading up on using the vars in AS
 
But you are not using the variable in Applescript; you are using it in a Filemaker script. And unless you need it to persist after the script has exited, you should use a local $variable.

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.