(complete 0) (set destdir (askdir (prompt "Where do you want to install IntuiCookie? No new drawer will be created.") (help @askdir-help) (default "SYS:WBStartup") ) ) (complete 20) (copyfiles (prompt "Copying IntuiCookie to " destdir) (help @copyfiles-help) (source "") (dest destdir) (pattern "IntuiCookie") (infos) (files) ) (complete 40) (set destcookiedir (askdir (prompt "Where do you want the Data drawer to reside?\nWARNING: Make sure that you don't overwrite an existing cookie file!") (help "This drawer holds the cookie and hash files") (default "Work:IntuiCookie") ) ) (complete 60) (copyfiles (prompt "Copying datafiles to " destcookiedir) (help @copyfiles-help) (source "") (dest destcookiedir) (pattern "data") (infos) ) (copyfiles (prompt "Copying docs to " destcookiedir) (help @copyfiles-help) (source "") (dest destcookiedir) (pattern "docs") (infos) ) (copyfiles (prompt "Copying CookHash to " destcookiedir) (help @copyfiles-help) (source "") (dest destcookiedir) (pattern "CookHash") (infos) ) (complete 80) (tooltype (prompt "Setting tooltypes") (help "This will set the COOKIEFILE and HASHFILE tooltypes, which tell IntuiCookie where to find its data files.") (dest (tackon destdir "IntuiCookie")) (settooltype "COOKIEFILE" (tackon destcookiedir "data/cookies")) ) (complete 90) (tooltype (prompt "") (dest (tackon destdir "IntuiCookie")) (settooltype "HASHFILE" (tackon destcookiedir "data/cookies.hash")) ) (complete 100)