Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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

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