How to run script with physical RF button

Hi,

How to run(trigger) script when I press physical RF button?

What kind of button are you talking about?
An Amazon Dash button, something similar over WiFi, or something based on 433MHz?

They require a different implementation, e.g. Dasher, rflink, etc.

Button is 433Mhz

There are quite a number of threads about this on here - this is one of them:

Thanks @chairstacker I will check that.