Jump 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.

Featured Replies

Hi

I have a FM Solution that I use daily to book jobs in, What I am trying to do is have a script that when selected creates a folder on a networked. Each Job has a unique Job Ticket No.

I have a Windows File Server that has about 100 customers folders.

Filemaker will have to create the folder in the right customers folder and name it's unique Job Ticket No.

Is this something that can be done?

Any help would be much appreciated.

Regards

Peter

Is this something that can be done?

Anthing can be done. The real question is if it is worth the effort.

To do this you need either a Plug-In (could not tell you which one, I avoid them.) or an external script (Applescript on macs or VBS, Wsh, or Bat on windows)

The only one I have much experiance with is VBS on windows. (the script would be run from the client not the server)

The Object to use in VBS scripts is:

Set oFileObj = CreateObject("Scripting.FileSystemObject")

if you do a web search on "Scripting.FileSystemObject" you should be able to find all the pieces to write the script for windows. The logic of the script is somthing like: If YourPath Exists, do nothing, else, create YourPath. Getting the YourPath value in a script can be done in multiple ways, Arguments, exported text file, or my favorite, create the script as a calculation within filemaker, export it, then run it.

None of these option are very hard (8-10 lines of code saved as a text file). If you need help on a vbs script, let me know (I could throw together a sample if you need). If you need an applescript, I can't help you (Been to many years since I've used it)

Allen

  • Author

Hi

Thanks for the reply.

Yes I would need to do this from a Macintosh ( Applescript )

Regards

Peter

There's an aritcle on fmwebschool that may be useful. It mentions applescript at the top. It has some examples for windows, I don't have a mac so I'm not sure how well it will relate:

FMWebSchool

Create an account or sign in to comment

Important Information

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

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.