Quote:
Originally Posted by JScones
Would people prefer this option be *replaced* with a simple "Copy activated mods list to clipboard" task?
|
Either way is fine. IMO, the ultimate would be to just allow a normal highlight and copy from that (listbox?) with ctrl + c, and maybe throw a "copy" item on your right-click context menu. No idea what language you're using, but in case it's .net, here's the keystroke vb code ready to plug in:
Code:
Private Sub ListBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ListBox1.KeyDown
If e.Control Then
If e.KeyCode = Keys.C Then
Dim strContents As String = ""
For j As Integer = 0 To ListBox1.SelectedItems.Count - 1
strContents += ListBox1.SelectedItems(j).ToString & vbNewLine
Next
Clipboard.SetText(strContents)
End If
End If
End Sub