
Kris123
Active Members-
Posts
54 -
Joined
-
Last visited
Everything posted by Kris123
-
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.
-
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.
-
Get the object of ADODB.Connection
Kris123 replied to Kris123's topic in AutoIt General Help and Support
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!!!! -
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.
-
Automating a Sliverlight Component
Kris123 replied to AndreasEK's topic in AutoIt General Help and Support
Hi, Please download the Debug bar which will identify the internal explorer objects which will be used in automating. -
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.
-
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.
-
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.
-
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]", "", "")
-
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.
-
How to enable mouse movements for IE automation
Kris123 replied to Kris123's topic in AutoIt General Help and Support
where i have to turn on.........in IE.au3? -
How to enable mouse movements for IE automation
Kris123 replied to Kris123's topic in AutoIt General Help and Support
Is there any way to enable IE.au3 APIs to work with mouse movements enabled? -
Exe is not running when passes any arguements
Kris123 replied to Kris123's topic in AutoIt General Help and Support
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. -
Exe is not running when passes any arguements
Kris123 replied to Kris123's topic in AutoIt General Help and Support
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?? -
Exe is not running when passes any arguements
Kris123 replied to Kris123's topic in AutoIt General Help and Support
No yar it is still not working -
i tried by removing '&', but still same error.....syntax error.
-
Dear all, i tried by giving following way.... but is giving errors. Run( '"' & $AutoItexePath & "\AutoIt3.exe" @ScriptDir & "\Wrong Format1.au3" & 10) Please help.
-
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.
-
Im sorry i could not find. Please give some more details.
-
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...........
-
How to copy a file in linux file system to windows
Kris123 replied to Kris123's topic in AutoIt General Help and Support
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.