Adam Singer

Veni, vidi, expertus sum- I came, I saw, I tested

Snip/Cut: Extracting and implanting data

To misquote Kermit the Frog, “Time’s fun when you’re catching flies and other bugs.” It’s been awhile, I suppose, but we’ve been busy writing new automated tests, verifying fixes, and generally Making Things Work ™.

In any case, something came to mind recently that I wanted to pass along. As I mentioned in a previous post, many of our commands and functions have nifty hidden functionality. Another such extra is that several dialogs with listviews have copy enabled. Some even allow you to paste the text right back in. Two dialogs where you find this are the workspace and history dialogs.

In the workspace dialog, you can select multiple working folder mappings and then copy them to the clipboard. In this case, our clipboard would now contain:

 $/Sudden Genesis Productions: C:\Documents and Settings\adamsi\Desktop\SGP
 $/Sudden Genesis Productions/Graphics: D:\My Documents\My Pictures
 (cloaked) $/Sudden Genesis Productions/bin:

Another user can take this text wholesale and paste it into their working folder mappings.

In History, selecting one or more rows enables the “copy” functionality, as well. In the dialog shown, suppose we highlight all rows and copy. Our clipboard would then contain:

74 edit adamsi 7/26/2005 10:11 AM My comment
12 merge, edit adamsi 7/20/2005 4:14 PM 
9 edit adamsi 7/20/2005 4:13 PM 
8 rename adamsi 7/20/2005 4:13 PM 
7 undelete adamsi 7/20/2005 4:12 PM 
6 delete adamsi 7/20/2005 4:12 PM 
5 edit adamsi 7/20/2005 4:12 PM 
4 add adamsi 7/20/2005 10:48 AM 

While you can’t then paste this into another window to cause new changes to occur, it at least gives you a way to quickly copy a few changes to share with teammates.

Go to, me hearties! (Is anyone else excited by the fact that Pirates of the Caribbean has not only a sequel but also a second sequel?)