You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
creating a newEvent, setting its type, location (& timestamp) and posting it, which does nothing
creating a newMouseEvent, which throws an error since it doesn't recognize the Smart magnify type
creating a newGesture, which also doesn't recognize it
The way I have it now is keeping the base64 encoded data from a captured event hardcoded in my config, using hs.eventtap.event.newEventFromData to construct a working event, modifying its location and then posting it. This does work but of course is far from optimal.
Is there anything I am missing or is it not supported to construct Smart magnify events?
The text was updated successfully, but these errors were encountered:
I can't seem to figure out how to construct a Smart magnify event any way other than capturing a "real" one, using hs.eventtap.event:asData() to get its data and constructing a new one from the data with hs.eventtap.event.newEventFromData.
I've tried
The way I have it now is keeping the base64 encoded data from a captured event hardcoded in my config, using hs.eventtap.event.newEventFromData to construct a working event, modifying its location and then posting it. This does work but of course is far from optimal.
Is there anything I am missing or is it not supported to construct Smart magnify events?
The text was updated successfully, but these errors were encountered: