app
Pup - the AI's own browser
Public Made by Adomby adom
pup gives your AI a real browser on your desktop that it drives completely, in the background, signed in as you: windows that never jump in front of your work, one shared profile that learns your logins, and every window labeled on the taskbar with its AI thread's name.
master
John Lauer
v2.0.720 (insiders): Groundwork for the macOS build of the Rust pup (Kyle's pull request #3, pup-bridge#128): the Mac h…
87f5051
27d ago
//! hide_ctl <hwnd> show|hide|raise — drive one window's owning app through the trait, for live tests.
use pup_host::HostWindows;
fn main() {
let a: Vec<String> = std::env::args().collect();
let h = pup_host_mac::MacHost; let hwnd: i64 = a[1].parse().unwrap();
let r = match a[2].as_str() { "show" => h.set_visible_no_activate(hwnd, true), "hide" => h.send_to_bottom_no_activate(hwnd), "raise" => h.raise_window(hwnd), _ => false };
println!("{} {hwnd}: {r}; foreground now {}", a[2], h.foreground());
}