I am using the Screen Pixel option available in RoboTask 6.0, however it doesn't save the hecadecimal code into my variable. I created a variable called {SCREEN_COLOUR1}, and selected the coordinates I want to capture, but when I use the "Send text" function to write out my variable contents, it simply outputs the default value of 0, and not the hexadecimal code.
I have attached a screenshot of my Screen Pixel window. Please help.
Screen Pixel not working --- Help!
Screen Pixel not working --- Help!
- Attachments
-
- Screen Pixel.jpg (23.85 KiB) Viewed 15790 times
Re: Screen Pixel not working --- Help!
UPDATE:
I realized that when I remove the { } from the variable's name, the task executes properly. Which is odd.
I realized that when I remove the { } from the variable's name, the task executes properly. Which is odd.
Re: Screen Pixel not working --- Help!
Yes, you should use variable name only (without braces)
Oleg Yershov
Re: Screen Pixel not working --- Help!
You should use braces "{}" when you need to put variable value into the string.
Braces tells to RoboTask that it's necessary to replace this substring with value of variable.
This rule works in all actions
Braces tells to RoboTask that it's necessary to replace this substring with value of variable.
This rule works in all actions
Oleg Yershov