FAQ  •  Register  •  Login

Do Mapped Key Action -- trying to get this to work

Moderator: MiRai

<<

Fippy

Posts: 148

Joined: Thu Apr 02, 2015 6:10 pm

Post Sun Apr 05, 2015 9:23 pm

Do Mapped Key Action -- trying to get this to work

This is a hard one to figure out where to place. I don't think it is game specific, and it does involve keymaps.

First, config: http://www.privatepaste.com/4ff0dcb256

I'm following one of Firescue17's tutorials, and did not expect to have problems where I did. The stuff I expected not to work does, and something that I think should work doesn't.

Under the "Always On" keymap, there is a mapped key "Invite: ABCEFGHIJ" mapped to Shift-Alt-B
1) Puts the full invite string in the clipboard (yay!)
2) Is supposed to paste via a virtual key, but does not. I can manually enter Ctrl+V and paste into the client.
3) Pops up some text to let me know it made it this far, which it does.

Step 2 is the problem. I virtualized the paste function (at least I think I did) in "200 Text Strings". In that keymap there is
"Paste Clipboard" which sends a Ctrl+V to the current window, and then an Enter. There is some popup text which is not
displayed.

Update: I tried this with ABC just to see if there was a length issue. No paste there either.

So I'm not correctly using the virtual keys. But it looks so bullet-proof. I'm using "Do Mapped Key Action", which looks just like the tutorial. The target is the current window, the map is "200 Text Strings" and the key is "Paste Clipboard".

What am I doing wrong here? (Ctrl+V does paste when performed in the client window by hand)
<<

firescue17

User avatar

League of Extraordinary Multiboxers

Posts: 585

Joined: Wed Sep 19, 2012 7:37 am

Location: Omaha, NE

Post Sun Apr 05, 2015 11:03 pm

Re: Do Mapped Key Action -- trying to get this to work

The "/" to open chat is in the wrong place. You are pasting the invite command into the game window, not the chat box.

In the linked profile, the "/" is included in the Key String Action text entry box "/invite ABDDEFGHIJ". This should be "invite ABCDEFGHIJ". The "/" should be moved to the "Paste from Clipboard" Mapped Key.

Go back at look at the first screenshot IMAGE 01 in the /Slash Commands and Text Strings guide.

The Mapped Key "Paste from Clipboard" has 3 actions:
    1. "/" to self (to open the chat box)
    2. Ctrl+V to self (to paste the command text)
    3. "Enter" to self (to close the chat box)
<<

Fippy

Posts: 148

Joined: Thu Apr 02, 2015 6:10 pm

Post Mon Apr 06, 2015 11:02 am

Re: Do Mapped Key Action -- trying to get this to work

Thanks for the advice. I tried it and it is still not working. Config: http://www.privatepaste.com/ba7a2dac2f

I'm pretty sure the paste is going to the correct window in either case, because I can go into the chat box and type Ctrl+V and see the pasted text. But I did redo it as you suggested.

It looks like the do-paste-keyboard is not happening. I have a popup message in the paste, and it is not appearing. (I took away the one bound to invite, just to make sure only one popup at most would appear). So I question the way I am using the virtual key.

I tried changing the bound key, in case there was a problem with Shift+Alt+B, but no change. I expect to be able to give one session focus, hit Ctrl-Q (the new bound key) and get "You invite ABC to join your group" followed by "Player ABC was not found".

Another experiment I did to verify this behavior: I first copied some text onto the clipboard (dfdfdfd). I went into EQ and pasted that into the chat window. OK. I then hit Ctrl-Q. Nothing so far. I then pressed Ctrl-V and the invite message was pasted. At no time did my paste popup appear.
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4653

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Mon Apr 06, 2015 11:50 am

Re: Do Mapped Key Action -- trying to get this to work

You need to assign the Key Map "200 Text strings" to your character set, otherwise it is not loaded, and any mapped keys within it are not available.
You can do this in a couple of ways, but the easiest is to select your Character Set in the top left, then in the lower left, select Key Maps, and then highlight the key maps you want to be loaded when you start up your character set.
<<

