Interaction.GetWindows
Method | GetWindows |
---|---|
Module | Interaction |
Library | Core |
Action | List all open windows within user sessions. |
Parameters | (None) |
Return values |
|
Example | @windows = Interaction.GetWindows(); @edge = SELECT 1 FROM @windows WHERE Process = "MicrosoftEdge"; IF (@edge) @chrome = SELECT 1 FROM @windows WHERE Process = "chrome"; IF (@chrome) Interaction.ShowQuestion(Async:false, Title:"Browser survey", Description:"Do you prefer Microsoft Edge or Google Chrome?", PositiveChoice:"Microsoft Edge", NegativeChoice: "Google Chrome"); ENDIF; ENDIF; |
Platforms |
|
Notes | Use of this method may have user privacy implications (please observe local regulations). |