Search found 11 matches

by revavi
May 9th, ’20, 13:24
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 17
Views: 2212

Re: How to trim extra space when selecting text?

Hi again,

I tried UTF-8 with BOM, and it works. Thanks!
by revavi
May 5th, ’20, 08:10
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 17
Views: 2212

Re: How to trim extra space when selecting text?

Hi, Thank you very much for the reply. I did but the problem is still there. The script does not work with words that have ø, å, æ. It ignores these words already in the file and creates a new entry for them at the end of the text. The file: https://drive.google.com/file/d/16ubROt2umWekp0878xldLFEBt...
by revavi
May 3rd, ’20, 09:36
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 17
Views: 2212

Re: How to trim extra space when selecting text?

Dear Tom, I hope you are doing well. It has been a long time, and now I started working with a new language, Norwegian. It has different characters, and I found problems with the code. For example, "spørsmål" is read as "spørsmÃ¥l." But more importantly, the script does not detect words already in ...
by revavi
Aug 4th, ’19, 07:43
Forum: User Commands and Scripts
Topic: How to trim extra space when selecting text?
Replies: 17
Views: 2212

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: 17
Views: 2212

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: 17
Views: 2212

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: 17
Views: 2212

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: 17
Views: 2212

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: 17
Views: 2212

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: 17
Views: 2212

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 ...