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.

Assign a specified value from an AppleScript module to a cell within Filemaker Pro

Featured Replies

Within FileMaker Pro I do have a "Perform AppleScript" function executing the following command (i.e. triggering the application CopytoUSB).

Perform AppleScript

tell
me

activate

set
s
to
display dialog
"Which appliation do you want to start?"
default answer
"CopytoUSB"

do shell
script
"open -a \""
& text returned
of
s &
"\""

end
tell

CopytoUSB

CopytoUSB

try

tell
application
"FileMaker Pro Advanced"

set
_CompID
to
cell
"CompID"
of
table
"Preferences"

set
_cardVolume
to
USBname

set
theRecord
to
current record
of
table
"Preferences"

tell
theRecord

set
cell
"vgCopytoUSB"
to
"Yes"
of
table
"Preferences"

end
tell

end
tell

end
try

The purpose of this function is to behave according to the information contained in cells _CompID and _cardVolume. In the meantime the program is to assign a value to the cell "vgCopytoUSB" of the table "Preferences". At this moment it should be "Yes".

Getting the values contained in cells _CompID and _cardVolume work like a charm. However, I cannot get the cell "vgCopytoUSB" to be initialise to "Yes".

Would someone have an idea why I cannot send a value to the field "vgCopytoUSB" ?

Regards!

Daniel

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.