eoneon123 Posted March 11, 2015 Posted March 11, 2015 I'm using FMP advanced 13.0v1 and I was wondering if there was a way to use a web viewer to display (and interact) with html files located on my computer rather than the web. I'm sort of new to some of this but it seems that when setting a custom web address that I'm unable to just set a path to an html file located in a folder on my computer. I've tried using this as a path (/Users/ComputerName/Desktop/folder/file.html) but the page just comes up blank. I'm sure this is a super basic question and I just need to be pointed in the right direction. Any ideas?
comment Posted March 11, 2015 Posted March 11, 2015 I've tried using this as a path (/Users/ComputerName/Desktop/folder/file.html) Why don't you simply drop the file into a browser's window and copy the URL from there. It will probably* be: file:///Users/ComputerName/Desktop/folder/file.html --- (*) P.S. Please update your profile to reflect your OS.
Lee Smith Posted March 11, 2015 Posted March 11, 2015 AND while your at it, Please change your profile to reflect FileMaker 13 as your version. Here is a quick link to make these changes. MY PROFILE.
eoneon123 Posted March 11, 2015 Author Posted March 11, 2015 Thank you, that did the trick. But while I'm at it, is there a way to open a text file from FMP? I know that I can save the file in a container field, but can I somehow open a text file (and somehow specify what text editor to open the file with) via a script from a FMP file?
comment Posted March 11, 2015 Posted March 11, 2015 But while I'm at it, is there a way to open a text file from FMP? I am afraid that's not clear enough. Is the text file in fact stored in a container field? If yes, is it 'as reference only' or embedded? If not, how will you know which text file to open? In any case, to open a file in an application other than the default one, you will have to use AppleScript.
eoneon123 Posted March 11, 2015 Author Posted March 11, 2015 I was just wondering if it was possible at all and the general direction to take. This gives me enough to go on to try and build it out. Thanks again.
Recommended Posts
This topic is 3600 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