Jump to content

sjx

Members
  • Posts

    6
  • Joined

  • Last visited

sjx's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. When the following line is executed in a 32-bit windows, the returned BytesReceivedPersec is negative, which is not a surprise since its real value is about 14GB, bigger than 2^32 that a 32-bit int can handle. So my question is how to get the real 14GB from the query? $objWMIService.ExecQuery("SELECT BytesReceivedPersec FROM Win32_PerfRawData_Tcpip_NetworkInterface", "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly)
  2. What's the best way to download a file specified by a url using firefox? Is there a FF function similar to InetGet? or a more advanced question, how to parse FF cache so I can retrieve a file that is already in FF cache?
  3. here is the code #include <FF.au3> $socket=_FFStart ("yahoo.com") ConsoleWrite($socket & @CRLF) yahoo.com is loaded in FF, however the script freezes at the first line, the second line is never executed. what's wromg? below is the console output __FFStartProcess: ""C:Program Files (x86)Mozilla Firefoxfirefox.exe" -new-window "http://yahoo.com" "-repl 4242 " _FFConnect: OS: WIN_81 WIN32_NT 9600 _FFConnect: AutoIt: 3.3.10.2 _FFConnect: FF.au3: 0.6.0.1b-10 _FFConnect: IP: 127.0.0.1 _FFConnect: Port: 4242 _FFConnect: Delay: 2ms
  4. There must be a way to make the change effective without restarting windows or explorer since if you manually change the behavior of notification icon via GUI, it takes effect once you close the GUI.
  5. I also figured out how to show/hide icon by modify the IconStreams reg value but after each change I need to restart explorer.exe to make it effective. Do you know if there is a dll we can call to avoid restarting explorer just like what we did in changing IE proxy by DllCall('WININET.DLL' .... ?
  6. How do I move sys tray icon between visible tray area (ToolbarWindow32) and overflow area (NotifyIconOverflowWindow) which are defined here: '?do=embed' frameborder='0' data-embedContent>>
×
×
  • Create New...