Greetings,
I'm trying to run a little script that wakes up a desktop Mac on my home network and mounts a set volume before Hazel moves a set of files to that volume.
Ideally, if a set of files is older than a week in my download folder, Hazel would run a script like this:
tell application "WakeOnLan"
wakeup "iMac"
delay 2
quit
end tell
mount volume "afp://USER:password@[xxxx:5:0:0:203:xxxx:fe6a:9672]/Backup"
Then it would move my files. Somehow, Hazel wants to apply the script to each file that meets the criteria, which makes the script pop up multiple dialogues, etc. Is there a way to have the script run once, then for Hazel to process the files?
Thanks in advance for any help.