Search the Community
Showing results for tags 'whatsapp'.
-
I stumbled upon this: https://example-code.com/autoit/whatsapp_first_login.asp And, unless I am much mistaken it has @mLipok's finger prints all over it I am struggling with WhatsApp. First there seems to have been WhatsApp for Business, which basically does little other than display "Business Account" for the profile. Now, however there is the WhatsApp Business Platform, confusingly also referred to as WhatsApp Business... 🙄 See the WhatsApp ecosystem table on this page: https://www.wati.io/blog/how-to-get-whatsapp-business-api/ The Chilkat link above, links to the WhatsApp Business Platform. However, I am having a really hard time getting into this Business Platform. I have seen two comments, one that it is still in Beta and secondly that it is only accessible through a small number of Business Service Providers (BSP)? If it is indeed you who wrote this code, would you please be so kind as to confirm that it does word? And please point me in the right direction? I have set up a new number for development, but now I do not know what steps to take next. Why Chilkat? Why not #include "WinHttp.au3" ? WinHTTP on AutoIt Please help? Skysnake
-
Hello. I fail trying to save content from WhatsApp other then plain text to a file that way, that non-char-content will be preserved in it's correct encoding. e.g. Emojis are spoiled. I've tried to do so using just filewrite() as well as forcing UTF #include <clipboard.au3> MsgBox(0,"Ready to read clipboard","Mark some WhatsApp content with non-char elements, e.g. Emojis, copy that to your clipboard (CTRL+c), then click OK here.") $ClipContent=_ClipBoard_GetData() ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $ClipContent = ' & $ClipContent & @CRLF & '>Error code: ' & @error & @CRLF & "Extended: " & @extended & @CRLF) ;### Debug Console $File="C:\temp\ClipSaveToFile.txt" $h=FileOpen($File,2+8+64) ; overwrite, create path, UTF16 FileWrite($h,$ClipContent) FileClose($h) $h=FileOpen($File,64) $NeuGelesen=FileRead($h) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $NeuGelesen = ' & $NeuGelesen & @CRLF & '>Error code: ' & @error & @CRLF & StringLen ($NeuGelesen) & @CRLF ) ;### Debug Console FileClose($h) _ClipBoard_SetData($NeuGelesen) MsgBox(0,"Done","Re-read content of TEMP file was placed to the clipboard. Now paste this into WhatsApp. (Emojis will be spoiled)") I've also tried other encodings (16, 32, 64, 512) Or what is a different, functional approach to save WhatsApp Content to File in a way, to be able to to get it back to post it back to WhatsApp? Regards, Rudi.