Perforce GUI Utilities

Written by Robert Cowham (Perforce Consulting Partner and Trainer).

Here are some utility scripts for adding to the customisable Tools menu of p4win and p4v.

p4unknown.rb Lists all files in the selected directory and below that are not known to Perforce. Puts up a GUI window allowing you to select the ones to add to Perforce. Elaborated from an original script by Jeff Bowles.

Command: c:\ruby\bin\rubyw.exe
Arguments: c:\path\to\p4unknown.rb -p $p -c $c -u $u %D

Requires Ruby 1.8.2+ and FXRuby1.4. Note that it doesn't need to be a console app with the above stuff defined.

tools.txt File to import the various settings to p4win or p4v. Needs to be edited with the location of the script(s).
publish.rb A very simple version of the automated publish script referred to in my blog. Has hard-coded values for port etc - needs to take parameters!!
publish.py Same as above in Python!

Home

Last updated: $Date: 2005/11/29 $