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

Input Picture Script Mac Vs PC

Featured Replies

The input picture script has 4 syntaxes (if that's even a word) available. I'm using imagewin:/driveletter:/directoryName/fileName and it works great....for PC's. But the Macs that need to see the picture get a can't find the file error message.

I've pointed the PC's to a mapped network drive, and am thinking I need to make a 2nd layout just for mac that uses the imageMac syntax. Is there a simpler way????

Are you using a calculation to produce the picture? Or are you using Insert Picture?

If using a calculation then you'd put the "imagemac:/" path prefix and volume name into the calculation. Another layout wouldn't make any difference. If you have a Mac, then just Insert one picture into another container field, then use GetAsText( container ) to see what the path looks like. All you have to do is make it look the same.

To check for the Mac, use (in the calculation)???

Case ( Abs ( Get (SystemPlatform)) = 1; "imagemac:/"; "imagewin:/" )

[There was a similar discussion a little earlier today.]

If users are using Insert, then it's more difficult. Because you have to let them Insert on either platform, but produce a path that works for everyone.

I came up with kind of wacky idea, but it seems to work. Which is to let them insert into a regular container field. Then get the path using GetAsText (container). Then write a calculation for a 2nd container field to display the picture. (The 2 container fields can be on top of each other, with the calculation on top; because it is not enterable.)

Here is an example file, which worked for me, running my Mac, then running Windows in Parallels Desktop. It makes an attempt to use the Last() drive for each platform. Otherwise you have to enter the drive the 1st time for the other platform.

I did this example file with various levels of calculations or auto-enter by calculation for the fields; either works. This version is about half and half. You can mess with it :)-]

RemoteImage_MacPC_Clone.fp7.zip

Edited by Guest

  • Author

Killer! I've downloaded your script and will look at it when I get a minute. I didn't know there was a script to reveal the path. Placing a link and then seeing what the computer want's to call it. Sort of like a sting operation isn't it.

  • 1 month later...
  • Newbies

Hey Fenton,

I am trying to utilize your system and am coming up with certain issues. I rewrote the script to use my image container. The 1st attachment is the image when entered with a PC but viewed on a Mac. I can not see the image reference. The second image is when entered on my Mac, I can access it on my MAC. The Path comes up differently from the two approaches as shown in the two images. Do you know where I am going wrong, or any insights? When entered on a Mac I get the same problem with the PC.

Rob

Picture_1.png

Picture_2.png

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.