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.

pathname from windows to mac

Featured Replies

filemaker 5.5 (windows and mac os x)

i have an image database which has a field for pathname...

the images are saved on a shared volume...

since I imported the images in windows...the pathnames are saved as

computernameshareddocspicfolderpic1.jpg

then...if the user wants to access the file...i have created a go to url script...

however, if the user is on a mac...they cannot go to url cause the path is different..is there a way to change the pathname to the mac format automatically? i have 2,000 + images...

i have to change the format to

file:///localhost/volume/shareddocs/picfolder/pic1.jpg

and i'm not quite sure how to script it for all existing records and future records.

thanks

hello mallikai,

I suggest that you create an unstored calculating text field with a formula which runs along the lines of:

Case(Abs(Status(CurrentPlatform)) > 1, YourURLfield, "file:///localhost/volume/" & Substitute(Middle(YourURLfield, 16, Length(YourURLfield) - 15), "", "/"))[/case]

Then use the calculation field in place of the URL field in your 'Open URL script steps etc.

That way, although the URL syntax is windows based, the URLs will be translated whenever the file is being run on a MacOS client.

If you want to be able to store URLs in either format, that could be done too, but you'd need a slightly more complex formula that tests which format the URL is stored in and translates in the opposite direction (ie Mac to Win) when the stored formula is in Mac format. The basic approach, however would be as outlined above.

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.