So expressions is using this symbol ":=" what does that create exactly?
like a temporal clipboard named to whatever I want?
or is there rules for what can be named, the information it can be stored?,
and the amount of expressions I can create?
I have this code that is copying files and creating a directory.
I have used No := as my expression, but realized for what I want I need to use TWO expression in the same command line. So I've created a "Ni :=" expression hoping that it would work.
.
.
Probably very obviously to most other people in the forum. It. does. not.
What could I use to fix. this code and be able to use to expressions (that are trimming the clipboard) in the same line, or what am I doing wrong.
Thank you for reading. And taking the time to helping someone else understand.
Code: Select all
^+T::
No := SubStr(ClipBoard, 1, 4)
filecreatedir, c:\temp\%no%\%clipboard%
sleep, 600
filecopy, C:\Users\Enrique\Desktop\Templates\New Project Template Master.xlsx, c:\temp\%no%\%clipboard%\%clipboard%.xlsx
sleep, 600
Ni := SubStr(ClipBoard, 8, 5)
filecopy, C:\Users\Enrique\Desktop\Templates\dal_xxxxx_1.stream, c:\temp\%no%\%clipboard%\dal_%Ni%_1.stream
run, c:\temp\%clipboard%
return