as above,
What version of avast do you have?
@Bluesman: 4.8, help me, please
You can’t, this option is only in the avast 4.8 pro version, in avast 4.8 Home/free requires interactive input on detection, that was a limitation of the free version.
avast 5.0 free already has these automatic actions built in.