July 15, 200619 yr Thanks spankalee. I found the problem. file: needs two forward slashes after it. I fixed the show code script and put a single forward slash after "file:" in the 5th line. Now the set field has "file:/" and it works fine when the render html button is hit. Darryl
July 15, 200619 yr Spankalee, Just a comment to your Get(DesktopPath) bug. How is it a bug? When I run get path to desktop in Applescript, I get alias "Macintosh HD:Users:DarrylW:Desktop:" which starts with Macintosh HD. I used this path for my path to the html and voila, it worked. DarrylW
July 15, 200619 yr AppleScript path's are MacOS 9 paths, to get the "correct" MacOs X path, use "posix path to destop folder". FileMaker's path references are still MacOS 9, colon substituted by slash. Due to this, FileMaker ist still (8.5v1) unable to work wih mounted Volumes ("Macintosh HD"), that share the same name. Quite a shame for an Apple-owned company....
July 15, 200619 yr I was disappointed too until I took the time to do some research on the various protocols that web viewers can use. There's more to web browsers than http and file! Go to this article: http://www.fmforums.com/forum/showtopic.php?tid/178637/
July 19, 200619 yr So did you get the web viewer to render the contents of a field without exporting? I'm exporting now (which is very little trouble), but I'd prefer the direct render from field contents. James www.james-mc.com www.BulletinInserts.org
Create an account or sign in to comment