Declare Integer FindWindow In WIN32API String , String Declare Integer SetForegroundWindow In WIN32API Integer Declare Integer ShowWindow In WIN32API Integer , Integer Declare Integer ShellExecute In shell32.Dll ; INTEGER hndWin, ; STRING cAction, ; STRING cFileName, ; STRING cParams, ; STRING cDir, ; INTEGER nShowWin Local lt, lhwnd cPhone=[9203000000000] cMessage='How are you sir?' cmd='whatsapp://send?phone=&cPhone&text=&cMessage' =ShellExecute(0, 'open', cmd,'', '', 1) Wait "" Timeout 3 lt = "Whatsapp" lhwnd = FindWindow (0, lt) If lhwnd!= 0 SetForegroundWindow (lhwnd) ShowWindow (lhwnd, 1) ox = Createobject ( "Wscript.Shell" ) ox.sendKeys ( '{ENTER}' ) Else Messagebox ( "Whatsapp no activated!" ) Endif]to do this, I visited these links
cmd='whatsapp://send?phone=&cPhone&text=&cMessage'
I mean what to add in api string to send document?mediaName="conversational-commerce" mediaUri="https://www.cm.com/cdn/web/nl-nl/blog/conversational-commerce.jpg" mimeType= "image/jpg" cmd='whatsapp://send?phone=&cPhone&media=&mediaName&Url=&mediaUri&type=mimeType'but it still not work