I’m relatively new to AppleScript but have been coding for a long time so bring certain assumptions from other languages. Please take a look at the attached screenshot. I have encountered this issue quite a lot so am increasingly starting to think it must be a bug rather than my poor programming. “srcFolderName” should be visible. In fact, it is visible because it was successfully used in the “pathExists” function call on the line above. Why is it not listed in the variable pane, nor valid in the watch/expression pane?