I know about the existence of kVK_RETURN but I donât find any docs about use this on mac(. It may be necessary to connect some library, but I have no idea where to find its nameâŚ
The fear is that this implementation is impossible to implement to copy/paste from the buffer. And other frameworks can do it, what am I wrong about I donât understand.
@olilarkin
Please if you have something to add to this problem. I built IPlugControls and it doesnât copy/paste on the mac either. I am aware that I deliberately ask the author of FRAMEWORK about what DOES NOT WORK.
Please donât SHOUT or be rude. I donât want to have to ban anyone else.
It is not clear to me what you are trying to do. It seems like you are trying to test keys in âOnTextEntryCompletion()â and then call another controlâs OnMouseDown() method. This is weird and doesnât make sense to me - itâs not a good way to do it. That is a call where you handle a string that has been typed into the text entry, after the text has been committed (return pressed)
If you can describe very clearly the exact thing you are trying to implement, then we might be able to suggest a better way to do it.
In IPlugControls I can can copy and paste values between text entries and e.g. into IEditableTextControl.
I wanted to say that I do not know what to do already in this situation. And Iâm not asking you to write code for me or be rude or yell at someone. I want to figure out how to do the following without any problems (because there are no examples anywhere and Iâm writing code that stinks):
There are two fields in the plugin for authorization, this is the login and password, we enter the login and password (or by copying) we do it. On both versions of operating systems.
I wrote a code in which I enter data and press enter. But the problem is this, there is no support for copying from the clipboard on Mac (More precisely, my code will not support it).
Understand you are asking for donations, I am ready to donate as much as I can. As long as you answer my stupid questions and make a list of them for future questioners.
And if you think that knowing some programming languages is so easy to write in C++ right away. Then I have bad news for you.
And if you think that I was rude to someone here and shouted at someone, then block me boldly right now.
Your attitude is bothering. AnywayâŚ
The IEditableTextControl should do what you want. Even copying and pasting through keystrokes. Copy/Paste is additionally implemented by a right click menu.
OnTextEntryCompletion is called after pressing âEnterâ. So this should do exactly what you want. At least it does hereâŚ
Did you check in different DAWs? E.g. Reaper may prevent to pass keystrokes to the plug if not explicitly allowed to.
@stw
Why am I going crazy. Iâll explain now. Without any additional code, it works great in any DAW on Windows and doesnât work anywhere on Mac. (I meand â C+V).
Logic is one of the DAWs which prevent copy/paste by key commands (at least AFAIK).
Since itâs mac only you wonât have any comparison to a windows machine. At least right click copy/paste is also available there.
Other DAWs (i checked Ableton, Reaper) are working fine and text or values can be copy/pasted in the plug.
Unfortunately, this is something you just have to work around since many DAWs steal keypresses.
Most plug-in devs put a button that pastes e.g. a serial number from the clipboard, since CMD-V is blocked. In iPlug you can get the contents of the clipboard with