Jump to content

Idea

Active Members
  • Posts

    45
  • Joined

  • Last visited

Idea's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. u noobinator
  2. Since no one has replyed in two yaers: it is neccary to use $ when talking bout $variablesn
  3. I require more information. What is the controle you are using? What text is being selected? Where is it being selected? There is no general getselectedtext function that works for everything however there are specific solutions. Please reply with more detailed informations.
  4. Whoops! Did I just pull a JdeB?
  5. Remove the Sleep(1000). The variable names are very poor and what is all the 0x stuff in tParentTxt? Also your function depends on the number of children being in $arC[0] which is unexpected. I suggest passing a number that represents the amount of children rather then assuming that'll be in $arC[0]. [*][*][][][] - 2 stars out of five
  6. I'm also interested. It seems context menues will not trigger on controles. Is there a way to impliment a right click menu for a tree view?
  7. The actual code from my inital post is this: For $i = 1 to $tcitem[0] $IdofSelected = GUICtrlRead($treeview) $selText = GUICtrlRead($IdofSelected, 1) $selText = $selText[0] _GUICtrlTreeViewSelectItem($gui, $treeview, $tcitem[$i]) Sleep(1000) NextWhich can be shortened to the following as the first three lines in the for loop serve no purpose for this example. (it's been updated in the intial post): For $i = 1 to $tcitem[0] _GUICtrlTreeViewSelectItem($gui, $treeview, $tcitem[$i]) Sleep(1000) Next The code you have there will not pause after each selection which is vital if you actually want to see the selections happening in real time. To answer your question, I want to loop through them all constantly as it's part of a larger function that isn't working correctly due to this code not working. Are you able to fix my initial code or point me in the right direction as to why it is not working correctly? Thank you for your time and intrest in this problem.
  8. Valik and JdeB please make fools of yourself here
  9. Thanks for all the information. I'll be able to create what I need now.
  10. lookfar I just wanted to say that this program is exactly what AutoIt needs! Great job. I wish you and the others working on this project the best of luck.
  11. I'm fairly sure the only way to detect inactivity is to monitor keyboard and mouse events (C#) http://expertanswercenter.techtarget.com/e...i984317,00.html If there's a nicer way I'm also intrested in finding out! I did some searching and apparently monitoring window and controle changing can also work: (VB) http://support.microsoft.com/?id=128814
×
×
  • Create New...