Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keyboard hook
#11
To remove a ghost tray icon, maybe a better way exists, but I know only the "mouse move" way. Find it as accessible object and mouse-move.

Macro Macro3030
Code:
Copy      Help
run "$program files$\VideoLAN\VLC\vlc.exe"
3
ShutDownProcess "VLC"
int w=win("" "Shell_TrayWnd")
Acc a.Find(w "PUSHBUTTON" "VLC*" "class=ToolbarWindow32[]id=1504" 0x1005) ;;Win10. On other OS may be different id.
a.Mouse()
mou

or
Macro Macro3031
Code:
Copy      Help
run "$program files$\VideoLAN\VLC\vlc.exe"
3
ShutDownProcess "VLC"
int w=win("" "Shell_TrayWnd")
Acc a.Find(w "PUSHBUTTON" "VLC*" "class=ToolbarWindow32[]id=1504" 0x1005) ;;Win10. On other OS may be different id.
POINT p; a.Location(p.x p.y)
w=child(a)
ScreenToClient w &p
PostMessage w WM_MOUSEMOVE 0 MakeInt(p.x+5 p.y+5)


Messages In This Thread
Keyboard hook - by InterestedNewbie - 04-25-2018, 01:21 AM
RE: Keyboard hook - by Kevin - 04-25-2018, 03:50 AM
RE: Keyboard hook - by InterestedNewbie - 04-25-2018, 06:58 PM
RE: Keyboard hook - by Kevin - 04-26-2018, 12:02 AM
RE: Keyboard hook - by InterestedNewbie - 04-26-2018, 12:24 AM
RE: Keyboard hook - by InterestedNewbie - 04-28-2018, 08:58 PM
RE: Keyboard hook - by Kevin - 04-28-2018, 09:12 PM
RE: Keyboard hook - by InterestedNewbie - 04-29-2018, 03:19 AM
RE: Keyboard hook - by Kevin - 04-29-2018, 04:48 AM
RE: Keyboard hook - by InterestedNewbie - 04-29-2018, 04:01 PM
RE: Keyboard hook - by Gintaras - 04-29-2018, 05:13 PM
RE: Keyboard hook - by InterestedNewbie - 04-29-2018, 08:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)