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 »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Opening HTML files for editing

Post by Klaus »

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