Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do I create a folder path? Help!

Featured Replies

  • Newbies

I've created an "Insert Picture" script to go into a container field with the following script steps:

"New Record/Request

Go to Field [Flexi Jobs::Job Sheet}

Insert Picture[Reference]"

When I perform this script, a dialogue window appears displaying "My Documents" allowing me to choose the picture I want to insert. However, the pictures I need, reside in 2 more folder levels within "My Documents". I want to create a folder path to a folder(s) within "My Documents" folder where the pictures I need are kept. Can anyone please tell me how to create this folder path? I've tried using the Open URL script step but I'm obviously doing something wrong. So what I need is a folder path script that navigates to a particular folder and not a particular file, I need to choose a different file each time. Can anyone help Please?

Thank you for your help.

You arent making yourself clear.

Do you want to open a folder, do you want to open a default folder pop up when selecting your file, do you want to store a particular pattern image name? Do you want to know the general file path syntax... do you want to store a folder?

You really have to make yourself clear.

  • Author
  • Newbies

Thanks for the reply and please excuse my inexperience.

I think I need to know how to create a default folder pop up. I need to have the same folder to open in the "insert picture" dialogue window every time I run the script so I can manually choose which picture I want to insert into the container field every time I create a new record.

I hope I have explained myself more clearly.

Thank you for your patience.

I think i understand what your after... part of it is doable.

Unfortunatley... to the best of my knowledge, you cannot open a specified "default" folder when selecting a file. FileMaker just remembers the last folder opened and opens that.

As per how to actually make anything popup so that you can actually choose a file, go into script maker, choose your insert picture[] step and uncheck the boxes that have the words "specify file" etc as these remove user interaction and assume you want the script to perform everything by itself.

As per the enexperience... don't worry about it, i wasn't trying to be harsh its just that unless the actual situation is known... its hard for people to help.

  • Author
  • Newbies

Thanks for your help anyway, I tried un checking the specify file box in "insert picture" previously but, as you said, Filemaker only remembers the last opened folder. I was searching help and found a topic that might help me, I searched for "creating file paths" and at the very bottom of the topic there was a reference to "Specify a directory (Not a file). I think that's what I need but I have no Idea on how to implement it. Perhaps you might have any ideas on that.I suppose I'll just keep tinkering until the penny drops so to speak!

I realise you weren't being harsh, I taught Photoshop in another life and had the same communication problems with my students back then.

Cheers ....Peter

Cheap trick: Export a little file to the folder you want. Use a container global to hold a small file/picture for this use. Insert the file (or picture) you exported. This will set the default path to that folder. Apparently Insert File and Insert Picture share the same default path (it seems to me anyway).

Of course, now you've got an extra file/picture in the folder. You can use OS commands to delete it, if you really need to.

To make this automatic you'd need to know and use the FileMaker syntax path to the folder/file in the Set Variable script step.

  • 2 weeks later...

Yeah thanks for the trick, I want to do exactly the same thing. Cant believe there is no easier way though...

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.