Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Tue Nov 29, 2022 12:46 am

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
Options:
BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Please click and drag the 2 correct statements to the right hand side.
Please click and drag the 2 correct statements to the right hand side.
Please select the options below to the correct list to avoid automated registrations.
Statements
2 correct statements
Elephants can fly
Fish can swim
Chickens can talk
Dogs have 4 legs
   

Topic review - Check coordinate color in window not screen
Author Message
  Post subject:  Re: Check coordinate color in window not screen  Reply with quote
The developer has a list of features that he wanted for updates. I'll point this out to him; see if he wants to add it.
Post Posted: Mon Jun 27, 2022 9:13 pm
  Post subject:  Re: Check coordinate color in window not screen  Reply with quote
Syrifina wrote:
Quote:
I have a question about the screendump command for "window.". Is it able to take a screenshot when the window in the background?
Don't think you can take a screendump for an individual window. However, you can freeze the screendump cache and use it while the window is minimized. But anytime you need to update it you will need to show the window...unless you use memory addresses like I suggested.

Quote:
also about sendkeys is it able to send keys when its in the background?
Yes, you can send keys to any window whether minimized or in the background.

Quote:
then it should be able to get coordinate color even for window that is not visible just like it is able to take a screenshot
As far as I know, only if you have froze screendump cache.


I've noticed that OBS and other recording software are able to record games even when they are in the background. That should mean that it is possible to at least capture games when they are in the background, is that something you would look into implementing into blueye macro? that would take this program into the next level.
Post Posted: Fri Jun 24, 2022 8:15 pm
  Post subject:  Re: Check coordinate color in window not screen  Reply with quote
Quote:
I have a question about the screendump command for "window.". Is it able to take a screenshot when the window in the background?
Don't think you can take a screendump for an individual window. However, you can freeze the screendump cache and use it while the window is minimized. But anytime you need to update it you will need to show the window...unless you use memory addresses like I suggested.

Quote:
also about sendkeys is it able to send keys when its in the background?
Yes, you can send keys to any window whether minimized or in the background.

Quote:
then it should be able to get coordinate color even for window that is not visible just like it is able to take a screenshot
As far as I know, only if you have froze screendump cache.
Post Posted: Wed May 04, 2022 11:34 pm
  Post subject:  Re: Check coordinate color in window not screen  Reply with quote
Syrifina wrote:
To check a color coordinate, pixel pattern, or image it does need to be visible. You can click on a location using send keys to windows but not to check.

If you need to check a minimized window you should use memory addresses instead. Use a program like cheat engine to get the memory addresses. There's instructions/criteria in BEM to use the addresses once you find them (to do the checks via the memory addresses instead).


I have a question about the screendump command for "window.". Is it able to take a screenshot when the window in the background? also about sendkeys is it able to send keys when its in the background?

If the answer is yes for the first one then it should be able to get coordinate color even for window that is not visible just like it is able to take a screenshot
Post Posted: Wed May 04, 2022 11:15 am
  Post subject:  Re: Check coordinate color in window not screen  Reply with quote
To check a color coordinate, pixel pattern, or image it does need to be visible. You can click on a location using send keys to windows but not to check.

If you need to check a minimized window you should use memory addresses instead. Use a program like cheat engine to get the memory addresses. There's instructions/criteria in BEM to use the addresses once you find them (to do the checks via the memory addresses instead).
Post Posted: Wed May 04, 2022 12:21 am
  Post subject:  Re: Check coordinate color in window not screen  Reply with quote
Syrifina wrote:
There are options for that. Relative coordinates are limited to the window and absolute coordinates are based on the entire screen. So you can use relative coordinates for specific windows.

For example, if you wanted to click on a coordinate relative to window you would look under mouse and use one of the "relative" instructions (found here: https://www.blueeye-macro.com/viewforum.php?f=168):
Mouse.Click at coordinate relative to window("250", "500", "left", "nameOfWindow", "yes")

If you need help calculating relative or absolute coordinates, look under "window". You can find instructions like: Window.Calculate relative coordinates("Untitled - Notepad", "yes", "300", "300", "varForX", "varForY")


Yes but I believe this only for the x and y coordinate. My question is, is it possible to test a coordinate color of a window that is in the background? For example I have the game open in the back ground and I am browsing in chrome maximised, is that possible? or does the coordinate next to be visible?
Post Posted: Tue May 03, 2022 3:35 pm
  Post subject:  Re: Check coordinate color in window not screen  Reply with quote
There are options for that. Relative coordinates are limited to the window and absolute coordinates are based on the entire screen. So you can use relative coordinates for specific windows.

For example, if you wanted to click on a coordinate relative to window you would look under mouse and use one of the "relative" instructions (found here: viewforum.php?f=168):
Mouse.Click at coordinate relative to window("250", "500", "left", "nameOfWindow", "yes")

If you need help calculating relative or absolute coordinates, look under "window". You can find instructions like: Window.Calculate relative coordinates("Untitled - Notepad", "yes", "300", "300", "varForX", "varForY")
Post Posted: Tue May 03, 2022 2:46 pm
  Post subject:  Check coordinate color in window not screen  Reply with quote
I checked the documentation and you can get screen dump (screenshot of a window) saved in your pc and I guess that is possible even if the window is the background. That should make it possible to get any coordinate color in that window as well but I don't see the option in the documention. Is that possible?
Post Posted: Tue May 03, 2022 1:29 pm

All times are UTC


Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group