Search found 23 matches
- 16 Jan 21, 10:23
- Forum: Macro Programming
- Topic: Replace the character} by clipboard
- Replies: 0
- Views: 86
Replace the character} by clipboard
Hello everyone, I want to replace characters} by clipboard, Replace} to \\\} I defined a hotkey :Ctrl+Alt+A, When I selected the following lines of code, press the hotkey to output the final replacement result. class Program { static void Main() { Run run = new Run(document); paragraph.Inlines.Add(r...
- 14 Jan 21, 02:05
- Forum: Macro Programming
- Topic: Use regular expressions match Double-byte characters failed
- Replies: 7
- Views: 265
Re: Use regular expressions match Double-byte characters failed
If a double byte character is matched, an input box will pop up to prompt for the character(Manual input A or B or C) to be replaced
Until all double byte character replacement operations are completed
I hope someone can help me to implement the code of this function
Until all double byte character replacement operations are completed
I hope someone can help me to implement the code of this function
- 14 Jan 21, 00:23
- Forum: Macro Programming
- Topic: Use regular expressions match Double-byte characters failed
- Replies: 7
- Views: 265
Re: Use regular expressions match Double-byte characters failed
Can you provide the code? I'm very sorry, I don't know the operation steps, thanks a lot
- 13 Jan 21, 23:55
- Forum: Macro Programming
- Topic: Use regular expressions match Double-byte characters failed
- Replies: 7
- Views: 265
Re: Use regular expressions match Double-byte characters failed
In the example above, I couldn't predict three double byte values, so I wanted to use the index to determine them
- 13 Jan 21, 23:39
- Forum: Macro Programming
- Topic: Use regular expressions match Double-byte characters failed
- Replies: 7
- Views: 265
Re: Use regular expressions match Double-byte characters failed
Thank you for your help In the above example, three values are matched, which are 文件 文字 文件名 How to get the index of each value? I need to replace the value with another value . Please see the picture below https://i.ibb.co/KGf4DJv/pic2.png Is that possible? Thanks in advance Expected results: ______...
- 13 Jan 21, 10:13
- Forum: Macro Programming
- Topic: Use regular expressions match Double-byte characters failed
- Replies: 7
- Views: 265
Use regular expressions match Double-byte characters failed
Hello everyone, I want to use a regular expression to match some double-byte character in A paragraph, but there is no output result. Three double-byte characters should be matched, then three characters are replaced with A, B, and C. before: _________________________________________________________...
- 12 Jan 21, 07:33
- Forum: Macro Programming
- Topic: put some codes into the clipboard invalid
- Replies: 9
- Views: 640
Re: put some codes into the clipboard invalid
@Peter Stotz
I have not found a better solution.
this problem, custom code phrase is very inconvenient
I have not found a better solution.
this problem, custom code phrase is very inconvenient
- 12 Jan 21, 07:30
- Forum: Macro Programming
- Topic: How to set the utf-8 encoding saved to a txt file SOLVED
- Replies: 2
- Views: 271
Re: How to set the utf-8 encoding saved to a txt file SOLVED
@Technical Support
This is a very useful feature for Asian countries. I look forward to updating soon, thank you very much.
This is a very useful feature for Asian countries. I look forward to updating soon, thank you very much.
- 10 Jan 21, 13:41
- Forum: Macro Programming
- Topic: put some codes into the clipboard invalid
- Replies: 9
- Views: 640
Re: put some codes into the clipboard invalid
@Peter Stotz Still failed It will be very troublesome if all } need to be manually modified to \\\} {#setclipboard { class Program { static void Main() { // If using Professional version, put your serial key below. ComponentInfo.SetLicense("FREE-LIMITED-KEY"); DocumentModel document = new DocumentMo...
- 10 Jan 21, 07:51
- Forum: Macro Programming
- Topic: put some codes into the clipboard invalid
- Replies: 9
- Views: 640
Re: put some codes into the clipboard invalid
I'm a developer,
I want to define a lot of code Snippets, which is the biggest problem I encountered
I want to define a lot of code Snippets, which is the biggest problem I encountered
- 10 Jan 21, 07:48
- Forum: Macro Programming
- Topic: put some codes into the clipboard invalid
- Replies: 9
- Views: 640
Re: put some codes into the clipboard invalid
@Peter Stotz Thank you for your reply. It's very inconvenient, especially in the case of too much code Is there a simpler and more effective solution? In addition, I found that setting the code to a variable also cause errors https://i.ibb.co/J2W3L5F/err.png class Program { static void Main() { // I...
- 02 Jan 21, 02:30
- Forum: Macro Programming
- Topic: How to set the width of phrase list?
- Replies: 3
- Views: 250
- 31 Dec 20, 23:40
- Forum: Macro Programming
- Topic: How to set the width of phrase list?
- Replies: 3
- Views: 250
How to set the width of phrase list?
Hello everyone, I use the following code to display the phrase list, but the width of the list cannot be set. The size of the list will be reset every time. What's the solution? https://i.ibb.co/DzvGgY9/pic.png Any suggestions are welcome. Thank you in advance {#insert -id EA06649F-4562-49F5-95E1-32...
- 31 Dec 20, 00:43
- Forum: Macro Programming
- Topic: How to set the utf-8 encoding saved to a txt file SOLVED
- Replies: 2
- Views: 271
How to set the utf-8 encoding saved to a txt file SOLVED
hello everyone, I use the following code to output a TXT file, but by default, the text encoding format is ANSI. When I open it in some software, Some of the text will be displayed as garbled,Please see the picture below https://i.ibb.co/NmRxBK2/pic.png How to save the txt file use UTF-8 encoding fo...
- 30 Dec 20, 23:10
- Forum: Macro Programming
- Topic: put some codes into the clipboard invalid
- Replies: 9
- Views: 640
put some codes into the clipboard invalid
Hello everyone, I want to put some codes into the clipboard, but it always fails. The code is as follows When I switch from another phrase to this one, it will look like this https://i.ibb.co/YXQN5Lf/pic.png Any suggestions are welcome. Thanks in advance _____________________________________________...
- 20 Dec 20, 02:41
- Forum: Macro Programming
- Topic: express contents of the clipboard are empty SOLVED
- Replies: 5
- Views: 404
Re: express contents of the clipboard are empty SOLVED
You are right. Thank you for your technical support
- 18 Dec 20, 23:25
- Forum: Macro Programming
- Topic: express contents of the clipboard are empty SOLVED
- Replies: 5
- Views: 404
Re: express contents of the clipboard are empty SOLVED
If the clipboard is empty, the input form will also be opened. Why? What I expect: if the clipboard is empty, enter the current time directly https://i.ibb.co/4Kz13zp/pic.png Code: {#cond -if {#insertclipboard -variablename Insert text from clipboard} == -then {#datetime -variablename Date/Time} -el...
- 18 Dec 20, 23:12
- Forum: Macro Programming
- Topic: express contents of the clipboard are empty SOLVED
- Replies: 5
- Views: 404
Re: express contents of the clipboard are empty SOLVED
Thanks again, phraseexpress is very powerful and the technical support is great
- 18 Dec 20, 22:41
- Forum: Macro Programming
- Topic: express contents of the clipboard are empty SOLVED
- Replies: 5
- Views: 404
express contents of the clipboard are empty SOLVED
hello everyone,
I'm writing an IF statement, I want to determine if the contents of the clipboard are empty
I didn't find it in the list of operators. how to express it? Thank you very much. Thanks in advance
I'm writing an IF statement, I want to determine if the contents of the clipboard are empty
I didn't find it in the list of operators. how to express it? Thank you very much. Thanks in advance
- 18 Dec 20, 22:10
- Forum: Macro Programming
- Topic: add tab before multiline text SOLVED
- Replies: 6
- Views: 448
Re: add tab before multiline text SOLVED
Perfect solution to my problem, thank you again