Jump to content

Recommended Posts

Posted

Hello, I have written a script which launches a portable version of the Google Chrome Browser which it does fine however it launches a whole range of "chrome.exe" (see attachment). I could just use a "ProcessClose" in a While Loop until it's closed however if I had already an instance of Google Chrome running (which in many cases I will) it would close ALL of them. I would just like to close the instance which the script launched.

I am not sure how to do this and looking for some help please :)

 

 

google_chrome.jpg

Posted

@MichaelHB

Thanks for replying, this option 'deactivate the background chrome process' was already disabled and something which I am not sure if I would like to replicate on other users machines as they may wish to have this feature activated. What I did end up doing was to capture all the existing Chrome.exe Process ID's (if any) before launching Chrome and then collect all the Process ID's after to figure out which ones were specific to me. Then I had the ability to close them.

Thanks,

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...