How can i nest multiple @modifers in a Standard Function script?

Is it possible to conditionally enable / disable a toolbar button depending on if a process is running?

I tried something like this but it did not work.

@enableif(@ifrunning("myprocessname.exe"))

I did not find any nesting examples in the Command Modifier Reference.

Yes, with the Evaluator: Running

Thanks, but still not working for me:

@enableif:running("notepad.exe")
@enableif: if running("notepad.exe")

What am i doing wrong? Can you show a working sample?

I was close. This works:

@enableif:=running("Notepad.exe")

I was missing an equal sign.