Snapshot of a desktop browser
Posted: Sun Jan 18, 2015 7:04 pm
Hi,
Wondering if someone can help me here please ?
I'm trying to take a snapshot of a browser window. On mobile I use the format :
and
which works perfectly for anything WITHIN my app - both mobile (and desktop in fact - as long as the browser control is within my app).
However, on Desktop platforms I use the
code line to fire up the default browser...
Is there a way to grab a screenshot of the contents of this browser window ? I have no idea how to reference it....
Any thoughts, or maybe, there's a better way / I shouldn't be using an external browser at all... ? ? ? I do hope someone can give me a kick in the right direction please.
Thanks a mil - as always !
Regards,
Trax
Wondering if someone can help me here please ?
I'm trying to take a snapshot of a browser window. On mobile I use the format :
Code: Select all
. . .
mobileControlSet nBID, "rect", the rect of image "imgBrowser" of group "grpBrowser"
mobileControlSet nBID, "url", sURL
. . .
Code: Select all
export snapshot from rect sTheRectOfTheBrowserImageControl to file (sFilePath & "/" & sFileName) as jpeg
However, on Desktop platforms I use the
Code: Select all
launch url sURL
Is there a way to grab a screenshot of the contents of this browser window ? I have no idea how to reference it....
Any thoughts, or maybe, there's a better way / I shouldn't be using an external browser at all... ? ? ? I do hope someone can give me a kick in the right direction please.
Thanks a mil - as always !
Regards,
Trax