Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/16/2013 in all areas

  1. BrewManNH

    Problem: hidden run

    What does that mean? What works with Win 8?
    2 points
  2. USBDeleteRecord($record, $application, $planet, $universe)
    2 points
  3. Jos

    Problem: hidden run

    To answer your question: The ShowFlag parameter is not the 3th but the 5th parameter. Jos
    1 point
  4. FireFox

    Problem: hidden run

    Hi, Try this : #include <Process.au3> _RunDos("ipconfig /release *") _RunDos("ipconfig /renew *") Br, FireFox.
    1 point
  5. Func _TCP_Server_ClientIP($hSocket) Local $pSocketAddress, $aReturn $pSocketAddress = DllStructCreate("short;ushort;uint;char[8]") $aReturn = DllCall("ws2_32.dll", "int", "getpeername", "int", $hSocket, "ptr", DllStructGetPtr($pSocketAddress), "int*", DllStructGetSize($pSocketAddress)) If @error Or $aReturn[0] <> 0 Then Return $hSocket $aReturn = DllCall("ws2_32.dll", "str", "inet_ntoa", "int", DllStructGetData($pSocketAddress, 3)) If @error Then Return $hSocket $pSocketAddress = 0 Return $aReturn[0] EndFunc ;==>_TCP_Server_ClientIP
    1 point
  6. UEZ

    StringSplitToStruct

    Great stuff! I wish I could code in C++... Br, UEZ
    1 point
  7. czardas

    problem with "if"

    Okay I made a mistake. I get what's going on now. Compare the following: if not "c937ce9cfc504995e08c10dfad9e76e6" = 0 then msgbox(0,"","Without parenthesis") if not ("c937ce9cfc504995e08c10dfad9e76e6" = 0) then msgbox(0,"","With parenthesis")
    1 point
  8. AZJIO

    problem with "if"

    Global $works[8] = [ _ "42e0ae3b87a2fcb097215f5a03565e69", _ "d5a681de57f3a7318789a2eebc1a5157", _ "faba1a16c0b656ba961cb7724c114353", _ "1e2653ff6dedb66dee5035744bcffaa8", _ "c937ce9cfc504995e08c10dfad9e76e6", _ "c1e8dee81f5a221bd4628229d6d64160", _ "bbb5310e3a4f7648d1a35ffe4af4eef0", _ "dbeedb7e655e96ce496af4496d0b2a34"] For $i = 0 To UBound($works) - 1 If $works[$i] <> '0' Then ConsoleWrite($works[$i] & @CRLF) If Not ($works[$i] == 0) Then ConsoleWrite($works[$i] & @CRLF) Next
    1 point
  9. czardas

    problem with "if"

    You should get a message with both because you use the boolean NOT operator on the second example. Both expressions evaluate to True. In fact both expressions say the same thing.
    1 point
  10. ShellExecute("ipconfig.exe","/release *") ; switch off Sleep(15000) ShellExecute("ipconfig.exe","/renew *") ; switch on
    1 point
  11. NELyon

    Perl + AutoIt?

    Use Perl to send the user's input to the Autoit script via the command-line. Use an Autoit server on localhost, then send the data with Perl to the server, and then have the server act based on that data. Perl writes user input to a temp file, Autoit reads the temp file, acts based upon it, then deletes it. Many different ways to skin this cat.
    1 point
  12. Opt('WinWaitDelay', 10) should make it hard to see the initial window. Opt('WinWaitDelay', 10) Run("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1") WinWait("System Properties") WinSetState("System Properties","",@SW_HIDE) Opt('WinWaitDelay', 250)
    1 point
×
×
  • Create New...