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

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

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?
lnjustin
 
Posts: 5
Joined: Sun Dec 23, 2018 3:43 pm

If the actions are in the same rule, then $1 should be the copy from the previous action.
Mr_Noodle
Site Admin
 
Posts: 7759
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron