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

is it possible for applescript to use filemaker variable. or does anyone know how to set the last created item as target item in applescript?

No, AppleScript has no idea about FileMaker variables; FileMaker would have to add them to its AppleScript dictionary. But you can just use a global field instead, same as always.

  • Author

You mean on my filemaker side i set as $$variable and on my applescript side i set as property variable?

No, I mean forget about using a FileMaker $$variable with AppleScript. You have to use a FileMaker global (or regular)field to pass a value to AppleScript. You could then set the value passed into a variable in AppleScript and use it. But a "variable" in FileMaker and a "variable" in AppleScript can have no idea about the other, even though they sound similar.

  • Author

I think is possible to do so through calculated applescript

Can someone correct what is wrong with my scripting.

"set this_item to" & $fullpath& ¶ &

"tell application "URL Access Scripting"

upload this_item to "ftp://user:[email protected]/Invoices/" replacing yes without binhexing

end tell"

Yes, sorry, I should not have said to "forget" using variables. It was late :-| It will work if you put it into a calculation field. But then it IS in a field; you're still not using the FileMaker variable directly with AppleScript.

I think the problem you've got is that you need to use the global $$variable syntax, because it is not technically inside its own script.

I think the problem you've got is that you need to use the global $$variable syntax, because it is not technically inside its own script.

Could you make $$variables or script-parameters work for that matter??

--sd

  • Author

Hi,

Thanks for responding. I manage to resolve my problem is just the formatting. Global variable is not needed. I had to add carriage returns at the right place and it works.

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.