Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 3600 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

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

Posted

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.

Posted

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?

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.