2 Replies Latest reply on Aug 8, 2012 9:05 AM by philmodjunk

    Script to Lock/Hide toolbar in IWP not working - FMP12 issues?

    Parag

      Title

      Script to Lock/Hide toolbar in IWP not working - FMP12 issues?

      Post

      I have the script below which works on one DB but when imported into a new DB fails. I've tried to re-write the code, created several new DB's to isolate the problem to no avail. The DB that it works in was created in FMP11 (converted to FMP12) and the new DB's are all FMP12.

      Has anyone else had this issue? 

      Any suggestions on what I should be looking for?

      If [ PatternCount ( Get ( ApplicationVersion ) ; "web" ) ]
      Show/Hide Toolbars
      [ Lock; Hide ]
      End If
      8

        • 1. Re: Script to Lock/Hide toolbar in IWP not working - FMP12 issues?
          davidanders
          The returned values have changed over time.
          For FMP ver 12
          Returns:
           •
          Pro (version) for FileMaker Pro
           •
          ProAdvanced (version) for FileMaker Pro Advanced
           •
          Runtime (version) for FileMaker Runtime
           •
          FileMaker Web Publishing (version) for FileMaker Web Client
           •
          Web Publishing Engine (version) for FileMaker Server Web Client
           •
          xDBC (version) for xDBC Client
           •
          Server (version) for FileMaker Server
           •
          Go (version) for FileMaker Go on the iPhone or iPod touch
           •
          Go_iPad (version) for FileMaker Go on the iPad

          Returns Pro 12.0v1 in FileMaker Pro 12.0v1.

          FOR FMP ver 11

          Returns:
           •
          Pro (version) for FileMaker Pro
           •
          ProAdvanced (version) for FileMaker Pro Advanced
           •
          Runtime (version) for FileMaker Runtime
           •
          FileMaker Web Publishing (version) for FileMaker Web Client
           •
          Web Publishing Engine (version) for FileMaker Server Web Client
           •
          xDBC (version) for xDBC Client
           •
          Server (version) for FileMaker Server

          Returns Pro 11.0v1 in FileMaker Pro 11.0v1.

          For FMP ver 7 through 10???

          Returns:
            •
          Pro (version) for FileMaker Pro
            •
          ProAdvanced (version) for FileMaker Pro Advanced
            •
          Runtime (version) for FileMaker Runtime
            •
          Web (version) for FileMaker Web Client
            •
          Server (version) for FileMaker Web Server
          Returns Pro 10.0v1 in FileMaker Pro 10.0v1.
          • 2. Re: Script to Lock/Hide toolbar in IWP not working - FMP12 issues?
            philmodjunk

            Does this fail to work in all your files or just the one?