toxicvn Posted April 4, 2010 Share Posted April 4, 2010 hello ,all i run firefox with commnadline : "V:\toxicvn\FirefoxPortale\App\firefox.exe" -profile "V:\toxicvn\FirefoxPortale\Settings\ppp1 "V:\toxicvn\FirefoxPortale\App\firefox.exe" -profile "V:\toxicvn\FirefoxPortale\Settings\ppp2 i want kill V:\toxicvn\FirefoxPortale\App\firefox.exe" -profile "V:\toxicvn\FirefoxPortale\Settings\ppp1 i see use ProcessClose(firefox.exe) but it kill (firefox _ ppp2) if use $list = ProcessList(firefox.exe) for $i = 1 to $list[0][0] msgbox(0, $list[$i][0], $list[$i][1]) next i can't see : which is firefox _ppp1 ? have anyway to kill (firefox _ ppp1) when run both ? thanks Link to comment Share on other sites More sharing options...
MiserableLife Posted April 4, 2010 Share Posted April 4, 2010 (edited) Kill the process with PID e.g. $PID = Run(somthing) ProcessClose($PID) Edited April 4, 2010 by MiserableLife Link to comment Share on other sites More sharing options...
ripdad Posted April 4, 2010 Share Posted April 4, 2010 (edited) - EditYou want to kill that particular profile for firefox.PID's have a way of changing. Not sure how to do that - sorry.- edit 2from:Documents and Settings\"username"\Application Data\Mozilla\Firefox\profile.ini------------------------------[General]StartWithLastProfile=1[Profile0]Name=defaultIsRelative=1Path=Profiles/dt97sivv.default------------------------------Seems to me that one could change profiles this way. Edited April 4, 2010 by ripdad "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward Link to comment Share on other sites More sharing options...
MiserableLife Posted April 4, 2010 Share Posted April 4, 2010 It would be interesting to know how to get the param that launches the process. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 4, 2010 Share Posted April 4, 2010 See Run (which returns a PID) and ProcessClose (which takes a PID as argument) in the helpfile. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
toxicvn Posted April 4, 2010 Author Share Posted April 4, 2010 if i restart FF so PID it will change seem haven't anyway ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now