Hi,
Sunil is right, I believe. The help on SF "events" says:
only after end of main window | Output starts only after all nodes within the main window are processed. It makes no sense to activate this event for a node within the main window, since it would never be printed. |
In your case, the command will not be processed as long as this event condition is set. Why do you think you need this extra condition for command? Checking whether the GV_PRINT_FINAL_PG variable is set should be enough, isn't it?
cheers
Jānis