CMTaylor Posted October 22, 2008 Share Posted October 22, 2008 Some months ago I prototyped a Python interface to AutoItX but didn't finish it. At that time I thought I'd read some instructions somewhere about using GDI+ for doing screen captures, since AutoItX doesn't seem to support screen capture directly. I had to postpone work on it so I never did the screen capture implementation. Now I'm trying to extend and complete my prototype into a full Python front-end for AutoItX. I can't seem to find any documentation, help or examples of how to do screen captures with AutoItX. Any help, links or pointers on this topic would be greatly appreciated! Link to comment Share on other sites More sharing options...
wccppp Posted October 24, 2008 Share Posted October 24, 2008 What do you mean by "Python front-end for AutoItX"? Are you creating dialogs for user to call AutoItX functions? Sorry I don't have an answer to your question. Link to comment Share on other sites More sharing options...
trung0407 Posted October 28, 2008 Share Posted October 28, 2008 Not sure what u want but #Include <ScreenCapture.au3> _ScreenCapture_Capture([$sFileName = ""[, $iLeft = 0[, $iTop = 0[, $iRight = -1[, $iBottom = -1[, $fCursor = True]]]]]]) Require GDI+ Link to comment Share on other sites More sharing options...
cappy2112 Posted October 1, 2009 Share Posted October 1, 2009 Some months ago I prototyped a Python interface to AutoItX but didn't finish it. At that time I thought I'd read some instructions somewhere about using GDI+ for doing screen captures, since AutoItX doesn't seem to support screen capture directly. I had to postpone work on it so I never did the screen capture implementation.Now I'm trying to extend and complete my prototype into a full Python front-end for AutoItX. I can't seem to find any documentation, help or examples of how to do screen captures with AutoItX.Any help, links or pointers on this topic would be greatly appreciated!Python already has many GUI libraries available specifically for Python.If you want to do screen captures use the Python Imaging Library (PIL). It is has many graphics capabilites that you can't do or can't do easily withAutoIt. I did a screen capture with PIL using less than 10 lines of code. In reality, You only need two lines, the res was for saving the file to disk and some logic. 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