I have a script that uses global variables to pass information to a subroutine. The script works perfectly when I run it from Script Editor using files selected in the Finder, but when I wrap it in "on open" tags and run it as a Quicksilver action, I get variable not defined errors for global variables set in the parent script and used in the loaded subroutine. Does anyone know why this is happening and how I can work around it?
Thank you, Rebecca
