1 Reply Latest reply on May 15, 2015 12:12 AM by PeterWindle

    FileMaker Pro 14: new get Directory script step - Allow Folder Creation

    itraining

      Question:

      In the new Get Directory script, is the "Allow Folder Creation" option:

      (a) designed to be strict - as in the user can only create a new folder if this option is enabled?

      (b) how does (a) behave in Mac OS X?

      (c) false advertising?

       

      Background:

      The new Get Directory script step grabbed my attention in the preview release and I quickly tested it returning the path of a selected folder. Fantastic. Awesome. However I did not test the "Allow Folder Creation" option. Instead I ASSUMED it would enable the creation of a folder in the operating file system.

       

      Testing (c): false advertising?

      Experimenting with the script step today I see it does not allow the scripted creation of folders, hence my false advertising query and the article in the FMI knowledge base confirms "Allow folder creation lets users create new folders while they browse the file system.".

       

      Testing (a) and (b): designed to be strict and how does (a) behave in Mac OS X?

      Attached are some screenshots testing the Allow Folder Creation ON and OFF using Windows 7 x64bit.


      If "Allow Folder Creation" is ON, the Make New Folder button is visible as expected.


      If "Allow Folder Creation" is OFF the make New Folder button is hidden but the right-click menu is still available and if I knew the keyboard shortcut to create a new folder in Windows I would test that too. Using Mac OS X, I assume the new folder button would be hidden but suspect the keyboard shortcut to create New Folder CMD SHIFT N is enabled and not sure about right-click )CTRL-click_ in the Open/Save dialog box..

       

      FileMaker Inc. Knowledge Base:

      Overview of script step changes and enhancements in FileMaker Pro 14 | FileMaker

       

       

      Thanks in advance.

       

       

       

      Michael Richards

      Brisbane (Australia)

       

       

      01a_GetDirectory_Script_AllowFolderCreationON.jpg

      01b_GetDirectory_RunScript_SelectWindow_MakeNewFolderButtonON.JPG

      02b_GetDirectory_RunScript_SelectWindow_MakeNewFolderButtonOFF.JPG

      02a_GetDirectory_Script_AllowFolderCreationOFF.jpg

      02c_GetDirectory_RunScript_SelectWindow_RightClickNewFolderOK.jpg

        • 1. Re: FileMaker Pro 14: new get Directory script step - Allow Folder Creation
          PeterWindle

          C) allows users, not developers. Why? Because the FileMaker environment is not able to determine permissions of volumes.

           

          B) the same as Windows. The dialogue box shows or hides the "New Folder" button depending on the script step option

           

          A) not exactly, it's only a button on the dialogue box. On Mac, you can Control Click on the directory window and it allows creation of a folder.

           

          It's all GUI - but the good part is, the result is returned into the variable, so it's a great feature.

           

          PS: g'day from Sydney

           

          PPS: If you want some pretty advanced folder and file handling functions, I would be checking out the base elements plugins. They ROCK!