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

send AppleScript commands to FileMaker Pro on remote system


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

Recommended Posts

Posted

I am writing a script to tell a remote machine running FileMaker Pro to run a FileMaker script.

set remMachine to "eppc://" & userName & ":" & pasword & "@" & ipNumber

tell application "FileMaker Pro" --of machine remMachine

   do script FileMaker script "Some-Script"

end tell

Note that of machine remMachine is commented out.  If I uncomment out that part of the command I get an error when I try to compile the script...

Sytax Error:  Expected end of line but found “script”.

How do I make this script work?   Thank you.

Posted

Here's what more playing today has shown me:

While the code I previously posted fails as I described, this version works...

tell application "FileMaker Pro" of machine "eppc://USER:[email protected]"

   do script FileMaker script "Some-Script"

end tell

Encouraging, except that 'd rather the IP address to be calculated and not hard-coded.

For now I think I will hard-code the possible IP addresses and then run the version based on some if-then stuff. But I'd like to know why my original idea is broke. It is probably simple problem.

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