Keyword: SETVARF - Variable from file

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: SETVARF - Variable from file

Unread post by YiMeng »

Description
  • Set a variable with value from a file.

Parameters
  • x: The variable name
  • y: The full path to the file containing the value to be assigned to the variable
  • y: Allow the use of "@@y" to specify relative path

Usage
  • SETVARF x=y
  • To call the variable use: "%x%"

On error
  • If x is not found, window will throw file not found error
  • If x is not supplied, line command is ignored