Jump to content

Qvintus

Active Members
  • Posts

    25
  • Joined

  • Last visited

Qvintus's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. My apologies I hadn't thought of this, I will keep it in mind for later projects. I appreciate you mentioning it so it won't happen again. I will pay better attention to what I read in the help file from now on
  2. Hello there AutoIT'ers I've tried to search this problem but can't seem to find any answer to it. My current "custom" gui seem to be ignoring mouse click or something. #include <WindowsConstants.au3> Local $IP, $PORT Func _InputBox() $input = GUICreate("Input Box IP", 200 , 120, -1, -1, BitOR($WS_POPUP, $WS_SYSMENU, $WS_MINIMIZEBOX)) ;#### Black background #### GUICtrlCreateGraphic(0,0, 200 , 120) GUICtrlSetBkColor(-1, 0x000000) ;#### Slighly smaller grey background #### GUICtrlCreateGraphic(+1,+1, 200 -2, 120-2) GUICtrlSetBkColor(-1, 0xe2e2e2) ;#### Header border #### GUICtrlCreateGraphic(1,1, 200 -2, 21) GUICtrlSetBkColor(-1, 0x000000) ;#### Header ### GUICtrlCreateGraphic(1,1, 200 -2, 20) GUICtrlSetBkColor(-1,0xededed) GUISetFont(8, 550, 0, 'Tahoma') GUICtrlCreateLabel("Input Server Info Please - F2 to Exit", 5,4, -1, 15) GUICtrlSetColor(-1, 0xff8400) GUICtrlSetBkColor(-1, 0xededed) ;#### IP Label #### GUICtrlCreateLabel("IP: ", 5, 25, -1, 15) GUICtrlSetFont(-1, Default, 600) GUICtrlSetBkColor(-1, 0xe2e2e2) ;#### IP Input Box #### $IP = GUICtrlCreateInput(@IPAddress1, 5, 40, 150, 20) GUICtrlSetBkColor(-1, 0xececec) ;#### Port Label #### GUICtrlCreateLabel("Port: ", 5, 65, -1, 15) GUICtrlSetFont(-1, Default, 600) GUICtrlSetBkColor(-1, 0xe2e2e2) ;#### Port Input Box #### $PORT = GUICtrlCreateInput("1337", 5, 80, 150, 20) GUICtrlSetBkColor(-1, 0xececec) GUISetState() EndFunc When ever I want to click and edit any of these input fields nothing happens, and I will have to tab my way through it. Anyone got an idea on how to fix this rather annoying problem? Edit: A alternative method to fix this is making the input field before creating any Graphic boxes. If anyone finds another method please let me know
  3. Sadly no info I didn't have already I appreciate your help greatly though, you've given me a great amount of ideas in getting info for future projects ^^ Anything else is welcome ofc! xD Edit: Info I got out of it even though I doubt it will provide any useful info
  4. I see... Guess I'll be needing to get hardcore to sort this out then?
  5. Thanks a lot for the answer! Sadly that return nothin' even though it would seem a button + more is part of that object. I've tried $hControl = ControlGetHandle("[CLASS:TV_ControlWin]", "", "TVScrollWin1") ConsoleWrite(WinGetClassList($hControl) & @CRLF) $hControl = ControlGetHandle("[CLASS:TV_ControlWin]", "", "[CLASS:TVScrollWin;INSTANCE:1]") ConsoleWrite(WinGetClassList($hControl) & @CRLF) However for some reason if I use this: $hControl = ControlGetHandle("[CLASS:TV_ControlWin]", "", "[CLASS:TVScrollWin1]") ConsoleWrite(WinGetClassList($hControl) & @CRLF) It returns this list: Tried getting info from all Edit instances, however nothin' of use turned up.
  6. *bump* nobody can guide me in the right direction?
  7. It would seem to me some AutoIT script is trying to run in your background, and it has some errors that for some reason gets triggered when you open up programs... Have you tried to look through your Process list and check if anything is running?
  8. Any way you can screenshot the error and post it?
  9. Hello AutoIT'ers Me and my friend are using AutoIT as for controlling our Laptop connected up to a TV through Teamviewer. So far I've made my script hide/unhide and start a meeting if none is active. However we've run into a problem when we wanted to have the script let us give control rights. I know how to send the ControlClick command but problem is hitting the right person.... I've tried to use ControlListView and tried to find text to that particular class when the meeting is ongoing, however I just can't seem to extract the right information. Anyone know a good way to some how extract the list of Participants in Teamviewer Meeting? It would be much appreciated! EDIT: Some screenshot of the scripts so you might get a general understanding ControlInfo from Participants box: Best Regards Qvintus
  10. Thx for your replys but I ended out using the WinAPIEx.au3 _WinAPI_EnumProcessWindows(PID) Post I found it in:
  11. I already know how to get PID, I need to use the PID to somehow get the hwnd. If I can use WinList for that then please explain a little more of what parameter it should be in. Also if I should use "[PID:" & $pid &"]" or something wiered like that?
  12. Hello I was wondering if it's possible to get the hwnd using PID? Currently I found: WinList - Though this requires the window name, wich could be the same for 2 instances in some situations. ProcessList - Can return PID but not hwnd WinGetHandle - Requires window name again Anything I have overlooked for now? Or is ther some sort of bypass somewhere? Basicly I want to finde the hwnd using a ProcessList where 2 windows mostly will have the same name, meaning I can't finde it using the window name. Any ideas?
  13. Hello I'm trying to let a autoIt script read whenever someone has buffs on #include "NomadMemory.au3" Global $pid = _MemoryOpen("TRose.exe") if @error Then MsgBox(0, "", "Error couldn't Open application") Exit EndIf While 1 $check = _MemoryRead(0x0079802C, $pid, 'dword') if @error Then MsgBox(0, "", "Error couldn't Read Address") Exit EndIf MsgBox(0, "", $check) Exit WEnd This is just a sample script, thou it ALWAYS returns 0 either way I can see in CE that it's suppost to say 1 Oh woaw this fixed it: Local $ProcessID = ProcessExists('TRose.exe') SetPrivilege("SeDebugPrivilege", 1) Global $pid = _MemoryOpen($ProcessID)
  14. StringInStr(WhereToSearch, WhatToSearchFor)
×
×
  • Create New...