Use the appropriate "Ans" in a program in HOME or CAS
|
11-16-2015, 03:17 PM
Post: #3
|
|||
|
|||
RE: Use the appropriate "Ans" in a program in HOME or CAS
(11-16-2015 06:33 AM)cyrille de brébisson Wrote: ... Well... I might have found a way to doit. You might not like it but me, I will use it. It seems to basically works from the last thirty minutes tests I've done. Here is the trick: when we're in CAS, in the top left of the screen it shows in WHITE the word "CAS". So I though about reading back the pixel at coordinates (15,13) which is in the "C" of CAS. If this pixel is WHITE, then we're in CAS. If this pixel is not WHITE then we're not in CAS. So by having a routine checking the color of that pixel I can determine if I am in CAS or not, and so, take from the start the appropriate answer (CAS.Ans or Ans). I tested it with various settings like both color theme "dark" and "light", different color for highlight menu, the three font size small, medium and large, etc. It seems to work in every situations. Ha! Ha! At least, it's better than having nothing. Sounds good? :-) Dennis. Code:
Denis Bisson Little electronic technician loving calculators |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Use the appropriate "Ans" in a program in HOME or CAS - explorerchess - 11-14-2015, 05:08 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - cyrille de brébisson - 11-16-2015, 06:33 AM
RE: Use the appropriate "Ans" in a program in HOME or CAS - explorerchess - 11-16-2015 03:17 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - Marcus von Cube - 11-16-2015, 06:07 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - explorerchess - 11-16-2015, 06:24 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - Tyann - 11-16-2015, 08:17 PM
RE: Use the appropriate "Ans" in a program in HOME or CAS - Vtile - 11-17-2015, 03:05 AM
RE: Use the appropriate "Ans" in a program in HOME or CAS - explorerchess - 11-17-2015, 03:21 AM
RE: Use the appropriate "Ans" in a program in HOME or CAS - cyrille de brébisson - 11-17-2015, 06:27 AM
|
User(s) browsing this thread: 2 Guest(s)