RF Inquires

You need to plan the project in more detail, and pick the RF hardware. Then you can start thinking about code.

Arduino can replicate the signals of many types of RF remote controls, but not the strongly encrypted ones used with automobiles, garage doors, etc.