Kyler Carlson Posted October 10, 2006 Share Posted October 10, 2006 k i plan on making my own remote desktop type thing with autoit but i'm having some issues. I basically want an image in the gui to constantly (every tenth of a second) refresh to a new screencapture of your desktop. Right now... well its horrible. For some reason... it constantly repeates the title of the window and slowly moves it down the screen (sorry, its hard to explain but if you try it, you'll see). It also flickers every time. Any help is appreciated. For anyone who doesn't have it, download lazycat's dll at http://www.autoitscript.com/forum/index.ph...ic=8377&hl= .$remote_user = @UserName GUICreate($remote_user,@DesktopWidth,@desktopheight,0,0) GUICtrlCreatePic (@UserName & ".jpg",0,0,@DesktopWidth,@DesktopHeight) GUISetState() While 1 GUICtrlDelete(3) GUICtrlCreatePic (@UserName & ".jpg",0,0,@DesktopWidth,@DesktopHeight) ;GUICtrlSetImage(3,@scriptdir & @UserName & ".jpg") sleep(100) DllCall("captdll.dll", "int", "CaptureScreen", "str", @UserName & ".jpg", "int", 85) WEnd ; Capture full screen ; Fist parameter - filename, last - jpeg quality. ;DllCall("captdll.dll", "int", "CaptureScreen", "str", @UserName & ".jpg", "int", 85)help appreciated, thanks Link to comment Share on other sites More sharing options...
Helge Posted October 10, 2006 Share Posted October 10, 2006 (edited) 1. Flickering : You're deleting the picture for then to recreate it. Use GUICtrlSetImage instead. 2. Repeating title : You're taking a picture of a picture of a picture.... duh ! Edited October 10, 2006 by Helge Link to comment Share on other sites More sharing options...
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