Posted: Tue Apr 21, 2020 9:11 pm Post subject: site viewing in form??
I Want My Trainer To Display A certain website using CEImage
example:
--------------------------------------------------------------------------------
z = CreateForm()
z.width = 500
z.height = 500
1. Image size 300 x 300 is too small for a webpage as an image.
2. To get specific image (with url image link) is easy
3. But if you plan to view webpage(s) as an image then you need HTML renderer app.
--------------------------------------------------------------------------------
DefaultIECapt = [[
--IECapt --url=http://www.example.org/ --out=localfile.png
--help Print this help page and exit
--url=<url> The URL to capture (http:...|file:...|...)
--out=<path> The target file (.png|bmp|jpeg|emf|...)
--min-width=<int> Minimal width for the image (default: 800)
--max-wait=<ms> Don't wait more than (default: 90000, inf: 0)
--delay=<ms> Wait after loading (e.g. for Flash; default: 0)
--silent Whether to surpress some dialogs
]]
--------------------------------------------------------------------------------
local p_path = TrainerOrigin or getMainForm()
os.remove(p_path.."\\IECapt.exe")
os.remove(p_path.."\\content.jpg")
function getHTML()
local textURL = txtURL.Text
if textURL == "" or string.sub(textURL,1,4) ~= "http" then
showMessage("Invalid URL. Please typing a proper URL")
return
end
function clearance()
p_path = TrainerOrigin or getMainForm()
os.remove(p_path.."\\IECapt.exe")
os.remove(p_path.."\\content.jpg")
closeCE()
return caFree
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum