Finding unsubscribe button regardless of how it is worded in emails

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
milkygirl90
Posts: 565
Joined: 10 Nov 2020, 21:22

Finding unsubscribe button regardless of how it is worded in emails

14 Jun 2021, 20:30

This simple script can only cater to the 1ˢᵗ scenario, but not the others. How can I improve it such that it will help me find clickable unsubscribe links if the 1ˢᵗ case fails?

Code: Select all

^q:: ; Find Unsubscribe button in Gmail
Sendinput {end}^f
Sleep 200
SendInput Unsubscribe
Sendinput {esc}
Sleep 100
SendInput ^{enter}
return
https://i.imgur.com/7u8uRWj.png
https://i.imgur.com/Uyx0h0q.png
https://i.imgur.com/31V31Wc.png
https://i.imgur.com/gkIfjRu.png
https://i.imgur.com/WBlQG9G.png
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: Finding unsubscribe button regardless of how it is worded in emails

15 Jun 2021, 14:28

write an AI with the intelligence of a human, because computers don't know what you want.
or
hard-code in every variation, and do actions accordingly.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Finding unsubscribe button regardless of how it is worded in emails

15 Jun 2021, 17:20

send a mail to the address or visit the link indicated by the List-Unsubscribe header
User avatar
milkygirl90
Posts: 565
Joined: 10 Nov 2020, 21:22

Re: Finding unsubscribe button regardless of how it is worded in emails

16 Jun 2021, 01:28

swagfag wrote:
15 Jun 2021, 17:20
send a mail to the address or visit the link indicated by the List-Unsubscribe header
do u mind elaborating on the latter?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Finding unsubscribe button regardless of how it is worded in emails

16 Jun 2021, 02:55

by law, whoever is sending u the newsletters is required to include this optional email header. u can inspect the email headers and either send an email to the specified address or visit the specified link to unsubscribe urself. that's the same as clicking the unsubscribe link(typically at the bottom), except without having to go hunt for it among a thousand possible different wording permutations

of course, if the sender isn't complying, ure sol(u can report the top the ftc if theyre based in the us i guess)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: fiendhunter and 224 guests