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
use autopilot::geometry::Point;use autopilot::mouse::Button;fnmain(){letmut point = Point::new(-1920.0 / 2.0,454.0);
autopilot::mouse::move_to(point).unwrap();
autopilot::mouse::click(Button::Left,Some(50));}
thread 'main' panicked at 'called Result::unwrap() on an Err value: OutOfBounds', src\main.rs:6:38
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:575
1: core::panicking::panic_fmt
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\panicking.rs:65
2: core::result::unwrap_failed
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\result.rs:1791
3: enum2$<core::result::Result<tuple$<>,enum2$autopilot::mouse::MouseError > >::unwrap<tuple$<>,enum2$autopilot::mouse::MouseError >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\result.rs:1113
4: office_owl::main
at .\src\main.rs:6
5: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\ops\function.rs:251
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
error: process didn't exit successfully: target\debug\office_owl.exe (exit code: 101)
Process finished with exit code 101
The text was updated successfully, but these errors were encountered:
IAFahim
changed the title
Cant move the mouse the my second screen
Can't move the mouse to second screen
Feb 14, 2023
Can't move the mouse to second screen
thread 'main' panicked at 'called
Result::unwrap()
on anErr
value: OutOfBounds', src\main.rs:6:38stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\std\src\panicking.rs:575
1: core::panicking::panic_fmt
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\panicking.rs:65
2: core::result::unwrap_failed
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library\core\src\result.rs:1791
3: enum2$<core::result::Result<tuple$<>,enum2$autopilot::mouse::MouseError > >::unwrap<tuple$<>,enum2$autopilot::mouse::MouseError >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\result.rs:1113
4: office_owl::main
at .\src\main.rs:6
5: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\ops\function.rs:251
note: Some details are omitted, run with
RUST_BACKTRACE=full
for a verbose backtrace.error: process didn't exit successfully:
target\debug\office_owl.exe
(exit code: 101)Process finished with exit code 101
The text was updated successfully, but these errors were encountered: