on JavacPathDel() tell application "Finder" activate open folder "MRJClasses" of folder "MRJ Libraries" of folder "Extensions" of folder "System Folder" of startup disk end tell end JavacPathDel on run --this starts the action if the script is run from the scriptEditor tell application "Finder" open folder "MRJClasses" of folder "MRJ Libraries" of folder "Extensions" of folder "System Folder" of startup disk end tell end run on open X --this starts the action if the script is double clicked or has file dropped onto it tell application "Finder" activate open folder "MRJClasses" of folder "MRJ Libraries" of folder "Extensions" of folder "System Folder" of startup disk end tell end open