How to monitor the movement of the window? I hope to receive event alerts when the window is moved
42 views
Skip to first unread message
木瓜太香
unread,
Sep 4, 2024, 2:42:06 AM9/4/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Hammerspoon
I'm writing a code to highlight the current focused window. I will draw some lines on the edge of the window to serve as a reminder, but I don't know how to monitor the window's movement event. What should I do?
M N
unread,
Sep 11, 2024, 8:15:08 AM9/11/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Hammerspoon
Thank you for your help. I have already implemented similar code myself. What I want to resolve is the issue where the window does not follow the border during movement. This problem still persists.