Hmmmm.... This is quite a specific need. Using QB64, I don't think you'll be able to tap into that Windows 10 feature of "Your Phone". It will be beyond the abilities of the setup. You could maybe find some alternative to Your Phone and see if it has command line options.
Edit: didn't realize it was you, Pete, until I pressed submit.