PDA

View Full Version : Corey please help.


ianhull
08-13-2004, 05:41 PM
I noticed that you daid in this post that you use AMS to generate html pages and things. How do you do that?

http://www.indigorose.com/forums/showthread.php?t=2144&highlight=generate+html

I would love to know how to make a little html editer.

Thanks

Ian

Corey
08-13-2004, 06:10 PM
Hi. I just use a TEXTFILE.WRITEFROMSTRING action but name the file .html instead of .txt. I had the HMTL code in a string with quotes, etc. escaped by backslashes, i.e.:

myCode = "<HTML><HEAD></HEAD><BODY><a href=\"http://www.indigorose.com\">Click Here</a></HTML>";

Hope that helps. :)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

ianhull
08-14-2004, 08:59 AM
yeah, thanks aloy Corey. Much aprreciated.

Regards
Ian

Corey
08-14-2004, 02:26 PM
No problem. :)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)