Jump to content

chipDE

Active Members
  • Posts

    24
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

chipDE's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Hi, The problem was that the SSL certificate was not trusted signed. After manually adding to the local certificate store, it worked.
  2. Hi, ich have a Problem. When i set $WINHTTP_FLAG_SECURE in _WinHttpOpenRequest then _WinHttpSendRequest dont work an @error = 1. Without $WINHTTP_FLAG_SECURE it works: #include "WinHttp.au3" Func _WinHTTP($sDomain) Local $hInternet = _WinHttpOpen() Local $hConnect = _WinHttpConnect($hInternet, $sDomain) Local $hRequest = _WinHttpOpenRequest($hConnect, "POST", "/index.php", Default, Default, Default, $WINHTTP_FLAG_ESCAPE_DISABLE) $data = "test"; $sHeader = "Content-Type: application/x-www-form-urlencoded" _WinHttpSendRequest($hRequest, $sHeader, $data) _WinHttpReceiveResponse($hRequest) Local $data = _WinHttpReadData($hRequest) _WinHttpCloseHandle($hRequest) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hInternet) MsgBox(1, "WinHTTP", $data) EndFunc ;==>_WinHTTP And with $WINHTTP_FLAG_SECURE it dont work: #include "WinHttp.au3" Func _WinHTTP($sDomain) Local $hInternet = _WinHttpOpen() Local $hConnect = _WinHttpConnect($hInternet, $sDomain) Local $hRequest = _WinHttpOpenRequest($hConnect, "POST", "/index.php", Default, Default, Default, BitOR($WINHTTP_FLAG_SECURE, $WINHTTP_FLAG_ESCAPE_DISABLE)) $data = "test"; $sHeader = "Content-Type: application/x-www-form-urlencoded" _WinHttpSendRequest($hRequest, $sHeader, $data) _WinHttpReceiveResponse($hRequest) Local $data = _WinHttpReadData($hRequest) _WinHttpCloseHandle($hRequest) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hInternet) MsgBox(1, "WinHTTP", $data) EndFunc ;==>_WinHTTP
  3. An example. I have a folder on the computer with different files. A file of this means house.jpg. Now I would like to add with my Autoitscript an icon overlay to house.jpg. But permanent and not only at runtime of the script.
  4. Oh very nice. But how can I assign the result of _WinAPI_AddIconOverlay to a particular file? For example, I have the file test.txt and I want to assign the icon overlay to exactly this file.
  5. Hi, somebody has an idea how can I make with Autoit icon overlay? Just as it makes SVN or Dropbox. Example:
  6. Hi, can someone tell me how I use WinHTTP at a proxy with authentication? I have thie script: #include <winhttp.au3> $sProxyServer = "PROXY" $hw_open = _WinHttpOpen("AutoIt v3 WinHTTP with Proxy ", $WINHTTP_ACCESS_TYPE_NAMED_PROXY, $sProxyServer) _WinHttpSetOption($hw_open, $WINHTTP_OPTION_PROXY_PASSWORD, "PASSWORD") _WinHttpSetOption($hw_open, $WINHTTP_OPTION_PROXY_USERNAME, "USERNAME") $hw_connect = _WinHttpConnect($hw_open, "www.wieistmeineip.de") $h_openRequest = _WinHttpOpenRequest($hw_connect) _WinHttpSendRequest($h_openRequest) _WinHttpReceiveResponse($h_openRequest) MsgBox(0, '', _WinHttpQueryHeaders($h_openRequest)) If _WinHttpQueryDataAvailable($h_openRequest) Then Local $data="" Do $data&=_WinHttpReadData($h_openRequest) Until @error MsgBox(0, '', $data) EndIf _WinHttpCloseHandle($h_openRequest) _WinHttpCloseHandle($hw_connect) _WinHttpCloseHandle($hw_open) But the MsgBox only deliver these errors#
  7. Nobody knows the solution?
  8. Hi, i have a Problem with a alt-tab hotkey. HotKeySet("!{TAB}", "tell") While 1 WEnd Func tell() Msgbox(0,"","tell") EndFunc at Win XP it work but at Win 7 it don't work
  9. Don't work only errors: ERROR: $TVIF_STATE previously declared as a 'Const' Global Const $TVIF_STATE = 0x0008 RROR: $TVIS_STATEIMAGEMASK previously declared as a 'Const' Global Const $TVIS_STATEIMAGEMASK = 0xF000 $TV_FIRST previously declared as a 'Const' Global Const $TV_FIRST = 0x1100
  10. Hi, first an example: $maintree = GUICtrlCreateTreeView(32, 48, 217, 361, BitOR($TVS_HASBUTTONS, $TVS_HASLINES, $TVS_LINESATROOT, $TVS_DISABLEDRAGDROP, $TVS_SHOWSELALWAYS, $TVS_CHECKBOXES, $WS_GROUP, $WS_TABSTOP)) $point = GUICtrlCreateTreeViewItem("first point",$maintree) $belowpoint = GUICtrlCreateTreeViewItem("below point",$point) In this example a checkbox are at "first point" and at "below point. Now i only want a checkbox at the "below point" not at the "first point".
  11. Hi, i have make a Teamspeak 3 UDF. It includes als Telnetcommands for Teamspeak 3. Over 120 commands Full error reporting and 3889 lines code For a detailed description of the commands take a look at the ts2_serverquery_manuell.pdf of Teasspeak 3 Server I wish you much fun with it. German users look here: http://autoit.de/index.php?page=Thread&threadID=19591 ts3.au3
  12. Ok, than i make a .zip an encrypt this.
  13. Hi, I want to encrypt a folder. I try to encrypt the folder so _Crypt_EncryptFile(@ScriptDir & "\system", @ScriptDir & "\system.save", "123qwe", $CALG_AES_256) If I decrypt it so I can not get a folder but a file without a type _Crypt_DecryptFile(@ScriptDir & "\system.save", @ScriptDir & "\system", "123qwe", $CALG_AES_256)
  14. Hi, I have a problem with _GUICtrlButton_Create and GUIGetCursorInfo. I have more than one GUI and create buttons with _GUICtrlButton_Create in a Func. With a middle mouse button click then I'll get with GUIGetCursorInfo the Control ID. But the ID is always 0. But if I use GUICtrlCreateButton I get the correct ID. Is there an alternative to GUIGetCursorInfo that works with _GUICtrlButton_Create?
  15. Yes, this is it. Very very very thank you.
×
×
  • Create New...