Paste text not working properly

Describe the bug
I use a keyboard shortcut (F13) to "Type text" with "Insert text by typing". None of the text will ever remain capitalized. For example, if it is set to "Hello", it will type "hello" instead. If I use the "Insert text by pasting" method, it does work. However, the application I'm using needs to use the typing method.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Any keyboard to invoke this action--probably doesn't work when invoked via a mouse, etc.

Screenshots
n/a

Device information:

  • Type of Mac: iMac 5k
  • macOS version: 10.14.3
  • BetterTouchTool version: 2.428

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):

Note: Before bug reporting, please make sure you have the latest version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.

probably the application you are using it with doesn't respect the synthetic shift modifier key.
Is it some sort of remote desktop solution?

You are correct, I am using Jump Desktop which allows me to remote into a Windows 10 machine. It will only type lower-case letters. Is there any workaround (other than pasting, which DOES show upper case letters, but which doesn't invoke the same response as the typing action).

You could try to enable shortcut compatibility mode for that app:
image
Maybe that will help!

Compatibility mode didn't help--it left lower-case letters and the events were sent out of order. For now, I have it broken down into many different actions where it sends specific upper-case key strokes individually and then "types out" the lower-case letters so that I don't have to have one action per letter. If you come up with a fix, please let me know. Thank you for your hard work!

I'm having the same issue with the native macOS Screen Sharing app. It has a known issue where when remote is Linux, cut-and-paste works remote-to-local, but not local-to-remote. I thought I had found a solution with the "Type contents" paste, but it always types lower case (the shift goes missing).

Same issue with BTT 3.402 and an xterm in XQuartz 2.7.11. Trying moeharri's suggestion with sending Shift Up and Shift Down only got the system confused about the state of the shift key, believing it was down no matter if Shift Up or Shift Down was the last item, no matter which application I used the typing shortcut in. Restarting BTT was the way to set things right. (Does "Down" and "Up" refer to pressing and releasing the physical key or what it's supposed to do to the characters following it?)

Regarding the issue of not being able to insert it in some applications: Adding a small delay / pause before enables the typing.

However I also have the same issue of all the letters being lowercase

I am now struggling for 30minutes trying to get this right, but now it seems to being completely broken. When leaving the text selected in normal native apps it even pastes it twice, in my novnc browser window it refuses to work at all now - only pasting a single v. Also can’t find any option of maybe delaying each keystroke. I mean for sure I can find a workaround and I am pretty sure, that this gread company Proxmox from Austria could fix this thing once and for all for everybodies sanity: As installing spice components really is not a viable option when I just try to paste a password in the installer for an OS. I hate software so bad, 60 years of active development in this great world and we are still dealing with the simplest of issues; it’s so frustrating I sometimes just want to get back in a remote cabin and not touch a keyboard ever again

unfortunately I don’t know of a way to properly type text into apps like virtual machines or remote desktops. Events are not transferred and/or handled to the virtual desktops like they would be with an app running macOS

There are some vnc apps that work better than others, in the end these apps need to correctly translate every event to something their remote can understand

It is just a novnc viewer in my webbrowser (zen). But yes, this has to properly translate the keystrokes. And the latter is kind of an issue on its own: If one sets the remote machine keyboard layout correctly: yes, it may work. However if you administer a machine from different clients, this shouldn’t be dependend on the keyboard layout. But I suppose there is also no proper way to “paste” characters and not keystrokes in general?

Raycast also has the option to paste the clipboard sequentially but this also didn’t work.

However: An Apple Script from Gemini now did the trick when accepting a few drawbacks.

My goal is to simply paste generated passwords from the password manager and it seems to me to rather use a long password then one with special characters (bc of the keyboard layout settings) and not using y or z and also no numbers. And maybe also only using lowercase if any more issues regarding the usage of the Shift key arise..

So my working version now is:
Keyboard Trigger (make sure to maybe not use alt/option) → (somewhat optional) asynchronous delay of 1 sec → Apple Script via Shortcuts (Kurzbefehle; make sure to grant accessibility setting when asked on first execution) with input {CLIPBOARD_CONTENT}. (Edit: Or select Run Apple Script with Clipboard in the shortcuts app i suppose)

The additional delay of 0.5 seconds also is probably optional, regarding your use case just try it out, as well with regards to the delay between the keystrokes:

Apple Script:

on run {input, parameters}
	set theText to (the clipboard as text)
	-- Somehow still needs the {CLIPBOARD_CONTENT} as input
	tell application "System Events"
		delay 0.5
		repeat with i from 1 to length of theText
            delay 0.05
            -- edit: put the delay between keystrokes here
			set char to character i of theText
			keystroke char
		end repeat
	end tell
	return input
end run