Jump to content
joseLB

whatsapp boot

Recommended Posts

joseLB

There is any piece of code in AU3 that allows to read a whatsapp message on PC?

I need to do a whatsapp boot, and of course, would like to do in au3. But probably I will need some kind of external program/library to receive the message and then make au3 read it and do the automation I need.

Share this post


Link to post
Share on other sites
Jos

Only way I can imagine is using the Web frontend of WhatsApp but that obviously requires the phone to be there as well.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
joseLB

Hi Jos, thanks, you are right, as I know up to now  the phone must be turned on and connected. Not the ideal solution, but I think this is not a major problem.

That means also that I will need to deal with chrome or IE udfs to try to read those messages, correct?

If that´s the way as I´m not very familiar with browsers controls, I will need to learn about them before...

Interesting to notice that at wiki ( https://www.autoitscript.com/wiki/User_Defined_Functions#Social_Media_and_other_Website_API ) we have UDFs for Skype and even Telegram, but none for whatsapp... (https://github.com/xLinkOut/telegram-udf-autoit), while whatsapp is much more used today.

Jose

 

Edited by joseLB

Share this post


Link to post
Share on other sites
Jos

Telegram is so much easier as that supports other devices to use the BOT option which can be used for both sending and receiving messages.
Whatsapp doesn't allow that option and requires to have its own unique mobilenumber attached to its session.

So what exactly do you want to get done here?

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
joseLB

How it shoud work:

  • a user gets in chat with this phone/boot (can be direct chat or a group chat)
  • as the messages arrives at bot, AU3 must read the message and take some actions

So, it´s very "simple". Au3  must know when there is a message and get it.

Besides text msgs, ideally it shoud get image/vídeo/voice msg.  And, not a must, to be able to send some simple text messages

Edited by joseLB

Share this post


Link to post
Share on other sites
Jos

Well, this is doable with Telegram as that supports the BOT concept.

https://telegram.org/blog/bot-revolution

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
joseLB

Thanks Jos, I see.

Do you think what I need is resonable to do with whatsapp web? I mean, try to get arrived messages with Chrome or IE UDF?

Or is a waste of time? (as I will need learn how to deal with these udfs/browsers first?)

Thanks

Jose

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • DynamicRookie
      By DynamicRookie
      Hey There!
       
      So, what i need to do is an app that can read text in a image (I.e. a png that has text saying "This is a png" and return the text to a variable)
      I'm pretty much a newbie on AutoIt, my purpose is doing that but i don't know any function that can

      Any help is much appreciated
    • santoshM
      By santoshM
      How can i exit from a procedure in auto
      Func test() if x=o then     return endif endFunc  
    • Valnurat
      By Valnurat
      Hi
      Small question.
      I trying to find all index in an array with value higher than 7.
      How can that be possible?
    • TrashBoat
      By TrashBoat
      Could someone help me create or give an idea of how to do a incrementing for loop that would do this: https://i.imgur.com/YFUt47H.gifv
      I'm having a hard time figuring it out :S
    • msd1994
      By msd1994
      I have a script that just adds some keyboard shortcuts for things like displaying the current song and artist, moving the window to the side so it won't pop up in my way, and play/pause, next song, previous song (these are the only 3 to still work since they don't need the window handle.)
      In some update recently, Spotify's window class swapped from "[CLASS:SpotifyMainWindow]" to "[CLASS:Chrome_WidgetWin_0]". Using the new class in my controls doesn't seem to work, I've tried getting the window handle from the process handle (_GetHwndFromPID($PID)) but that seems to fail as well.
      Does anybody have some idea of a way I could get this script working again?
       
      edit: seems like discord has the same window class name, so could be some issue with this? Still not sure of a way to solve the issue though, I added a function to get the handle of the active window and can just use that now, but it was able to find it on its own before on spotify startup or script startup which would be preferred.
       
      Thanks!
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.