Understanding Use of Trigger by Script

No, it’s the action:

39-pty-fs8

The “by script” belongs to the triggers that are disabled/enabled with the check box. (See the indentation as highlighted in the screenshot in my last post.)

Edit 2019-08-19:

Since the thread has been split and disconnected from the above referenced post, here the mentioned screenshot again:

10-pty-fs8

(Originally here.)