> -----Original Message-----
> From: Jerry Johnson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 14, 2008 11:13 AM
> To: CF-Community
> Subject: Javascript/CF question
> 
> Is there a way to have coldfusion somehow render a section of
> javascript
> code, and save the resulting content?
> 
> I have an html page that has some javascript pulling in content (text
> ad)
> 
> In coldfusion, can i somehow get that page to render as it would in a
> browser, and save the resulting content to a file or variable?

I'm not sure of a way (the key here, I believe, is not that you want CF to
not just generate the script but actually to RUN it).

You'll almost definitely need to interact with the desktop to do this.  I
know that IE is accessible as an activeX/com object - you should be able to
create a small JS or VB script that launches it to your page and captures a
screen print.  I'm sure something could be cobbled together.

This looks like it will do what you want and can be scripted for use in CF:

http://www.polestarsoft.com/htmlcapture/

It's not free but neither does it seem unreasonable - it might be a bargain
compared to building it yourself.

Jim Davis


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:260119
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to