Tom_X
August 20, 2008, 1:24pm
#1
I get the following error “The variable this_folder is not defined.” with this part of the script.
on open
tell application "Finder" to set this_folder to the folder of this_folder
-- do stuff here
end open
Thanks for any help.
Tom
Browser: Safari 525.20.1
Operating System: Mac OS X (10.5)
Hi,
if the variable this_folder is no property or a global, it’s indeed not defined.
Local variables are only visible in the scope in which they are created
Tom_X
August 20, 2008, 4:27pm
#3
Hi - Thanks for the explanation as I was able to suppress the error.
Tom
Operating System: Mac OS X (10.5)