nikivi
1
fap
2
Yes you are mixing things up.
You are using execute shell script with input from.
In that variant the value of MYPATH
is STDIN
for you script. Try like this:
If you run this you will get the output ~/Library
.
If you want to use it as a variable you have to extend it with 'KMVAR_'.
See for example this:
you will get the output KMVAR_MYPATH=~/Library
2 Likes
Nige_S
3
@fap has got you covered, but you should also take a look at the "Execute a Shell Script" action's wiki page, particularly the section "Using Keyboard Maestro Variables".
2 Likes