Page 1 of 1

Send notifications to your phone (android / ios) using autohotkey and HTTP post method

Posted: 13 Nov 2017, 13:04
by labrint
Step 1: Sign up with pushover
Step 2: Purchase the app (around 4-5 euro for lifetime of use)
Step 3: Create an AHK file with the following code
Step 4: Obtain your "user key" from https://pushover.net/
Step 5: Replace €€€ in code with the newly obtained user key from step 4
Step 6: Create your token by clicking "Create an Application/API Token" from https://pushover.net/
Step 7: Replace $$$ in code with the newly obtained token from step 6
Step 8: Try replacing the ££££ and #### to create new push messages (link them to some variable from your script)
Step 9: Try changing the sound in the param or adding parameters from https://pushover.net/api

Code: Select all


title := "££££"
message := "####"

param := "token=$$$&user=€€€=" message "&title=" title "&sound=cashregister"
str =https://api.pushover.net/1/messages.json

url_tovar(URL, param) { 
    WebRequest := ComObjCreate("WinHttp.WinHttpRequest.5.1")
    WebRequest.Open("POST", URL)
	WebRequest.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded")
    WebRequest.Send(param)
}

url_tovar(str, param)


Re: Send notifications to your phone (android / ios) using autohotkey and HTTP post method

Posted: 27 Nov 2018, 06:53
by manueljim
Hey I'm following this and not getting any luck, is this method still working?

Re: Send notifications to your phone (android / ios) using autohotkey and HTTP post method

Posted: 27 Nov 2018, 07:06
by manueljim
Just FYI there is a

&message

missing after
param := "token=$$$&user=€€€
so it should be

Code: Select all

param := "token=$$$&user=€€€&message=" message "&title=" title "&sound=cashregister"

Re: Send notifications to your phone (android / ios) using autohotkey and HTTP post method

Posted: 27 Nov 2018, 15:50
by adegard
Great ! I will give a look!
[EDIT]: users need to have an app installed to received notifications??
Also for work I use
SMS ...https://github.com/adegard/SMS-Marketing
or Whatsapp...https://www.waboxapp.com/whatsapp_api/php

Re: Send notifications to your phone (android / ios) using autohotkey and HTTP post method

Posted: 04 Dec 2018, 08:28
by Arkan
adegard wrote:
27 Nov 2018, 15:50
Great ! I will give a look!
[EDIT]: users need to have an app installed to received notifications??
Also for work I use
SMS ...https://github.com/adegard/SMS-Marketing
or Whatsapp...https://www.waboxapp.com/whatsapp_api/php
Nice,
i read about sms-marketing.Good explanations and quite simple.

It will be possible to explain in the same way on the example email marketing by using Atompark sendler?

it would be great to read such information

Re: Send notifications to your phone (android / ios) using autohotkey and HTTP post method

Posted: 04 Dec 2018, 15:02
by adegard
It will be possible to explain in the same way on the example email marketing by using Atompark sendler?
Already done by @Ken Soh:
:D

Re: Send notifications to your phone (android / ios) using autohotkey and HTTP post method

Posted: 07 Dec 2018, 13:33
by Arkan
Cool!