Repository navigation
feat(desktop): bot cursor on the desktop panel, and the panel opens by itself - #182
Merged
Merged
Conversation
…itself Each desktop action now says where it happened in the window: the middle of the control through accessibility, or the point of a desktop_click_at, as fractions of the window's frame (DesktopAction x and y). The desktop panel shows the window on the same stage as the browser, with the bot's cursor gliding there and a ring on each click. The panel also opens by itself when the bot starts using the desktop after two minutes without it, like the browser does, unless the owner turned off following the bot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the owner's feedback on Desktop Use: the desktop should behave like the browser (spec 24.9).
What changes
DesktopActiongainsxandy: where the action happened, as fractions of the window's frame.BoundingRectangle), relative toDWMWA_EXTENDED_FRAME_BOUNDS.desktop_click_at, it is the point of the picture.LiveView, now with plain frame and action types). The bot's cursor glides to each point, and a ring marks clicks.desktop.changedwith a window after 2 minutes without one. It does not open while the owner holds the browser, and it respects "follow the bot". Closed mid-run, it stays closed for the rest of that run.Tests
Manual