Can one enter text using Quick Commands?
-
If I create a command chain can it do something like the following:-
Go to a specific web page (i.e. one given in the command) Either type some characters or load them into past buffer
Having done this can I make the resulting command appear at the top of the list that appears when I hit F2?
-
That should be "paste buffer" of course.
-
@isbd What command chain do you want to create? Typing text automatically doesn’t work, you can only work with selections or your clipboard.
-
If one could put text into the paste buffer then it would then be very easy to click on a text entry field and paste it there.
Even better would be a way to navigate to a field on the page and enter some text that you've provided in the command chain.
This is a very simple web page with just one text field on it, all I want to do is go to that page and put some text into the text field.
-
@isbd Since you keep it cryptic I tell you generally.
- Select text or copy text to your clipboard
- If 1. is a selection, use the copy command
- Open your web page
- Write a bookmarklet to focus the input field on that web page (open link in current tab)
- Paste
- Your command chain has ended, hit
enter
manually
-
But I want the text to be entered to be part of the command chain, that's the whole point, it's some text that I can't easily remember.
I want the stored command chain to have the text in it so that I don't have to remember it.
-
So the sequence I want in the command chain is:-
1 - Open web page in new tab (easy enough)
2 - Create some sort of usable text within the command chain, not text copied from somewhere else
3 - Make it possible to copy this text (maybe paste it) into a field on the newly opened page.
(By the way could you expand on your item 4 - Write a bookmarklet to focus the input field on that web page, how do you do that?)
-
@isbd If the text is fixed, you save it inside the bookmarklet. Google what a bookmarklet is and how to write one. You can see examples for bookmarklets used in command chains here ☛ https://gist.github.com/luetage/6a66af73a4dd264fcb05fe24926b2e36
-
OK, thanks for the explanation of bookmarklets. I remember I did use them for a while many years ago, I'll have to re-investigate them.