Keyword: SETVARW - Variable from web

Keywords are used within scripts that enabled powerful features such as dynamic variables, clipboard manipulation, read/write files, mimic inputs and more.
User avatar
YiMeng
Author
Posts: 235
Joined: Sat Jul 18, 2020 10:58 pm
Location: NY
Contact:

Keyword: SETVARW - Variable from web

Unread post by YiMeng »

Description
  • Set a variable with value from the web, similar to http request or file_get_content.
  • User can specify a data file that can include post variables for the request.

Parameters
  • x: The name of the variable
  • y: The url for the request
  • z (optional): The data file that holds JSON dictionary, key value pairs to use as POST parameters for the request

Usage
  • SETVARW x = y z
  • ex. SETVARW myVar = website/url @@mydata.txt
  • Using the variable: %myVar%
Sample JSON data file
  • {"somekey": "myValue"}