Page 1 of 1

Is $1 in a script action occurring after a copy action the o

PostPosted: Wed Jan 09, 2019 8:05 am
by lnjustin
If I have Action A that copies a file from X to Y. And Action B runs a shell script with the $1 argument. Is $1 the copied file in Y just as any other Hazel action would treat it? Or is there some except for scripts because they are run outside of Hazel?

Re: Is $1 in a script action occurring after a copy action t

PostPosted: Wed Jan 09, 2019 11:28 am
by Mr_Noodle
If the actions are in the same rule, then $1 should be the copy from the previous action.