ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Clipboard Help+Spell

Send Keys [Solved]

<< < (2/3) > >>

mouser:
I thought your mention of send keys meant that this was a functionality of Clipboard Help and Spell.
--- End quote ---

Hmm, well it is a functionality of CHS -- its a feature that lets CHS interpret your request to generate/simulate special keys and send them to a target window.  It does give CHS some minimal macro program facilities.

Normally CHS performs a clip paste by putting some text on the clipboard and then triggering a Ctrl+V to paste the clip into an active window.

But some programs do not support Ctrl+V for pasting, which is one situation where using {sendkeys} can be useful.

Another situation is when you are pasting into a program that is looking at each keypress individually and requires {sendkeys} in order to properly receive tabs or dashes, etc.

Garfield2:
Okay, now I understand. I believe this is perfect example where screenshots probably would have helped to clarify things. I literally did not know where the "send key codes" were supposed to be placed. I was expecting a send keys "window" and the closest I could get to figuring this out was thinking it should be put inside a formatting preset. Now I understand the concept that the program will not just paste the send key code but actually interpret them as keyboard shortcuts. It is was very difficult without an example video or screenshot for me to figure this out. Now I will have to play around with it and do some tests. I tried using the formatting preset and when I tried to type I got ding sounds so there was something I was not doing right.

Thank you again for the clarification. I don't mind playing with the send keys. Auto hotkey uses a similar set up but just had no idea where in Clipboard Help + Spell it should be added/inserted.  :up:

I now see my 2 options are formatting preset or in an actual clip. I just had to reread your reply a couple of times to figure it out and it seems to me this is an underutilized part of the program given my search of the discussion group and help content.

I will make a video once I get my desired result.  :up:

mouser:
Yes. My suggestion is to start by creating a new clip in your Favorites folder, and just try something like:  {sendkeys}123{TAB}456.
And then go into notepad and use the quick paste hotkey to paste this clip and watch how it pastes and make sure it works as expected.

Garfield2:
Just wanted to say thank you for your attentive responses and just providing an update in lieu of a final solution. I'm the kind of person who won't let go until I find a solution so I will report when I do.

My current "almost there" solution is to use autohotkey to make a web browser window active and then use it to send the keys that I need to copy 4 pieces of text and then make another window active. Clipboard Help + Spell captures all the text. 1,2,3,4. No problem. The next window has 4 input fields I want to target. Auto Hotkey sends the keyboard combination of Control + Alt + Q just fine and brings up CHS however when I try to select a clip (using a number right Control + Alt + Q ) it goes directly to the 2nd web page sometimes adding the number one into the input box.

So my next milestone is to get auto hotkey to select a clip using the keyboard. For some reason after bringing up the CHS window it just seems to stop sending instructions to the window that is clearly still displayed on the screen.

No need to reply unless I am missing something really simple and you feel compelled to. I am working in Auto Hotkey land now. It seems this form filling thing is not as easy to figure out using CHS solely but I want to use CHS and am okay getting another script to help out.

I did  do a small test as you had mentioned and that worked but for me but this seems a little impractical. It is not dynamic to use text that does not come from CHS like 1111 or 2222. I don't mind using send keys if I can actually reference clips within CHS that I copy in the moment and want to paste in another situation so it can automate repetitive data entry. The referencing of existing clips from the documentation doesn't seem to be something that is made known. Figuring out how to correctly use the stack process may help so I will examine that as well.

Garfield2:
Update: After watching the video again got stacking to work but my goal is to start from the last copied clip and go down 1, 2, 3, 4 and not backwards. I could come up with a workaround but would like to reverse the order of the stack.

Still need to get Auto Hotkey to communicate with the Pop up menu.   

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version