#NoTrayIcon
If WinExists("antisleep") Then Exit 1
AutoItWinSetTitle("antisleep")
#include <Timers.au3>
While 1
Sleep(1000)
If _Timer_GetIdleTime() >= 1000 * 60 * 60 Then
MouseMove(MouseGetPos(0)+2, MouseGetPos(1)+2)
MouseMove(MouseGetPos(0)-2, MouseGetPos(1)-2)
EndIf
WEnd
import requests
mysession = requests.session()
url = "https://www.shararam.ru/h/CommonController?ClientScriptId=CommonController&ContainerId=CommonController49c9e585&ClientControlClass=CommonController&DisableDomRendering=false&ExpireMinutes=0"
login = "your_name"
resp = mysession.post(url, "<post><webmethod>CheckLogin</webmethod><login>{0}</login></post>".format(login))
# все остальные запросы делай через mysession.get и mysession.post ...
[HKEY_CLASSES_ROOT\pyw_auto_file\shell\open\command]
@="\"C:\\Users\\Alexey\\AppData\\Local\\Programs\\Python\\Python36-32\\pythonw.exe\" \"%1\" %*"
[HKEY_CLASSES_ROOT\Applications\pythonw.exe\shell\open\command]
@="\"C:\\Users\\Alexey\\AppData\\Local\\Programs\\Python\\Python36-32\\pythonw.exe\" \"%1\" %*"
[HKEY_CLASSES_ROOT\py_auto_file\shell\open\command]
@="\"C:\\Users\\Alexey\\AppData\\Local\\Programs\\Python\\Python36-32\\python.exe\" \"%1\" %*"
[HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command]
@="\"C:\\Users\\Alexey\\AppData\\Local\\Programs\\Python\\Python36-32\\python.exe\" \"%1\" %*"