gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
Does autohotkey mousemove use the screen or window mouse position
- User
Does autohotkey mousemove use the screen or window mouse position
- Assistant
In AutoHotkey, the
MouseMovefunction can use either screen coordinates or window coordinates, depending on the context you set before using it. By default,MouseMovewill use screen coordinates. However, you can change the coordinate mode using theCoordModecommand.For example, to use window-relative coordinates, you can specify:
CoordMode, Mouse, Window MouseMove, X, YAlternatively, to ensure it's using screen coordinates, set:
CoordMode, Mouse, Screen MouseMove, X, YThe
CoordModesetting persists until it is changed again, so make sure to set it according to your needs before usingMouseMove.