!!Script // // runs P4Win // // (c) 2000 Software System Group, TU Harburg // Axel Wienberg, ax.wienberg@tu-harburg.de // // based on CSRCS binding by joe robertson, jmrobert@ro.com // var perfdir = File.getApplicationPath() + "\\Tools\\Perforce"; function DoCommand() { //get outputwindow object output = getOutput() output.clear() // common function moved to utilities var util = getScriptObject(perfdir + "\\utilities.script"); var p4path = util.getP4Path(); if (p4path == null){ output.writeLine("Perforce Program directory not set."); } else { var program = p4path + "\\p4win.exe"; var commandLine = program; var tool = newTool(); tool.runStandAlone(program, commandLine, true); output.writeLine("P4Win Started."); } } !!/Script
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 1014 | axel_wienberg |
copied perforte and sitepadp4 files from my homepage to the public depot. happy branching and improving :-) |