Deselect original track once done duplicating

Is it possible to deselect the original track when duplicating is finished?

Your question is unclear. Please provide more detail about what you are doing, and what you want to do.
Please include the version number of Audacity that you are using.

If you already have a macro script that you are try to improve, please include what you have so far.

This is my macro right now:
Screenshot from 2021-12-14 16-18-57.png
I want it to duplicate a track and shift all of its audio to the right by 0.5 seconds.

I’m using Audacity 3.0.2

How about this:

Cut:
SelectTime:End="0.5" RelativeTo="ProjectStart" Start="0.5"
Paste: