Search found 8 matches

by revavi
Aug 4th, ’19, 07:43
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 13
Views: 1316

Re: How to trim extra space when selecting text?

Hi Tom,
I was on vacation. Thank you very much for the code. It works flawlessly!
by revavi
Jul 24th, ’19, 22:54
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 13
Views: 1316

Re: How to trim extra space when selecting text?

Tom wrote:
Jul 24th, ’19, 21:00
I'll try over the weekend. ;)
All right! I'll be waiting. Thank you! :D
by revavi
Jul 23rd, ’19, 11:11
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 13
Views: 1316

Re: How to trim extra space when selecting text?

Dear Tom, Can the command be taught to do the following as well: When the selected word, which has a delimiter next to it (all of them do), already exists in the file, and the word has no text next to the delimiter (the words and their entries are separated by a line break), open the txt file and pl...
by revavi
Jul 22nd, ’19, 09:09
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 13
Views: 1316

Re: How to trim extra space when selecting text?

This is magical. From now on, I will use this and save much time and energy. Thank you very much!
by revavi
Jul 21st, ’19, 09:37
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 13
Views: 1316

Re: How to trim extra space when selecting text?

I'm trying to make use of the code you suggested. I copied a small portion of the excel file into a txt file with the filename you suggested to test the code. I gave the command a shortcut. I put the txt file in desktop. Then, I selected a word that is not in the file and typed the shortcut. Althoug...
by revavi
Jul 18th, ’19, 21:12
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 13
Views: 1316

Re: How to trim extra space when selecting text?

You could make a shortcut (Type: Command). Send, ^c Sleep, 200 Clipboard=%Clipboard% Use this shortcut instead of Ctrl+C. Double-click the word to select it and then press a shortcut - the selection is copied to clipboard without unwanted spaces and formatting. It works. Thank you very much! I woul...
by revavi
Jul 18th, ’19, 14:48
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 13
Views: 1316

Re: How to trim extra space when selecting text?

I want to paste it in Excel. I do this repeatedly. Here is why: I'm a foreign languages learner. I maintain an Excel spreadsheet where I collect new words I come across, which I then paste into a vocabulary learner. When I copy the word, it gets copied with that space. I paste it in the spreadsheet ...
by revavi
Jul 17th, ’19, 15:35
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 13
Views: 1316

How to trim extra space when selecting text?

Hello, I'm using Win 10. I have learnt that windows has this build-in feature that adds a space at the end of the selected text regardless of the program involved. For example, if I double click on a word, there is always this extra space at the end the selection. For some reason, I want it removed....