0

Is it possible to find process id of a particular item in task manager by using its window name. Eg. To find process id of window "Google - Internet Explorer" from list of tasks using Javascript.

  • I don't think so. No. If you need to find out which browser is being used on your site, try this answer: http://stackoverflow.com/a/5918791/1524085 – Pedro Estrada Jan 27 '16 at 20:34

1 Answers1

0

No. Javascript only operates within the browser - whichever operating system the site uses is unknown to Javascript - all it can know about is the parent page(s) which launched it and which browser is being used.

Tony Duffill
  • 277
  • 1
  • 5
  • Not from within the browser (to my knowledge). There is a way of communicating from Visual Studio to browser if the browser is launched from a VS program, but I've not tried it (and may only apply to IE). – Tony Duffill Jan 29 '16 at 16:00
  • okay. I read it can be done by WSH. But I did not get a working example. Can some one help ? – vidhyamadhav Feb 02 '16 at 14:25
  • Not me, I'm afraid - WSH isn't my thing... Visual Basic, Javascript, PHP, ASP only. – Tony Duffill Feb 03 '16 at 15:56