But now I'm stuck. All I'm trying to do is take screenshots at regular intervals, compare them to the previous shot and upload them to an FTP site when the screen changes. (It took me hours to realize I could just compare files by saying:
Code: Select all
if (URL "thisURL" = URL "thatURL") then
Anyway, I'm stuck because every time I try to copy the current shot over the baseline shot, the current shot gets renamed. In other words, if I do this:
Code: Select all
revCopyFile $HOME & "/snapshot0.jpg", $HOME & "/Baseline.jpg"
Is this an AppleScript thing? Am I just doing something wrong? Copying a file should never change the source file, should it?