Jump to content

nefas

Members
  • Posts

    5
  • Joined

  • Last visited

nefas's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Yes, please update. THX
  2. Hi, i got an problem while adding an Context menu in a Richedit. I use this UDF Richedit by c.haslam The hole function shout be: - Click with the right mouse on a word in RichEdit - set the word selected and open the context menu At the point I select the word by pressing the right mouse button, but no menu! maybe someone can help me. thx nefas
  3. Hi, i'f got an problem with en LDAP querry. So, if i try to search for an user an i'll give up the lastname per variable, its return an error sample: Dim $nefOU = 'OU=###,DC=###,DC=###,DC=###';Wegen betriebsinternen verändert Dim $asUser Dim $UserLastName Func Search_LDAP() $UserLastName = '"(name='&GUICtrlRead($txtUser)&'*)"' _ADGetObjectsInOU($asUser, $nefOU, $UserLastName,2,"DisplayName,samAccountName,co,l,telephonenumber,physicalDeliveryOfficeName,department,mail,globa l-ExtensionAttribute1,global-ExtensionAttribute2,distinguishedName,homeDirectory,scriptPath","DisplayName") _ArrayDisplay($asUser) EndFunc an the error is: ==> The requested action with this object has failed.: $objRecordSet = $objCommand.Execute $objRecordSet = $objCommand.Execute^ ERROR thx for ur help. P.S. SOLVED! $UserLastName = GUICtrlRead($txtUser)&"*" _ADGetObjectsInOU($asUser, $nefOU, "(&(Name="&$UserLastName&"))", 2, "DisplayName,samAccountName,co,l,telephonenumber,physicalDeliveryOfficeName,department,mail,globa l-ExtensionAttribute1,global-ExtensionAttribute2,distinguishedName,homeDirectory,scriptPath","DisplayName") ps: sorry for my english, i'm a german boy
  4. thx, but this is exactly what i don't want to use, the sleep function. mmmm when i use the window mode every thinks worls fine, just in fullscreen its dosen't work. because pixelsearch or pixelgetcolor gets allways "0"
  5. Hi, at first, sorry for my english i'm from germany So, i'ff tray to write an login script for wow, but not one of these that use an sleep. i use the pixelsearch function to check the screen. if the loginscreen is ready so i'll send the user and the pass. in windowed every thinks works fine, but in fullscreen... every time i get the pixel color "0" any idea? system is Vista autoit vs. 3.3.0.0 Func _Login() $WoWUser = _GUICtrlComboBox_GetEditText($ComboAccount) $WoWPassword = GUICtrlRead($txtPass) WinWaitActive("World of Warcraft") $xy = WinGetPos("World of Warcraft") $hWnd = WinGetHandle("World of Warcraft") Sleep(100) while 1 $Coordinaten = PixelSearch( $xy[0], $xy[1], $xy[2], $xy[3], 0xffc700,1,1,$hWnd) if Not @error Then ;Sleep(10000) ControlSend($hWnd, "", "",$WoWUser ) Sleep(100) ControlSend($hWnd, "", "", "{TAB}") Sleep(100) ControlSend($hWnd, "", "", $WoWPassword) Sleep(100) ControlSend($hWnd, "", "", "{ENTER}") Sleep(100) ExitLoop EndIf WEnd EndFunc thx for your help
×
×
  • Create New...