Jump to content

Kris123

Active Members
  • Posts

    54
  • Joined

  • Last visited

Everything posted by Kris123

  1. Hi all, is there any way to monitor the bandwidth of a linux PC connected in LAN by using the "Lod3n's Bandwidth Monitor". Actually that uses winmgmts service, but is there anything for linux. Please help.
  2. Yes, but i don't want to create a huge application like wire shark, i just want to capture and analyze only the information i am interested in. Please help me how to proceed.
  3. Hi all, I am using Winpcap UDF and capturing the packets. I am looking for how to analyze the packets from the received UDP packets and there by i want to calculate bandwidth and extract some useful information for my project requirement.(The data will be in RTP) Please help on this.
  4. Hi, Thanks for the reply. Here i am creating objects in one file and i want to use those objects in another file. For example, I am creating the bellow objects in my header file Include.au3 Global $oConn = ObjCreate("ADODB.Connection") Global $oRS = ObjCreate("ADODB.Recordset") In my main script, i have created a function to retrieve the database contents, so iam using in the following way. Func _postgres_query($Query, $cloumnname, $Data) $oConn1 = ObjGet("", "ADODB.Connection") $oRS1 = ObjGet("ADODB.Recordset", "") $db_Settings = "DRIVER={PostgreSQL Unicode};DATABASE=test;" & _ "SERVER=localhost;PORT=5432;Uid=postgres;" & _ "Pwd=postgres;" & _ "A0=0;A1=6.4;A2=0;A3=0;A4=0;A5=0;A6=;A7=100;A8=4096;A9=0;" & _ "B0=254;B1=8190;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_" $oConn1.Open($db_Settings) $oRS1.Open($Query, $oConn1, 1, 3) $oRS1.MoveFirst For $iIndex = 1 To $oRS1.RecordCount $Value = $oRS1.Fields($cloumnname).value IF($Value = $Data) Then Return 1 EndIf $oRS1.MoveNext Next Return 0 $oConn1.Close EndFunc ;==>_postgres_query when i execute, i am getting the error as C:\Program Files\AutoIt3\Include\Include.au3 (454) : ==> Variable must be of type "Object".: $oConn1.Open($db_Settings) $oConn1^ ERROR Please Help!!!!
  5. Hi, I am creating the object for ADODB and Recordset as like this. $oConn = ObjCreate("ADODB.Connection") $oRS = ObjCreate("ADODB.Recordset") But when i try to get the objects for the above created, it is failing. $oConn = ObjGet("", "ADODB.Connection") $oRS = ObjGet("", "ADODB.Recordset"). Please help me how to get the objects for already created ones.
  6. Hi, Please download the Debug bar which will identify the internal explorer objects which will be used in automating.
  7. Hi, I have postgresql data base in my system and i want to access to retrieve the values from it. I have seen some posts to access postgresql but they are giving errors. Please help me.Thanks in advance.
  8. Hi, Is there any way to Drag & Drop a object with out based on co-ordinates. Because MouseClickDrag() works based on co-ordinates. Kindly Help.
  9. Hi Thanks for the reply.I am able to right click,but not able to click on the item in the context menu because, 1. I am not getting only the class name of that context menu. 2. I am able to get the handle of the context menu but don't know how to click on the inside menu list. 3. Please tell me the procedure to do that. Thanks in advance.
  10. Hello All, i have tree view in my application. I need to Right->Click on tree view item, and in that context menu i need to select one item. I am able to rightclick on tree view item but not able to click on the context menu. Please help. Please find the code bellow _GUICtrlTreeView_ClickItem($Navighandle, $hItemFound, "right") sleep(2000) $Contexthandle = ControlGetHandle("[Class:WindowsForms10.window.20808.app.0.378734a]", "", "")
  11. Dear All, I am trying to automate .Net application in windows. That application has a treeview and giving the following properties in AutoIT spy. They are Class, Instance, ClassnameNN, Name, Advanced (Class), ID and Handle etc. Now how to use _GUICtrlTreeView_SelectItem($hWnd, $hItem[, $iFlag=0]) by using the above properties. Please help me.
  12. where i have to turn on.........in IE.au3?
  13. Is there any way to enable IE.au3 APIs to work with mouse movements enabled?
  14. Hi all, how to enable mouse movements for IE automation. If we use existing IE.au3 for webpage automation, mouse cursor will not move. How to enable mouse movements. Please help me out.
  15. Hi water my code is that only. i don't have anything other than that. i trying this for some other purpose. If it is works out , then i will try to implement. Main script: $AutoItProdexePath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt","InstallDir");installDir for production $AutoItBetaexePath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt","betaInstallDir");installDir for production $AutoItexePath = $AutoItProdexePath;default to beta?? Run( '"' & $AutoItexePath & '\AutoIt3.exe' & @ScriptDir & "\Hai.au3 10 20 30") Exe Script : msgbox(64, "Hello", "Hai I am in exe") msgbox(64, "Hello", $CmdLine[2]) Please help me.
  16. In my main code i am putting these statements. $AutoItProdexePath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt","InstallDir");installDir for production $AutoItBetaexePath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt","betaInstallDir");installDir for production $AutoItexePath = $AutoItProdexePath;default to beta??
  17. No yar it is still not working
  18. Dear all, i am sending arguements to my exe from my main script. But exe is not executing. Please help me out. Main script code Run( '"' & $AutoItexePath & '\AutoIt3.exe' & @ScriptDir & "\Hai.au3" & "10" & ' ' & "20" & ' ' & "30") my exe code msgbox(64, "Hello", $CmdLine[0])
  19. i tried by removing '&', but still same error.....syntax error.
  20. Dear all, i tried by giving following way.... but is giving errors. Run( '"' & $AutoItexePath & "\AutoIt3.exe" @ScriptDir & "\Wrong Format1.au3" & 10) Please help.
  21. Thanks i found the help. But i have a doubt. currently i am running an exe in my script as follows. Run(@ScriptDir & "\Wrong Format1.exe") so how to pass arguements in that command and in the same way how to get those arguements in Wrong Format1.au3 and process. Please help.
  22. Im sorry i could not find. Please give some more details.
  23. Deal All, i compiled my script and made as an exe. Now i want to pass a parameter to that exe and bassed on the value i want to make chnages in my exe. it is like command line arguements. how can i do that. Please help...........
  24. Thanks for the reply. I never copied that file. I used to connect to linux machine using Telnet and verify. But i want to read the file and verify automatically.
  25. Dear all, i have a file which gets updated in linux system. To see this i used to do Telnet. How can i copy this file automatically to a windows environment and check using AutoIT. Please help.
×
×
  • Create New...