Open Text input field -> wait for text -> enter

Should be easy, but did not find out yet.

Instead of using Insert own text/ type in text (static), I'd like to have a window to write in the text (flexible).

Example: BTT makes a double click and puts in the number "50" which I predefined in the action trigger for Insert own text/ type in text. But BTT should ask me, which number I want to have, a "50" or a "2500" etc. I do not use clipboard.

I probably don't understand your use case. But it's enough if you understand it. :slightly_smiling_face:

Try this. It should do what you want.

Zahlen_triggers.bttpreset (7.2 KB)

The trigger is fn + double click
Then a small input window opens (with autofocus)
Enter your numbers
Press ENTER
The numbers are pasted where the cursor is

1 Like

Besten Dank!
Werde ich morgen ausprobieren. :grinning_face:

If I am right, after importing your preset it should show up Voreinstellungen-> Aktive Presets auswählen.
But it is not there. It is no where. Either double clicking on the file or Voreinstellungen -> Import both I get the warning dialog to trust those sources. After that nothing happens. I don't understand this User Design, sorry. :see_no_evil_monkey:

I think it's just a trigger that should appear in the mouse section.

It's just an exported trigger, it will be in your "normal mouse" section. However I'm not sure if that is what you needed :smiley: I also didn't understand your requirements in the first post

I think you are rather looking for something using the "Ask For Input" action, but I'm not sure what it should do based on your post :smiley:

The trigger does exactly that ... even if I don't know what for :slight_smile:

This would be asking for your favorite number and pasting it:

Explanation my example: LogicPro audio region Fade-In or Fade-out via Keystroke and with Input of its length (50 or 2500 or whatever).

Regarding your idea: Paste text, what did you write in? I tried the "Insert Special -> User Variable" but there isn't my "fade_time". Looks like you did kind a script in the textfield? May I understand, if I have to use "(BTT)@variable:fade_time(BTT)"

yes, if your variable is called fade_time that would be correct. (the variable will also show up in user variables once you have triggered the action)
So you basically want to show a prompt asking for the fade duration, then continue with auto-selecting some text field via some script and paste the number there?

Yes and it works fine already. Thanks for your help, Andreas. (was sitting in the train, failed connection)

This "(BTT)@variable:fade_time(BTT)" is a BTT internal coding approach?

1 Like