introduce script variable content in command line
Posted: Sat Mar 31, 2018 1:01 pm
Hello all,
I would like to write a script that works like this:
1.- Ask me in command line to introduce a string.
2.- Use this string to find certain layer names.
3.- Set specific properties to this layers, like freezing, locking, etc.
I know how to do steps 2. and 3., but I never succeed on step 1. I've found the way to ask a coordinate via command line, but not a string to fill a variable content of the script. Any help with that would be appreciated.
Regards! David
I would like to write a script that works like this:
1.- Ask me in command line to introduce a string.
2.- Use this string to find certain layer names.
3.- Set specific properties to this layers, like freezing, locking, etc.
I know how to do steps 2. and 3., but I never succeed on step 1. I've found the way to ask a coordinate via command line, but not a string to fill a variable content of the script. Any help with that would be appreciated.
Regards! David