Like I have pdf opened Invoice1, Invoice2, Invoice3 and so on. But I want to close these at the same before started my execution to check wheater the Invoice pdf are opened or not. If yes then close all. I am able to close the single but not all if I have opened the Invoice1, Invoice2 and so on…
Hi @balkishan
You can do it from Kill Process activity, I guess for Adobe Reader process name should be Acrobat.exe you can pass this in kill process activity, this will close all the windows at once.
Thanks,
Prankur
1 Like
Okay, so when you open the PDF you can have the names of PDF in an array, apply a for each loop and check if the name contains a string similar to what you want then use close application activity in the loop.
Thanks,
Prankur
2 Likes
Okay I will try this method