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

  • SEARCH
  • Home
  • 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 3220230
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:44:15+00:00 2026-05-17T15:44:15+00:00

I want to do automatic installation by AutoIt. I cant activate and choose elements

  • 0

I want to do automatic installation by AutoIt.
I cant activate and choose elements menu on the “select features” step.
I can choose any element in the “tree”. For it I use the function

ControlTreeView($windowId, "", $h_tree, "Select", "#2")

How to activate and choose the elements menu in ControlTreeView?

alt text

  • 1 1 Answer
  • 0 Views
  • 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-17T15:44:15+00:00Added an answer on May 17, 2026 at 3:44 pm

    You can see answer on the question on the site http://forum.oszone.net/thread-146460.html

    #include <GuiMenu.au3>
    #include <GuiTreeView.au3>
    #Include <SendMessage.au3>
    #Include <WindowsConstants.au3>
    
    $WinTitle= "1С:Предприятие 8.1"
    $WinText = "Выберите компоненты программы"
    
    WinWait($WinTitle, $WinText)
    ; ищем элемент окна и последовательно нужный пункт списка
    $hDTCtrl = ControlGetHandle($WinTitle, "", "SysTreeView321")
    $hDTItem = _GUICtrlTreeView_FindItem($hDTCtrl, "Дополнительные интерфейсы")
    $hDTIt_1 = _GUICtrlTreeView_FindItem($hDTCtrl, "Казахский", False, $hDTItem)
    ; активируем окно
    WinActivate($WinTitle, $WinText)
    WinWaitActive($WinTitle, $WinText)
    ; переходим к нужному пункту списка
    _GUICtrlTreeView_SelectItem($hDTCtrl, $hDTIt_1, $TVGN_FIRSTVISIBLE)
    _GUICtrlTreeView_ClickItem ($hDTCtrl, $hDTIt_1, "left", True)
    ; вызываем контекстное меню
    $aRect = _GUICtrlTreeView_DisplayRect($hDTCtrl, $hDTIt_1, True)
    ControlClick($WinTitle, $WinText, $hDTCtrl, "left", 1, $aRect[0]-10, $aRect[1]+5)
    WinWait("[CLASS:#32768]")
    ; выбираем нужный пункт контекстного меню
    $hWnd  = WinGetHandle("[CLASS:#32768]")
    $hMenu = _SendMessage($hWnd, $MN_GETHMENU, 0, 0)
    $aRect = _GUICtrlMenu_GetItemRect($hWnd, $hMenu, 0)
    MouseClick("left", $aRect[0]+20, $aRect[1]+15, 1, 1)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write a script in AutoIt, which can take automatic input from
Like here: Automatic authentication for Android WiFi Direct I want to create a mobile
I want to change synchronously change in email application then automatic change in server
i'm placing a automatic redirect on my Classic ASP page (vb). i want to
I have stored procedure (unorganized - not properly outlined) I want automatic outlining in
Is there a way to force '-m64' not overriding CXXFLAGS/CFLAGS. I want automatic x64
I have sql server script and i want to automatic run it on the
Is it possible to set CSS for disabled textboxes? I don't want the automatic
I want to automatize the installation of some software on a new host for
I want to add automatic area highlighting to image maps on my webpage. I've

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.