Dropbox Smart Sync : Local/Online

I am looking for a better way to use Dropbox's Smart Sync feature of making a file LOCAL or ONLINE.

I currently have a KM macro that will right-click on a file that I have selected in the finder and use the mouse menu.

Is there a terminal or apple script that could handle this better?