Close already opened window

Hello friends,

@Rammohan91, @balupad14, @Gouda_6, @Florent_Salendres, @ClaytonM, @vvaidya,

which properties should i insert in the selector of the close Window, if multiple windows with different titles are opoened?
Thank you so much,
Cami :slight_smile:

Hi @CamiCat,

Close application with reliable selector it closes all the tabs
or you can use kill process to kill the task

Thanks,

3 Likes

@CamiCat
Buddy, when you use a open application activity the output of that activity will be giving a value of outapplication datatype. Assign it with a variable

Then use the close application by mentioning the assigned variable as input

This can avoid to close a particular window when multiple window is opened…
Hope this would help you

Or if its a web browser window, you can simply send a hot key using send hotkey activity to close that window with alt+f4, but before this activity use a click activity in that window to avoid closing other windows

or even with attach window with a variable assigned and close window with that variable passed

Hope this would help you
Cheers…!

1 Like

Thank you so much @Gouda_6.
How to get the names of all the windows open within a certain application?
Thank you,
Cami

@CamiCat

Create one window variable to Attach window activity and pass that variable into Close Window activity to close which window you want to close it.

5 Likes

Thank you so much @lakshman
How to get the names of all the windows open within a certain application?
Thank you,
Cami

@CamiCat

Are you using Attach Window activity or not to indicate that application window ?

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.