Opening multiple Filemaker databases with applescript
I'm trying to write an apple script to open multiple fp7's with provided logins. My script is a s follows;
setthefolderto "Mac:Users:matthewmackay:Desktop:Apple Script"
set numberoffiles to count every file in folderthefolder
tellapplication "FileMaker Pro Advanced"
open thisfile for Accounts "......." with passwords ".........."
It opens the first file in the folder but no other ones, I've posted on apple scripter forums as well but thought I'd try on here as well.