load filename to variable
load file content to variable
- You can enter literal text
- TagUI will first search for the image img.png, then enter the string "this is test123" at the image location
- img.png must be in the same folder as the script
- The image must be in format
- You can specify a relative path to the image, e.g.
- Suppose your script is in the folder:
c:\apps\scripts
- img.png should now be in the folder
c:\apps\scripts\images
- We call this relative path - relative to the script folder
- On windows, please use the forward slash
(/)
for path instead of backslash(\)
- You can use text stored in a variable
- In TagUI, the construct
'+variable+'
will replace this with the value of the variable
type img.png as this is test123
type images/img.png as this is test123
str = "this is test123"
type img.png as '+str+'
Comments (0)