0 Replies Latest reply on Jul 25, 2013 6:06 PM by JustinFranks

    FileMaker and Applescript Help

    JustinFranks

      Title

      FileMaker and Applescript Help

      Post

           Hi all,

           FileMaker Pro 12.0.4

           Mac OS X 10.7.5

           I apologise in advance if this has been answered elsewhere but I can't seem to locate an answer to this.

           I am trying to automate some processes at my work and one of which requires me to create a new FMP database and populate it.

           I am trying to use Applescript to create a new DB but it doesn't appear to work they way I imagined.

           Here is the code:

            

           (* The tell command is targeted specifically at FMP 12 as both FMP 11 and 12 are installed on the same box *)

      tellapplication "/Applications/FileMaker Pro 12/FileMaker Pro.app"

      create new database

      endtell

            

           Now, I understand that the command "create new" refers to records but can it refer to files and databases as well? Is there another way to go about this?

            

           Any help would be appreciated.