Jump to content

Schoening

Active Members
  • Posts

    110
  • Joined

  • Last visited

Recent Profile Visitors

496 profile views

Schoening's Achievements

Adventurer

Adventurer (3/7)

4

Reputation

  1. It works! Sir you are a gentlemen and a scholar! Thanks to both of you. It all works perfectly now
  2. Thanks Malkey It works. But sadly it relies on putting the window in the front. I was hoping to take a screenshot in the background. Similar to streaming video. I guess I look into Python and other options
  3. Thanks for the help I am on Windows 8.1 But your example did get me slightly further. The screenshot now takes an image of whatever is at the position of the notepad window. So basically like a _ScreenCapture_Capture with set position.
  4. I am trying to take a screenshot of a window that is not in the foreground. I read the help file and I searched the forum. But somehow I just can't get it to work... I tried multiple versions. Noone work. They simply capture my current screen OR capture a small black rectangle. #include <ScreenCapture.au3> Main() Func Main() Local $handle $handle = WinGetHandle("Untitled - Notepad"); ; Capture window _ScreenCapture_CaptureWnd(@MyDocumentsDir & "\test.jpg", $handle); ShellExecute(@MyDocumentsDir & "\test.jpg") EndFunc #include <ScreenCapture.au3> Main() Func Main() Local $handle $handle = 0x00AC05BA ; Capture window _ScreenCapture_CaptureWnd(@MyDocumentsDir & "\test.jpg", $handle); ShellExecute(@MyDocumentsDir & "\test.jpg") EndFunc Any Ideas why this is not working? I am trying to build a browser based streaming service. So it would be great if I could capture windows that are not in the front.
  5. Thx you 2 ^^ I have another little question.. Do you know fastfind.dll ? For some reason i keep crashing it when it searches to often..
  6. I want to do several Pixelsearches on my Screen to find out if i can find the Chrome Browser ^^ Instead of one big search on the screen i run $pixesearch1,$pixesearch2,$pixesearch3 etc. on a sliced up Screen. I have done something similar before.. But i wanted to ask if i should use Switch or Select? Do they only run ONE of their cases? or run as many cases that are True?
  7. This question is for WinGetClientSize and multiple screen sizes. When using WinGetClientSize in a Function, how to i then go on and set pixel search areas for example? Let's say i want to find the middle of a window; is there a %percentage syntax like in HTML ? Same problem goes for PixelCoordMode i think. It appears that i have to know every screen size usable beforehand.
  8. Oh indeed Well by now I found this topic so it can't be all illegal
  9. Wow.. It's been a long time since I last used AutoIT ^^ I am currently making games with Construct2 and learning to set up multiplayer games. Since I kinda find AutoIT similar to C2 (Easy use and single threaded(I think C2 is single threaded...)) I wondered if a login or database check for "is online" is possible for autoit? And if it is reasonable to make it with a single threaded application. And if this is one of the things that are taboo to talk about!
  10. Cool ^^ ill try that 2. Bit busy because i have to create a freaking game from scratch in one week ^^ Ill let you know when i have tried this
  11. thx ill try it
  12. Yeah but how can i track the mouses location? i gotta give the script some input to set the arrays to mouse.X and mouse.Y
  13. Yeah i know MouseClick I have no problem once i got the Arrays Defined. But i want to define a array on Mouseclick to be X,Y of the Mouseclicks location.
×
×
  • Create New...