Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find and kill process by window title
#5
Using just title can be dangerous. It could find and kill some other process. Therefore I also added class in the example. Also you can add program name.

int w1 = win("*name" "" "" 1) ;;dangerous
int w1 = win("*name" "class" "" 1) ;;ok
int w1 = win("*name" "" "program" 1) ;;ok
int w1 = win("*name" "class" "program" 1) ;;ok, this is the safest


Messages In This Thread
find and kill process by window title - by jps01 - 02-06-2023, 12:31 PM
RE: find and kill process by window title - by Gintaras - 02-08-2023, 03:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)