Quick question on the If action: can a variable can be used inside the shell script text option?
For instance, in the screenshot below, I use a variable in a curl ... | grep command, and it doesn’t work... but I’m curious if I’m just doing something wrong or this simply isn’t a feature.
I’ve tried this method... (Action Screenshot: click to expand/collapse)
Hi, @cdthomer. Interestingly with my testing, Include No Variables was selected by default for the The shell script text script box. When I change it to Include All Variables, the script works as expected.
That raises another question. If one needs only one variable in the shell script, is there any reason one might want to select the specific variable versus Include All Variables?
On a related note, I noticed in the wiki screenshots that the dropdown menu does not exist.
Good question... I imagine if you were to include all variables, it might slow down the macro’s execution (albeit by a marginal amount), but I don’t really know for sure.