On line #18, in the potentiometer.asy file, there's a statement
which tells LTSpice where to look to find the potentiometer.lib
file. Mine says this:
SYMATTR ModelFile C:\Users\vinya\AppData\Local\LTspice\lib\potentiometer.lib
Your's should point to where ever you decide to put your .lib file.
I put my .asy file (the symbol file) here:
C:\Users\vinya\AppData\Local\LTspice\lib\sym\potentiometer.asy
Doing these preliminary steps makes it possible to use the potentiometer
component in any circuit and store its .asc file at any location
on my computer.
You will know you have succeeded if LTSpice throws no errors and
the following line automatically appears in your netlist pointing
to where your potentiometer.lib file is located:
.lib C:\Users\vinya\AppData\Local\LTspice\lib\potentiometer.lib
