Pastebin how to open a file with using a password

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
bapl
Posts: 119
Joined: 17 Apr 2021, 00:24

Pastebin how to open a file with using a password

Post by bapl » 18 Aug 2022, 03:34

This code checks the link for the presence of the word On

Code: Select all

gaycheck("https://pastebin.com/raw/url", "On")
gaycheck(link, word)    {
oWhr := ComObject("WinHttp.WinHttpRequest.5.1")
oWhr.Open("GET", link, false)
oWhr.Send()
if (oWhr.ResponseText != word)    {
TrayTip("Error")
ExitApp
}
}

If you add a password to a Pastebin file, how can I find out the data about this file with a password?
Any help, please.
Last edited by bapl on 18 Aug 2022, 14:07, edited 1 time in total.

gregster
Posts: 8921
Joined: 30 Sep 2013, 06:48

Re: Pastebin how to open a file with using a password

Post by gregster » 18 Aug 2022, 09:10

Is this really AHK_H related, or just posted in the wrong subforum?
If the former, in what sense? If the latter, it can be moved.

bapl
Posts: 119
Joined: 17 Apr 2021, 00:24

Re: Pastebin how to open a file with using a password

Post by bapl » 18 Aug 2022, 13:52

gregster wrote:
18 Aug 2022, 09:10
Is this really AHK_H related, or just posted in the wrong subforum?
If the former, in what sense? If the latter, it can be moved.
I fixed the code.

At the same time I have to add a password entry line for Pastebin.
How do I do this?

Post Reply

Return to “Ask for Help (v1)”