Jump to content



Photo

how to select from SysListView32


  • Please log in to reply
6 replies to this topic

#1 krboun

krboun

    Seeker

  • Active Members
  • 23 posts

Posted 19 January 2012 - 10:18 AM

hello
i can not find any function to select items from SysListView32
i think i need something like:
$handle=ControlGetHandle("","","[ID:1002]") _GUICtrlComboBox_SelectString($handle,"text") ;this of for combobox, i need similar for syslistview


Posted Image
also, is it possible to select multiple rows??(i havent tryed yet) the program i try to control allows that (i havent tryed yet)
thank you





#2 Xenobiologist

Xenobiologist

    Xx Code~Mega xX

  • MVPs
  • 4,729 posts

Posted 19 January 2012 - 10:53 AM

Try ControlSend($title, '', 'SysTabControl321', '^+{TAB}')
or ControlCommand ....
Scripts & functions Organize Includes Let Scite organize the include files *newYahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication)_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

#3 krboun

krboun

    Seeker

  • Active Members
  • 23 posts

Posted 19 January 2012 - 02:57 PM

with ControlSend($title, '', 'SysTabControl321', '^+{TAB}') i can go to syslistview, but i need select items according string

#4 Xenobiologist

Xenobiologist

    Xx Code~Mega xX

  • MVPs
  • 4,729 posts

Posted 19 January 2012 - 04:57 PM

Can I test it? I don't know exactly what you want
Try this ControlCommand ...
"CurrentTab", "" Returns the current Tab shown of a SysTabControl32
"TabRight", "" Moves to the next tab to the right of a SysTabControl32
"TabLeft", "" Moves to the next tab to the left of a SysTabControl32
Scripts & functions Organize Includes Let Scite organize the include files *newYahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication)_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

#5 krboun

krboun

    Seeker

  • Active Members
  • 23 posts

Posted 20 January 2012 - 02:06 PM

i have this:
Posted Image
and i need to make this:
Posted Image
selection is made my mouse clicking and ctr key holded down, but selection only one item would be enough
i need fuction to find text "barb" and mark it (only one first selection is OK)

#6 krboun

krboun

    Seeker

  • Active Members
  • 23 posts

Posted 22 January 2012 - 04:13 PM

nobody can help plaese?

#7 jdelaney

jdelaney

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 972 posts

Posted 22 February 2012 - 11:25 PM

#include <GuiListView.au3>

Look into the help file for all the _GUICtrlListView_* functions. They should have what you need to loop through, and select mutliple values with a specific text.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users