最大何回文字列連結可能か?

こんばんは。

UiPath Studio 2024.10 enterprise editionでクラシックデザインアクティビティを使っています。

たまたま、UiPathでは、SettoClipboardアクティビティを2つ並べてクリップボードに2回文字列を設定後、Ctrl+Vで貼り付けると、2つの文字列が連結して貼り付けられることが分かりました。おそらくこれはWindowsの仕様ではなく、UiPathの独自仕様と思われます。

この操作を繰り返してクリップボードに最大何回文字列を設定して、文字列連結できるか知りたいです。
メモリの許す範囲で、何回でも文字列連結できると推測しますが、この推測は合っていますか?

@gorby

Normally, the Windows clipboard holds one item at a time. When you copy something new, it replaces the previous content.

However, if you place two Set To Clipboard activities back-to-back in the same workflow without any delay, UiPath may queue the operations and concatenate the strings before committing them to the clipboard. This is likely due to how UiPath batches clipboard operations in memory before the final flush.

There is high chance that it can miss to concatenate all the strings you are trying because it is suppose to overwrite existing data in the clipboard. It’s better to concatenate the string in a variable and then use Set To Clipboard activity.