AlomWare Toolbox Forum

General Category => Tips and Tricks => Topic started by: GrahamB on June 15, 2026, 10:16:42 AM

Title: Non-destructive temp clipboard cut
Post by: GrahamB on June 15, 2026, 10:16:42 AM
I know the topic title is a mouthful, lol. But here's what I mean: it's an alternative clipboard cut function that remembers the current clipboard text, but lets me cut some selected new text for a temporary paste somewhere else. Once pasted with Ctrl+V, then original text goes back into the clipboard again. So it's good for when you don't want to lose the clipboard text but do need to make a temporary cut and paste with other text. I've got it bound to Shift+Ctrl+X and it works flawlessly. You can easily adapt this to work with copying as well (just duplicate the action, change step 2 to be the copy step, and bind a hotkey to something like Shift+Ctrl+C).

(Start)
HOW TO USE: Copy from Start to End, and then paste into an action.
REFERENCE : See an example of pasting at alomware.com/paste.png
0001 Wait: For action hotkey to be released ""
0002 String: Assign from clipboard text ""
0003 Keyboard: Cut ""
0004 Wait: For keypresses or mouse clicks "{ctrl}v"
0005 Clipboard: Assign text "string$"
(End)
Title: Re: Non-destructive temp clipboard cut
Post by: Paul (Lead Developer) on June 15, 2026, 10:26:50 PM
A very cool tip, Graham!
Title: Re: Non-destructive temp clipboard cut
Post by: Xoannon on June 17, 2026, 10:36:54 PM
Doesn't work for me with Shift+Ctrl+X as the hotkey. It works with other hotkeys combos. Is this another case of it getting confused because Ctrl is part of the hotkey, so it can't cut correctly?
Title: Re: Non-destructive temp clipboard cut
Post by: GrahamB on June 18, 2026, 05:44:12 PM
I edited my post to include the wait for hotkey step, so it should work for you now.