How do I copy some text to the clipboard from Mechanical?
Pierre Thieffry
Member, Moderator, Employee Posts: 107
✭✭✭✭
Answers
-
Hi @Pierre Thieffry Can you move your answer to an answer and accept it please? At the moment this question looks unanswered so people aren't likely to realise it is a solved problem!
2 -
Fairly simple code...
clr.AddReference('System.Windows.Forms') from System.Windows.Forms import Clipboard Clipboard.SetText('My text to the clipboard)
0