Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser toolbar
#26
in fact, the file will be opened at chrome launch, and writed at chrome closure, so less used

the global istringmap initialized at chrome launch, and closed with chrome...

just need to find the right code, as chrome launches several processes (up to 12!!!!!) and not one, if you have ideas to
code some functions to launch *only* once (the first time i click the icon) and close when nom more chrome processes ...

I tried with EnumProcessesEx which work quite good, but is fooled when some the many chrome processes closes, but
some remain....

EDIT:

ended up with this code

Triggered by process "chrome" ended

wait 1
event: 1 started, 2 ended, 4 running
out F"{event} {pid} {name}"
ARRAY(int) allPids
str u="chrome"
_i=ProcessNameToId(u &allPids)
if(allPids.len=0) osd "chrome closed"

if you have more accurate/better coded idea.........


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)