3 Replies Latest reply on Oct 9, 2011 3:04 PM by bumper

    Opening multiple Filemaker databases with applescript

    MatthewMackay

      Title

      Opening multiple Filemaker databases with applescript

      Post

      Afternoon,

       

      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"

      tellapplication "Finder"

      set numberoffiles to count every file in folderthefolder

      setthefilestothefilesoffolderthefolderwhosenamecontains ".fp7"

      repeatwiththisfileinthefiles

      tellapplication "FileMaker Pro Advanced"

      open thisfile for Accounts "......." with passwords ".........."

      endtell

      endrepeat

      endtell


      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.

       

      cheers