3 Replies Latest reply on Jan 9, 2014 9:34 AM by philmodjunk

    Hi, I've come across this script to let FM recognize a device and go to a specific layout....

    BorisKamp

      Post

           Hi,

           I've come across this script to let FM recognize a device and go to a specific layout. Great! But I have no idea how to implent this! I know where to specify the script (file options > OnFirstWindowOpen etc etc. but when I want to create the script I dont see the Get functions at all

           What am I missing?

           here's the script I need to create:

           

      If [PatternCount ( Get ( ApplicationVersion ) ; “Go_iPad” ) = 1]
                  Go to Layout [“iPad_Home” (HOME)]
      Else If [PatternCount ( Get ( ApplicationVersion ) ; “Go” ) = 1]
                  Go to Layout [“iPhone_Home” (HOME)]
      Else
                  Go to Layout [“Home” (HOME)]
      End If

      Thanks!