APost Posted September 24, 2007 Posted September 24, 2007 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????
Fenton Posted September 24, 2007 Posted September 24, 2007 (edited) 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 September 24, 2007 by Guest
APost Posted September 28, 2007 Author Posted September 28, 2007 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.
Newbies rongobong77 Posted November 19, 2007 Newbies Posted November 19, 2007 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
Recommended Posts
This topic is 6215 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now