Jump to content

babelpatcher

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by babelpatcher

  1. can i create local server(proxy) app, using autoit, that bind/listen on localhost, accept request from another, then mod the tcp/udp header/data and then send/receive the data to ISP/real/remote server? like winsock feature in VB
  2. thanks SmOke_N, solved :ILA:
  3. 1st and 2nd is same do you get what i mean? i can not copy text from the Edit Control
  4. this is another example, same problem. ; Demonstrates the use of StdinWrite() #include Local $foo = Run("sort.exe", @SystemDir, @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD) ; Write string to be sorted to child sort.exe's STDIN StdinWrite($foo, "rat" & @CRLF & "cat" & @CRLF & "bat" & @CRLF) ; Calling with no 2nd arg closes stream StdinWrite($foo) ; Read from child's STDOUT and show Local $data While True $data &= StdoutRead($foo) If @error Then ExitLoop Sleep(25) WEnd MsgBox(0, "Debug", $data)
  5. This is part of my code. $Log is an Edit control $fd_bin = @WorkingDir & "binary" ; path to openvpn.exe $config = @WorkingDir & "configconf.ovpn" ; path to config file Local $Pid = Run(@ComSpec & " /c " & $fd_bin & 'openvpn.exe' & $config, "", @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD) While $Pid ; $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ProcessClose ($Pid) Exitloop EndSelect $line = StdoutRead($Pid) If @error Then ExitLoop Else GUICtrlSetData($Log, $line, True) EndIf WEnd the code write the openvpn log to Edit control very well. but, i can not select/copy the data/text from the Edit control. when i select or try to copy the data/text, the text is gone. Any idea how to solve this? thanks
  6. fixed, there is a space thanks a lot Jos
  7. i also have tried <> i also have tried IF NOT it still set $vpn_status to "CONNECTION BROKEN" what wrong? how to fix it? doest auoto it doesnt has != or NEQ ?
  8. yes, thanks. solved your and all staf here are awesome
  9. can you or anyone tell me how to set the hwnd correctly? i have same problem here
  10. i have tried it. but after closing the fileopendialog window, either by selecting a file or by cancel, the main window loses focus. i also have tried winactivate but not good. at last post DYONISII said using hwnd. but how to set the hwnd correctly? any idea about the hwnd?
  11. I have a button that will open 2nd window and looking for a file, everyting is fine if without the "hwnd" but i want make the main gui is disable while the 2nd window open. Func config_loadClick() Global $conf_open = FileOpenDialog("Choose config file to open", @WorkingDir & "\", "INI file (*.ini)"[, 1 + 4 [, "" [, hwnd]]]) EndFunc but it doesn't work when using "hwnd". please, anyone tell me how to solve this?
  12. #include <Crypt.au3> Global $key = "91305D1C12D802F2DFDC946DEF7C1363" Global $name = "john" $crypted_name = _Crypt_EncryptData($name, $key, $CALG_AES_256) MsgBox(0,"Encrypted", $crypted_name) $real_name = _Crypt_DecryptData($crypted_name, $key, $CALG_AES_256) MsgBox(0,"Decrypted", $real_name) ; the real name should be "john" anyone please tell me how to solve this.
  13. yeah, i'm learning it with all my brain energy hmmm, have you check the mediafire link?
  14. Hai... I made this GUI using Koda i dont know how to code and make it work. i have read many tutorial about AutoIT. actually, i'm not a programmer at all. if you have a time, please check this: Site: www.mediafire.com Code: ?a3u29b1eehs7j94 any respons/help will be appreciated alot thank you
×
×
  • Create New...