Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/14/2024 in all areas

  1. Updated to version The beauty - magic of math Vol. 1 - 23 build 2024-01-14. See 1st post for download details.
    3 points
  2. See https://www.autoitscript.com/wiki/FAQ#How_can_I_test_if_checkbox_/_radiobutton_is_checked? In previous versions of AutoIt GUICtrlRead() returned more states (focused,disabled,...) so this approach with BitAnd() was the only one exactly correct. In latest versions of AutoIt GUICtrlRead() returns only checked/unchecked states (and not others) so now (if you don't use older AutoIt's version) you can use simpler GUICtrlRead($control) = $GUI_CHECKED Example of difference: In older AutoIt if chekbox was checked and also disabled then GUICtrlRead($control) = $GUI_CHECKED returns FALSE snippet from old AutoIt' helpfile for GUICtrlRead(): snippet from new AutoIt' helpfile for GUICtrlRead():
    3 points
  3. Sometimes multiple states are combined and you might need such approach but here it's not the case, someone was just overzealous with this example.
    1 point
×
×
  • Create New...