[screenweaver] Hello World
Michael Stuhr
michael.stuhr at gmail.com
Fri Sep 16 12:29:27 PDT 2005
Edwin van Rijkom schrieb:
>The list-server ate it :( Uploaded it here:
>
While playing a little with F8 i tried to combine feautures of F8 with
SWOS, but was unlucky with F8 swfs (not compressed), only v6 swfs are
eaten ;-) ... maybe i didn't get it, but wasn't you saying anywhere,
that we could use 7 and 8 as well ? any way, i then tried the Screen
Capture DLL, but again with no luck. no pic taken, no callback called,
ugh! shouldn't they work as well ?
I i would help out if i could, but unfortunaltely i'm two lefthanded
;-), only some php and as1 1/2, well it might be the docs that are
wrong, here's my code:
path = swApplication.getPlayerPath();
file = path + "foo.jpg";
dll = path + "Screenweaver Screen Capture.dll"; // who decided THAT long
name ? :-)
args = {x:10, y:10, w:100, h:100, OutputFilePath:file};
//
callback = function (s) {
swDebug.trace('#'); // test mic test 1-2-3, colored USER lines would
be nice in the debugger ...
swDebug.trace(s);
}
swInterface.callDllMethod(dll, "CaptureDesktopFragment", args, callback,
this);
any help ?
micha
More information about the screenweaver
mailing list