Sign in to follow this  
Followers 0
Clouds

Error when using ScreenCap functions...

3 posts in this topic

Aloha all!

I'm a little confused here....what I'm trying to do is capture part of the screen and save it to a file (later there's some more to come, but first things first ;-))

This is the code I have (and this is all of it):

#include <A3LScreenCap.au3>
$sFileName = "C:\ShootMe.bmp"
_ScreenCap_Capture($sFileName,1,1,50,50,false)oÝ÷ Ùh^»§)à~º&IȶØb±ê뢷(è]4ÓK)j{-ÊWoÝ÷ Ù­jÂ'yçm¢Æ¯zØ^~)^"ÚâyÛaÆ®¶­sb6æ6ÇVFRfÇC´4Å67&VVä6æS2fwC°¢b33c·4fÆTæÖRÒgV÷C´3¢b3#µ6ö÷DÖRæ&×gV÷C°¢b33c¶&×æFÆRÒõ67&VVä6ô6GW&RgV÷C²gV÷C²ÃÃÃSÃSÆfÇ6R¥õ67&VVä6õ6fT&FÖb33c·4fÆTæÖRÂb33c¶&×æFÆRoÝ÷ Ø­¶§¶«{l¶®º+j¢Ê%¢ºM4ÒÊZËr

then there's this error:

C:\Program Files\AutoIt3\Include\A3LWinAPI.au3 (1154) : ==> Variable must be of type "Object".:

$tCursor.Size = $iCursor

$tCursor^ ERROR

I'm using AutoIt 3.2.2.0 and Au3Lib....anyone has a clue as what is wrong here?

--

Clouds®

Share this post


Link to post
Share on other sites



Make sure that you are running the latest Beta and that the Auto3Lib includes are copied into the beta/includes folder.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

Thanks!

That was just it....works fine now...

--

Clouds®

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0