Skip to content

Add ps_switch_to()#100

Closed
gaborcsardi wants to merge 5 commits intomainfrom
feature/switch-to
Closed

Add ps_switch_to()#100
gaborcsardi wants to merge 5 commits intomainfrom
feature/switch-to

Conversation

@gaborcsardi
Copy link
Copy Markdown
Member

Windows only. Switch to or send alert to the window of a process.

@gaborcsardi
Copy link
Copy Markdown
Member Author

We could also have ps_find_window() (and then maybe ps_set_forground_window()`). We should also include or link to the docs at https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setforegroundwindow about the limitations for this to work.

@gaborcsardi
Copy link
Copy Markdown
Member Author

This does not seem to work well enough, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant