Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 880461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:06:08+00:00 2026-05-15T12:06:08+00:00

I am writing a Autohotkey script that need to ‘check’ and ‘uncheck’ checkboxes defined

  • 0

I am writing a Autohotkey script that need to ‘check’ and ‘uncheck’ checkboxes defined inside a listViewControl.

I think the way to do it is using a SendMessage to the listview (or maybe to the listview item itself?) using the LVM_SETITEMSTATE parameter
but i don’t know the exact format…anyone have any idea?

SendMessage, LVM_SETITEMSTATE, 1000, SysListView321

i think that 1000 means that the checkbox will be checked and 2000 means that he will be unchecked.

do i need to do a loop for each ListViewItem?

I had also tried to use the

 LV_Modify(0, "+Checked")

But it doesnt seems to work also.

To emphasize the problem, I am not creating my own List View, i’m trying to manipulate the state of an exisiting application ListView….
(i’m running an installer and using the AutoHotKey script i press the next buttons on each of the screens, but in this screen i need to first select all the components and only then move to the next screen)
Any AutoHotKey Experts in here?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:06:09+00:00Added an answer on May 15, 2026 at 12:06 pm

    One way of solving this issue ( a non elegant way) is :

    ControlGet, List, List,, SysListView321,,,,
    {    
        Loop, Parse, List, `n  ; Rows are delimited by linefeeds (`n).
        {           
            RowNumber := A_Index
            Loop, Parse, A_LoopField, %A_Tab%   ; Fields (columns) in each row are delimited by tabs (A_Tab).
            {                               
                if A_Index = 3 
                {               
                    IfInString, HaystackTemp, %A_LoopField%
                    {                       
                        ControlSend, SysListview321, {Space}                        
                    }
                }
            }
            ControlSend, SysListview321, {Down}                         
        }
    }
    

    Do you know a more elegant way?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a script in AutoHotKey, and I've stumbled upon an impasse. Right now
Writing my first silverlight application. I need to deliver some bitmap that the customer
Writing a JSP page, what exactly does the <c:out> do? I've noticed that the
Writing my first Linq application, and I'm trying to find the best way to
Writing documentation in html requires some code examples. What to do with characters that
Writing code in PHP, how can I ensure the require_once path of a script
Writing a sound control applet with GUI that communicates with a device via USB.
Writing an app that will include the ability to decompress zip and rar files.
Writing a SQL query that should return the average charges for a preceding 91
Writing a function to generate and push some random data inside of the unknown

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.