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.

Windows get(SystemDrive) ... is wiggy?

Featured Replies

This isn't exactly a 'custom function' but perhaps someone who deals with functions can help.

I have a script that first determines if the user is running in OSX or Windows.

Then it creates a path to a file. (Using in part 360Works Select File() function)

Here is the script:

post-72145-0-35799100-1329969013_thumb.j

The OSX part (top) works. The Windows portion (bottom) produces this 'mess':

post-72145-0-65137600-1329969052_thumb.j

I thought the problem might be in the get(systemDrive) function so I replaced it with C: . But, it still didn't work.

What am I missing? (Yes, I tried putting filewin: in front without a good result.)

Thanks

Ron

  • 3 months later...

It looks like the 360Works SelectFile() function is returning the network path of the file. With a bit of manipulation, you can use this value in FileMaker:


Set Variable [$$SelectImportFile; Value:SelectFile]

Show Custom Dialog ["Windows"; "filewin:" & Substitute($$SelectImportFile; "\\"; "/")]

This should yield the following result:

filewin://psf/Home/Documents/FileMaker docs/_Projects/Lodge Membership/LodgeMembership888.fp7

This value can then be used in various script steps like "Import Records []" and "Export Records []".

  • 2 weeks later...
  • Author

Great solution. Thanks.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.