[Outdated] WhatsApp with AHK
Re: WhatsApp with AHK
Hah, I suspected there was a more elegant way to implement the enter-to-send function other than Enter::SendClick ..., I need to look into webpage interaction more .
Re: WhatsApp with AHK
I think he means save the icons as base64 string and use them this way.
ref: Image2Include - #include images in your scripts by just me (using base64)
ref: Image2Include - #include images in your scripts by just me (using base64)
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
Re: WhatsApp with AHK
Yup!
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
-
- Posts: 463
- Joined: 24 Jan 2014, 22:28
Re: WhatsApp with AHK
Yeah, I could do that, but we are talking about 102 icons.
I was considering using gdi+ to generqte the different numbers on the tray icon. That way I'd only need to include about 3 icons. But I'm not sure if I'm legally allowed to include images in my programs that I don't have the copy rights for.
I was considering using gdi+ to generqte the different numbers on the tray icon. That way I'd only need to include about 3 icons. But I'm not sure if I'm legally allowed to include images in my programs that I don't have the copy rights for.
-
- Posts: 463
- Joined: 24 Jan 2014, 22:28
Re: WhatsApp with AHK
You might need a newer version of IE to get this to work.
-
- Posts: 463
- Joined: 24 Jan 2014, 22:28
Re: WhatsApp with AHK
Changes for v1.2:
-Fixed a bug where the last letter of each message wasn't sent to the chat (thanks to Pinkfloydd for reporting)
-Fixed a bug where writing a message, deleting it and then pressing enter would still send the deleted message
-Fixed a bug where the last letter of each message wasn't sent to the chat (thanks to Pinkfloydd for reporting)
-Fixed a bug where writing a message, deleting it and then pressing enter would still send the deleted message
Re: WhatsApp with AHK
I figured the missing last typed character (happened also if adding something mid-sentence) was due to some IE compatibility thing. What was the cause of the problem than?
I can't remember if it also happened when clicking the Send-button or only when pressing Enter, because the fix is only for the latter, right?
I can't remember if it also happened when clicking the Send-button or only when pressing Enter, because the fix is only for the latter, right?
-
- Posts: 463
- Joined: 24 Jan 2014, 22:28
Re: WhatsApp with AHK
Well, I don't know what exactly the problem is/was. If I force it to run in IE directly, there are no such issues. Even enter-to-send works just fine without any modifications.
For the script: It's still happening when you click the send button.
I'll probably write a completely new UI.
For the script: It's still happening when you click the send button.
I'll probably write a completely new UI.
Re: WhatsApp with AHK
@Brutosozialprodukt:
Maybe this is interesting for you (WhatsApp for Desktop)
Maybe this is interesting for you (WhatsApp for Desktop)
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
-
- Posts: 463
- Joined: 24 Jan 2014, 22:28
Re: WhatsApp with AHK
Yes, this is very interesting, thank you!
Re: WhatsApp with AHK
hey, its me again, this time to tell you that im on windows 10 now, and it works so far theres one issue though:
it keeps "loading" the qr code which is needed to connect whatsapp(it doesnt load even on a full IE window):
and this is what i found about the issue online:
so yea.... does the script still work on your side? or is there any workaround?
thanks for any help
it keeps "loading" the qr code which is needed to connect whatsapp(it doesnt load even on a full IE window):
and this is what i found about the issue online:
so yea.... does the script still work on your side? or is there any workaround?
thanks for any help
-
- Posts: 463
- Joined: 24 Jan 2014, 22:28
Re: WhatsApp with AHK
Just tried it and I can confirm the script is not working anymore, Unfortunately I don't have the time to fix it atm.
Re: WhatsApp with AHK
Thanks for letting me know, and thats fineBruttosozialprodukt wrote:Just tried it and I can confirm the script is not working anymore, Unfortunately I don't have the time to fix it atm.
-
- Posts: 34
- Joined: 19 Jan 2016, 13:43
- Location: Germany
Re: WhatsApp with AHK
Hi there,
Unfortunately it doesn't work behind our business proxy Server (web.whatsapp.com is working).
Could you include a proxy setting?
Unfortunately it doesn't work behind our business proxy Server (web.whatsapp.com is working).
Could you include a proxy setting?
-
- Posts: 463
- Joined: 24 Jan 2014, 22:28
Re: WhatsApp with AHK
I just did some debugging and spoofing the user-agent just isn't enough anymore. It seems like whatsapp is checking what functionality the browser is actually supporting in addition to the user agent string check.
It might be possible to inject code to hide missing functionality from whatsapp, but it might also render it useless...
A good starting point for debugging and stack tracing would probably be:
But IE's debugging tools suck so much... I wasn't able to even get to the code because of the redirect.
And intercepting with Fiddler resulted in certificate issues...
So I give up. It would stop working eventually anways as WhatsApp seems to start relying on more and more modern browser features that IE will never get.
So my advice is to take a look at the project that jNizM mentioned: https://autohotkey.com/boards/viewtopic ... 217#p48217
Code: Select all
BROWSER_CAPABILITY: {
getRandomValues: !(!window.crypto || !window.crypto.getRandomValues),
localstorage: !!window.localStorage,
sessionstorage: !!window.sessionStorage,
url: !!window.URL,
websocket: !!window.WebSocket,
worker: !!window.Worker
},
A good starting point for debugging and stack tracing would probably be:
Code: Select all
var t = y.CAPABILITY_URL + "?missing=" + n.join(",");
window.location.replace ? window.location.replace(t) : window.location.href = t
And intercepting with Fiddler resulted in certificate issues...
So I give up. It would stop working eventually anways as WhatsApp seems to start relying on more and more modern browser features that IE will never get.
So my advice is to take a look at the project that jNizM mentioned: https://autohotkey.com/boards/viewtopic ... 217#p48217
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: No registered users and 232 guests