Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
brian guenther
3 discussion posts
I am trying to simplify filling in information in a form using ClipboardFusion macros. I need to remove some of the text that is already there. I’ve tried using:

BFS.Input.SendKeys(“{BACKSPACE}”);
BFS.Input.SendKeys(“{BACK}”);
BFS.Input.SendKeys(“{BKSP}”);
BFS.Input.SendKeys(“{BS}”);
BFS.Input.SendKeys(“{VK_BACK}”);
BFS.Input.SendKeys(“{VK_DELETE}”);

None of these seem to be working. Is ClipboardFusion capable of doing this?
May 8, 2024  • #1
User Image
brian guenther
3 discussion posts
FWIW, I did find a work around, copying the text into the macro, using substring to shorten the string (what I needed gone is always the end of the text, and fixed length), adding what I want to the end, and pasting back out.

I am still interested in knowing if sendkeys can send delete or backspace though.

Thank you!!
May 8, 2024  • #2
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Yep, this code will send a backspace: BFS.Input.SendKeys("{VK_8}");

and this code will send a delete: BFS.Input.SendKeys("{VK_46}");
May 9, 2024  • #3
User Image
brian guenther
3 discussion posts
Quote:
Yep, this code will send a backspace: BFS.Input.SendKeys("{VK_8}");

and this code will send a delete: BFS.Input.SendKeys("{VK_46}");


Thank you!

Is there a canonical list of the bfs virtual keys, or would I be best served using a list such as https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes and converting the "Value" to decimal?
May 9, 2024  • #4
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
You can reference this list for the codes: https://boostrobotics.eu/windows-key-codes/
May 9, 2024  • #5
User Image
C# Clouseau
87 discussion posts
Maybe a good idea to put the info about "https://boostrobotics.eu/windows-key-codes/" here "https://www.clipboardfusion.com/Macros/Help/#bfsInputSendKeys" ?
May 11, 2024  • #6
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Yeah good idea, we'll add that in
May 17, 2024  • #7
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)