Clouds Posted April 10, 2007 Posted April 10, 2007 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Ërthen there's this error:C:\Program Files\AutoIt3\Include\A3LWinAPI.au3 (1154) : ==> Variable must be of type "Object".: $tCursor.Size = $iCursor $tCursor^ ERRORI'm using AutoIt 3.2.2.0 and Au3Lib....anyone has a clue as what is wrong here?--Clouds®
BigDod Posted April 10, 2007 Posted April 10, 2007 Make sure that you are running the latest Beta and that the Auto3Lib includes are copied into the beta/includes folder. 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
Clouds Posted April 10, 2007 Author Posted April 10, 2007 Thanks! That was just it....works fine now... -- Clouds®
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now