Jump to content

GodlessSinner

Active Members
  • Posts

    286
  • Joined

  • Last visited

Recent Profile Visitors

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

GodlessSinner's Achievements

Universalist

Universalist (6/7)

2

Reputation

  1. It was my error, I forgot to close old exe. Sorry..
  2. #include <GUIConstantsEx.au3> #include <Misc.au3> HotKeySet("+!d", "ShowMessage") ;Shift-Alt-d ;_Main() $on = False Local $GUI, $coords[4] While 1 $coords = WinGetPos(WinGetTitle("", "")) If($on) Then _MouseTrap($coords[0] + 50, $coords[1]+50, $coords[0] + $coords[2]-50, $coords[1] + $coords[3]-50) Else _MouseTrap() EndIf Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSwitch WEnd _MouseTrap() Exit Func ShowMessage() If($on) Then $on = False Else $on = True EndIf EndFunc ;==>ShowMessage For some reason(2 monitors) I need to trap mouse in smaller rectangle, NOT in entire window, but + and -50 not affect on it. Please, help. EDIT: Even _MouseTrap(50, 50, 100, 100) doesn't work - it's traps ONLY to full size of active window.
  3. Set something like hotkey for right mouse button.
  4. HotKeySet("+!z", "Onoff") Func Onoff() If $on = False Then $on = True GUICtrlSetData($Label6, "On") Else $on = False GUICtrlSetData($Label6, "Off") EndIf EndFunc
  5. Works only on my computer(7 x86), but doesn't on three others pc(Win 7 x64, Win 7 x86, XP x86). Please help.
  6. I have searched for it in most programing languages and it seems like impossible... Sad.
  7. Your code doesn't returns even connected internet(modem) adapters. It's seems impossible in C# and AutoIt and it can't be done via registry.
  8. Thanks, but it doesn't returns my disconected ppp(modem) adapters. Code return's only names of local connections..
  9. Thanks, but it returns only connected adapters, but I need ALL, I tried also without "WHERE NetConnectionStatus IS NOT NULL", and it doesn't returns disconnected adapters.
  10. I can't found nothing about network in WinApi Management in Help.chm. What is Winpcap and how to use it in AutoIt or C#?
  11. Including disconnected adapters. Please help.
×
×
  • Create New...