// Dirty Pictures Manual Install Helper // v0.1 - Modified 9-14-09 // By Doug Boutwell // Copyright 2009 Boutwell Studio LLC. // Shows dirtypictures.jsx and the folder you need to install it to. var isMac = false; if ($.os.match("Mac")) { isMac = true; } // baseDir = directory where preview files, global config, etc goes... // relative to the script file's location var home = null; if (!isMac) { home = $.getenv("APPDATA"); } else { home = Folder.appData.absoluteURI; } _pieces = home.split("/"); _pieces.push("Totally Rad Dirty Pictures"); traDir = new Folder(_pieces.join("/")); _pieces.push("support"); baseDir = new Folder(_pieces.join("/")); baseDir.execute(); photoshop = app.path; _pieces = app.path.absoluteURI.split("/"); //_pieces.pop(); _pieces.push('Presets'); _pieces.push('Scripts'); scriptsDir = new Folder(_pieces.join("/")); scriptsDir.execute(); Window.alert('To install Dirty Pictures Manually:\n\n1 - Copy dirtypictures.jsx from the SUPPORT folder to the SCRIPTS folder (both these windows have been opened for you).\n\n2 - Restart Photoshop. Dirty Pictures should now be available in your Filters menu.\n\nContact us at www.gettotallyrad.com/support if you need any further help.');