Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigger: Process
#1
I created a function and assigned the trigger to Process. What I needed is for this function to start when Notepad is started. I selected "notepad" from the list of Processes, clicked on "Started" on Trigger on these events. It asked if I wanted to "Insert code to receive trigger information" and I clicked on Yes. It placed:

function event pid pidparent $name
event: 1 started, 2 ended, 4 running

at the beginning of the code window, but it doesn't work. I started notepad and nothing happened.

Am I missing something else?

Thanks,
Denise
#2
If you add

Code:
Copy      Help
out name

at the end, and start notepad, it should display "notepad" in the QM output.
#3
I got it to work, had an error and didn't realized it.

Is it possible to have multiple Processes though? Like for example, run the function for both Notepad and MS Word?

Thank you so much!
#4
Create two other functions with process triggers. Call the first function from both.
#5
Thank you so much, that worked great! :lol:


Forum Jump:


Users browsing this thread: 1 Guest(s)