Fippy

Posts: 148

Joined: Thu Apr 02, 2015 6:10 pm

Post Mon Apr 06, 2015 12:46 pm

Re: Do Mapped Key Action -- trying to get this to work

Thanks! I'll try this a bit later in the afternoon when I have time. But a quick followup: Is there any way to know what keymaps are loaded?

And while I'm at it (not that this is on-topic): Is there any way of knowing the contents of an Action Target Group, since these can change via mapped keys?

I think I'm almost over the first big hump. Once I understand virtualization properly, a lot of stuff will become possible.
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4653

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Mon Apr 06, 2015 2:14 pm

Re: Do Mapped Key Action -- trying to get this to work

In the Session (set the IS Session hotkey in your character set), you can use "Bind -list", which will show all the binds (binds are session specific). Key Maps are prefixed by "keymapper_". You will get all the mapped keys in this output. There may be a way of filtering it.

For ATGs, in the uplink (IS -> Console), you can use RelayTargets <ATG> to list who is in what target group.
<<

Fippy

Posts: 148

Joined: Thu Apr 02, 2015 6:10 pm

Post Mon Apr 06, 2015 3:34 pm

Re: Do Mapped Key Action -- trying to get this to work

Thanks for the pointers, I have made a big step forward. Maybe I misunderstood, but the keymap was already listed with the other keymaps for the character set. However it was not turned on by "Activate Maps". I may have committed a major sin, but I added "200 Text Strings" to the actions and was able to use my virtual key after toggling the keymaps twice.

Fiddling with white lists did not change behavior, so I left things as they were initially.

Obviously not where I want to end up, but pretty close. I'm going to see if I can figure out how "Always On" gets turned on automatically. It must be someplace other than in the character set, since the other keymaps in *that* list are not automatically turned on.

And if anyone is curious where I am...

http://www.privatepaste.com/eea6521bf5

PS: Am I the only one who hits Save out of habit :D
<<

Fippy

Posts: 148

Joined: Thu Apr 02, 2015 6:10 pm

Post Mon Apr 06, 2015 4:10 pm

Re: Do Mapped Key Action -- trying to get this to work

Doh. Even better. I needed to drag the character set into the "Character Set" for the keymap. (ie not change the character set, but the keymap instead).
That works great.
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4653

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Mon Apr 06, 2015 4:51 pm

Re: Do Mapped Key Action -- trying to get this to work

Fippy wrote:Doh. Even better. I needed to drag the character set into the "Character Set" for the keymap. (ie not change the character set, but the keymap instead).
That works great.


Yes, this is one of the other ways to do it, but harder to explain. If you followed my prior instructions, yes, this does list ALL the key maps available, but you need to highlight the ones that you want to have start off loaded (enabled) when you load your character set. In your paste, the "200 Text Strings" was not highlighted. You will find it is now as you have followed the other drag and drop method.

I didn't mention putting the "200 Text Strings" in the Activate Maps because it has no hotkeys associated with the mapped keys in it, so whether it is enabled when you want to type normally (like passwords) matters little. It might later. In my own config I only have a few keymaps that have actual hotkeys, and everything else is called by these. So I don't have to add 100 different keymaps to the Activate Maps mapped key to disable when I need full control of my keyboard.
<<

Saeldaan

Posts: 38

Joined: Fri Mar 22, 2013 9:33 pm

Post Wed Jan 13, 2016 9:57 am

Re: Do Mapped Key Action -- trying to get this to work

On Everquest 1 trying to make key mapping of text strings work. Suggestions will be appreciated. Here's the example I'm working on but it's not working:

I'm trying to make some text be pasted into my character's window just to get things started

So far it is not working


Mapped Key

Test (Shift+O)
Steps
/-> current
key string -> self (string is say Hi)
Enter -> current

It looks like I'm having / enter sent without the text

I've put in delays of a half second between steps.
Next

Return to Key Maps

Who is online

Users browsing this forum: No registered users and 0 guests