Get help with using AutoHotkey and its commands and hotkeys
User avatar
Posts: 256
Joined: 02 Oct 2013, 02:57 API

14 Jan 2014, 04:57

Does anyone have any experience with APIs?
I don't understand the examples from
Can someone please explain it to me or if possible create a simple AHK script that can paste text from a variable into Thanks in advance.
User avatar
Posts: 1266
Joined: 29 Sep 2013, 22:57
Facebook: socialjsz
Google: +Jszapp
Location: Denmark


14 Jan 2014, 07:09

No time at the moment to explain but for now here is a function Example from RaptorX's Autohotkey Toolkit thats using a httpRequest function

Code: [Select all] [Expand] [Download] (example.ahk)GeSHi © Codebox Plus

User avatar
Posts: 193
Joined: 30 Sep 2013, 09:51
Facebook: avi.aryan.ap
Google: +AviAryan
GitHub: aviaryan
Location: India


15 Jan 2014, 07:09

I had worked on a Pastebin API earlier but I never released it.
Here is the link ( ... BinApi.ahk ) .
This code pastes on Pastebin

Code: [Select all] [Download] GeSHi © Codebox Plus

pbin := new pastebin()
msgbox % Clipboard := pbin.pasteAsGuest("some text to paste", "paste_name", "autohotkey")

The API is complete with respect to their documentation. It should work well.
Clipjump Clipboard Manager : More Scripts

User avatar
Posts: 256
Joined: 02 Oct 2013, 02:57


15 Jan 2014, 09:52

Thanks guys for the codes. Will try them when I have time. I'm actually trying to create a Pastebin desktop tool, but don't understand the examples on which uses cURL that I totally don't have any knowledge about :?
Posts: 45
Joined: 14 Jun 2017, 05:06


14 Nov 2017, 06:58

Below is an example of how to post on PASTEBIN as a registered user;

This is also useful for someone who needs to make HTTP Requests (Query, GET, POST methods) to other website's API. It is very simple to use and straightforward to understand.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Getting your Dev Key (api_dev_key);

Go to and find the section "Your Unique Developer API Key". Your dev key is listed here.

Getting your User Key (api_dev_key);

Go to Enter your username and password and click "create api_user_key"

Unfortunately it is NOT possible to Edit pastebin pastes using Http Requests.

Return to “Ask For Help”

Who is online

Users browsing this forum: newbieforever, scriptor2016, Xtra and 57 guests