November 27, 200619 yr 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.
November 28, 200619 yr Author 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.
Create an account or sign in to comment