+1
Declined

Enhance clipping shortcut Ctrl+F12

Thomas Lohrum 12 year бұрын updated by Christof Deininger 9 year бұрын 9

1. When Ctrl+F12 is pressed copy the window title to the clipboard. If any text is selected add this to the clipboard. If an url is available also add it to the clipboard.

2. Add an option to only copy to the clipboard or create a new note with the clipboard information for backward compatibility.

Answer

Answer
Declined
Closed due to inability to collect 10 votes for more than 2 years.

The current shortcut Ctrl+F12 requests to select some text. Otherwise an empty note is created. I suggest to drop this requirement. The window title is always there and can be used to create a new note. Applications like FF and TB should be supported for grabing the url. This suggestion avoids problems that similar suggestions have. For example the current clipping feature always creates a new note, whereas many times i want to add a title/url combination to an existing note. Also it avoids the problem, that the main window automatically pop's up. Another advantage is the push model. With just two little modifications existing functionality can be extended to work much more efficient. Imo the suggestion also supersedes http://roadmap.cintanotes.com/topic/115035-grab-url-and-window-title-to-store-inside-notes-text/ and http://roadmap.cintanotes.com/topic/13907-clip-text-into-currently-edited-note/.

When the option (2) is turned off i will still be able to easily create a new note. Copy to the clipboard using Ctrl+F12, create a new note using Shift+Ctrl+F12 and paste the content using Ctrl+V. People that don't like this, can still leave the option turned on and they will have the standard behaviour as it always was with CN. People won't even notice the new enhancements.

 Hi Thomas,

I have a couple of questions:

1)  If I understand correctly. you suggest to drop note clipping on Ctrl+F12 and replace it with just copying to clipboard, while introducing an option to enable the old behavior. Wouldn't it be more convenient to just add another shortcut? The number of different options is growing very fast, and I don't want future CN users to spend lots of time configuring the software.

2) How CintaNotes can know that no text is selected without first trying to copy it to clipboard and timing out? How can the URL be obtained without it being placed into clipboard by the application on (simulated by CN) Ctrl+C - and this happens only if some text is selected?

The only other way to get the URL is via emulating special keystrokes like Ctrl+L, and that will require large refactoring, and also introduce noticeable lag.

3) "Otherwise an empty note is created." - the note is not completely empty, its title is taken from the window title.

1a. Wouldn't it be more convenient to just add another shortcut?

>>Not really. How many system-wide shortcuts do we want to define?

1b. The number of different options is growing very fast, and I don't want future CN users to spend lots of time configuring the software.

>>Of course the best way is to have an optimal setup for all users. I doubt, this will ever happen ;) In the end you'll need some concept of handling individualization of the environment. How about adding the option to the settings file only? Documenting the settings in the ini file (some time in the future) would allow advanced users to tweak CN the way they like best without offering to many options in the GUI.

2a. How CintaNotes can know that no text is selected without first trying to copy it to clipboard and timing out?

>>I don't know. Isn't it possible to check if any text of the active control is selected before copying it to the clipboard?

2b. How can the URL be obtained without it being placed into clipboard by the application on (simulated by CN) Ctrl+C - and this happens only if some text is selected?

>>Sorry Alex, i have no knowledge on how CN manages this anyway. I thought you would use some special binding for each supported browser and getting the URL by directly refering to the URL control. How does CN handle this right now? Does it take two steps? One for the selected text, the other for the URL?

3) "Otherwise an empty note is created." - the note is not completely empty, its title is taken from the window title.

>>This might depend on the settings (file). If i don't select any text and press Ctrl+F12 it will create an empty note.

While doing researches on how a browser url can be retrieved using API calls i became aware of some firefox/thunderbird addons that can handle the job :) I now use "AutoCopy" which is available for ff and tb. "Copy Fixer" is also nice, but only available for ff. ...hm, while editing the post i selected a word to delete by using a double-click. It became automatically copied to the clipboard. This was not intended, but a side-effect of the AutoCopy extension. I will have to gain more experience with them the next couple of days.Stay tuned ;)

Alex, the addon AutoCopy for Firefox und Thunderbird actually handles my need :) It sometimes feels strange, having the software automatically copy text to the clipboard without  being asked for ;) Even more strange, when you get used to it, but then this (useful) feature is not available in other windows application. It would be nice to have CN handle this and maybe even for other browsers as well. But personally my request here has become obsolet to me.Thank you for considering and discussing the feature. In the end it helped me solving my problem, without even changing CN ;)

 

Great, I like when things resolve this easily ;)

 

Answer
Declined
Closed due to inability to collect 10 votes for more than 2 years.