Opening HTML files for editing

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andrewferguson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 184
Joined: Wed Apr 10, 2013 5:09 pm

Opening HTML files for editing

Post by andrewferguson » Mon Sep 02, 2013 3:52 pm

Hi,
I am trying to open an HTML file, but whenever I open it the contents are converted into what you might get if it was in a browser, not the HTML code.
Does anyone know how to open an HTML file so that you get the HTML code?
Thanks,
Andrew

Klaus
Posts: 14212
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Opening HTML files for editing

Post by Klaus » Mon Sep 02, 2013 4:05 pm

Hi Andrew,

...
put url("file:/Users/klaus/Documents/WebDesign/kreatives2.html") into fld "the htmlsource"
...
Or just click the little folder icon on the "Contents" tab of the Inspector for that field! :D


Best

Klaus

Post Reply