Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
a380330520
32 discussion posts
Can you replace the duplicate content in the clipboard?

This is what I use

Visual Novel Reader
Software to play Japanese beautiful girl love games for machine translation

However, the game text extracted by some games will be repeated

And the working principle of this software is to copy the text extracted from the game to the clipboard
Translation software reads the text of the clipboard for machine translation

All will go through the clipboard
So, can our clipboard tool change the obtained repeated text into non-repeated text?

For example

The extracted is 縁りて此の叶は红に 縁りて此の叶は红に
This repeated text can
Through our tools, 縁りて此の叶は红 {に縁りて此の叶は红に}
Can I replace this repeated part?
Please help me

Thank you

:)
Jun 27, 2020  • #1
User Image
a380330520
32 discussion posts
It means you can judge whether the text in the clipboard is repeated

If the whole sentence is repeated, scrub the repeated part
Jun 27, 2020  • #2
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
This should be possible with a Trigger. Here's how to set it up:

  • Download the .cfmacro file attached to this post
  • Open the ClipboardFusion Settings window to the "Macros" tab
  • Click "Import" and select the file you downloaded in the first step
  • Optionally review the code/rename it and click OK
  • Click "Apply" to save the Macro
  • Browse to the "Triggers" tab
  • Select Add > Trigger
  • Change the event to "Clipboard Changed"
  • Disable "Process this Trigger if the Clipboard contains filenames"
  • Enable "Clipboard Text" and change the dropdown to "Regular Expression"
  • Copy this text below into the "Clipboard Text" textbox:
  • ([^\s]+)\s*\1
  • Click Add > Run Macro
  • Select the Macro you added earlier
  • Click OK on all open ClipboardFusion Settings windows to save and apply your changes

I've also attached a screenshot of what the Trigger window should look like after setting it up. You can also make it only fire when text from your game gets copied by enabling the "Process Filename" and selecting your game.

Thanks!
• Attachment: Repeating Text Fix.cfmacro [6,528 bytes]
• Attachment: trigger_duplicate_text_fix.png [62,376 bytes]
trigger_duplicate_text_fix.png
trigger_duplicate_text_fix.png
Jul 1, 2020 (modified Jul 1, 2020)  • #3
User Image
a380330520
32 discussion posts
Quote:
This should be possible with a Trigger. Here's how to set it up:

  • Download the .cfmacro file attached to this post
  • Open the ClipboardFusion Settings window to the "Macros" tab
  • Click "Import" and select the file you downloaded in the first step
  • Optionally review the code/rename it and click OK
  • Click "Apply" to save the Macro
  • Browse to the "Triggers" tab
  • Select Add > Trigger
  • Change the event to "Clipboard Changed"
  • Disable "Process this Trigger if the Clipboard contains filenames"
  • Enable "Clipboard Text" and change the dropdown to "Regular Expression"
  • Copy this text below into the "Clipboard Text" textbox:
  • ([^\s]+)\s*\1
  • Click Add > Run Macro
  • Select the Macro you added earlier
  • Click OK on all open ClipboardFusion Settings windows to save and apply your changes

I've also attached a screenshot of what the Trigger window should look like after setting it up. You can also make it only fire when text from your game gets copied by enabling the "Process Filename" and selecting your game.

Thanks!


This software is so powerful
It can really be achieved

Thank you very much for your help

But after removing the duplication, the format of the text is also removed.
Jul 5, 2020  • #4
User Image
a380330520
32 discussion posts
Quote:
This should be possible with a Trigger. Here's how to set it up:

  • Download the .cfmacro file attached to this post
  • Open the ClipboardFusion Settings window to the "Macros" tab
  • Click "Import" and select the file you downloaded in the first step
  • Optionally review the code/rename it and click OK
  • Click "Apply" to save the Macro
  • Browse to the "Triggers" tab
  • Select Add > Trigger
  • Change the event to "Clipboard Changed"
  • Disable "Process this Trigger if the Clipboard contains filenames"
  • Enable "Clipboard Text" and change the dropdown to "Regular Expression"
  • Copy this text below into the "Clipboard Text" textbox:
  • ([^\s]+)\s*\1
  • Click Add > Run Macro
  • Select the Macro you added earlier
  • Click OK on all open ClipboardFusion Settings windows to save and apply your changes

I've also attached a screenshot of what the Trigger window should look like after setting it up. You can also make it only fire when text from your game gets copied by enabling the "Process Filename" and selecting your game.

Thanks!


「……わかった。「……わかった。「……わかった。それじゃ、僕の部屋に行こう」

「当然でしょう?「当然でしょう?「当然でしょう?マユコは、ワタシの本体なんですもの」

Hello, may I remove this part of the repetition, not the whole sentence? ;)

This is not a complete repetition
But most or small parts of a sentence are repeated
Can you please help me remove this duplication?
Thank you
• Attachment [protected]: pythonw_7JpUFXDt5E.png [6,567 bytes]
Jul 5, 2020 (modified Jul 5, 2020)  • #5
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
I made some modifications to the Macro and the Clipboard Text filter to have it work with your new text. You can run this new Trigger alongside the one you set up, since I think they are pretty different use cases. Here's how to get it set up:

  • Download the .cfmacro file attached to this post
  • Open the ClipboardFusion Settings window to the "Macros" tab
  • Click "Import" and select the file you downloaded in the first step
  • Optionally review the code/rename it and click OK
  • Click "Apply" to save the Macro
  • Browse to the "Triggers" tab
  • Select Add > Trigger
  • Change the event to "Clipboard Changed"
  • Disable "Process this Trigger if the Clipboard contains filenames"
  • Enable "Clipboard Text" and change the dropdown to "Regular Expression"
  • Copy this text below into the "Clipboard Text" textbox:
  • (「([^「」]+)「)([^」]*」)
  • Click Add > Run Macro
  • Select the Macro you added earlier
  • Click OK on all open ClipboardFusion Settings windows to save and apply your changes

I've also attached a screenshot of what the Trigger window should look like after setting it up.

Thanks!
• Attachment: Fix Japanese Quotes.cfmacro [15,080 bytes]
• Attachment: trigger_japanese_quote_fix.png [62,884 bytes]
trigger_japanese_quote_fix.png
trigger_japanese_quote_fix.png
Jul 6, 2020 (modified Jul 6, 2020)  • #6
User Image
a380330520
32 discussion posts
Quote:
I made some modifications to the Macro and the Clipboard Text filter to have it work with your new text. You can run this new Trigger alongside the one you set up, since I think they are pretty different use cases. Here's how to get it set up:

  • Download the .cfmacro file attached to this post
  • Open the ClipboardFusion Settings window to the "Macros" tab
  • Click "Import" and select the file you downloaded in the first step
  • Optionally review the code/rename it and click OK
  • Click "Apply" to save the Macro
  • Browse to the "Triggers" tab
  • Select Add > Trigger
  • Change the event to "Clipboard Changed"
  • Disable "Process this Trigger if the Clipboard contains filenames"
  • Enable "Clipboard Text" and change the dropdown to "Regular Expression"
  • Copy this text below into the "Clipboard Text" textbox:
  • (「([^「」]+)「)([^」]*」)
  • Click Add > Run Macro
  • Select the Macro you added earlier
  • Click OK on all open ClipboardFusion Settings windows to save and apply your changes

I've also attached a screenshot of what the Trigger window should look like after setting it up.

Thanks!


:laugh:

Dear, really appreciate your help

But it's still a little problem

As shown in this picture, the commands you used to help me cannot be removed

Can you help me

This time I will provide some repeated texts, all kinds of styles exist

I beg you to help me

Really thank you very much

「さて……羽華を呼び出してみるか」
と言ったものの、伊佐武はその儀式に、と言ったものの、伊佐武はその儀式に、と言ったものの、伊佐武はその儀式に、迷いと疑念を抱いていた。
「本当に、それで羽華が現れるのだろうか?」
無抵抗の、しかも、意識のない繭子の唇を奪うことに無抵抗の、しかも、意識のない繭子の唇を奪うことに無抵抗の、しかも、意識のない繭子の唇を奪うことに伊佐武は強い抵抗を感じていた。
無抵抗の、しかも、意識のない繭子の唇を奪うことに無抵抗の、しかも、意識のない繭子の唇を奪うことに無抵抗の、しかも、意識のない繭子の唇を奪うことに伊佐武は強い抵抗を感じていた。
「しかし、何もしなければ、事態は進展しない……」
「いや、それでも、人には道徳というものが……」
薄闇の中、一人、悶々と悩む伊佐武。
――十分ほども、そうしていただろうか。
結局、伊佐武は、繭子の唇にではなく、結局、伊佐武は、繭子の唇にではなく、結局、伊佐武は、繭子の唇にではなく、額に接吻することを決めた。

結局、伊佐武は、繭子の唇にではなく、結局、伊佐武は、繭子の唇にではなく、結局、伊佐武は、繭子の唇にではなく、額に接吻することを決めた。
「奥様……失礼します……」
ほんのわずか、ほんのわずか、ほんのわずか、触れるか触れないかほどわずかに、ほんのわずか、触れるか触れないかほどわずかに、ほんのわずか、触れるか触れないかほどわずかに、繭子の額に、己の唇を当てる。
すると、繭子の身体が光に包まれ、すると、繭子の身体が光に包まれ、すると、繭子の身体が光に包まれ、肉体と分離するように、羽華が姿を現した。
「なによ。意気地なし」
開口一番に、羽華はそう言った。
「呼び出してやったのに、その言い方はないだろ?」
「ま、いいわ。「ま、いいわ。「ま、いいわ。ワタシで練習すればいいから」
「ま、いいわ。ワタシで練習すればいいから」
「…………」
「だが、奥様を一人にはしておけない」
「平気よ。マユコに何かあったら、ワタシが気づくから」
「当然でしょう?「当然でしょう?「当然でしょう?マユコは、ワタシの本体なんですもの」
「当然でしょう?マユコは、ワタシの本体なんですもの」
「……わかった。それじゃ、僕の部屋に行こう」
「イサムの部屋、なーんにもないのね」
伊佐武にとって、伊佐武にとって、伊佐武にとって、繭子と、彼女を護るための剣が、人生の全てだった。伊佐武にとって、繭子と、彼女を護るための剣が、人生の全てだった。伊佐武にとって、繭子と、彼女を護るための剣が、人生の全てだった。その内面を反映するかのように、彼の部屋には物がない。

Please please help me

Thank you;)
• Attachment [protected]: pythonw_nEwXHxN8Je.png [331,146 bytes]
Jul 6, 2020  • #7
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
I put something together that has fixed up most of the text that you provided as an example. It's not perfect, but it's a lot better than it was. You should replace the other two Triggers you have set up with this new one. Here's how to set it up:

  • Download the .cfmacro file attached to this post
  • Open the ClipboardFusion Settings window to the "Macros" tab
  • Click "Import" and select the file you downloaded in the first step
  • Optionally review the code/rename it and click OK
  • Click "Apply" to save the Macro
  • Browse to the "Triggers" tab
  • Select Add > Trigger
  • Change the event to "Clipboard Changed"
  • Disable "Process this Trigger if the Clipboard contains filenames"
  • Enable "Clipboard Text" and change the dropdown to "Regular Expression"
  • Copy this text below into the "Clipboard Text" textbox:
  • (([^\s]+)\s*\2)|((「([^「」]+)「)([^」]*」))
  • Click Add > Run Macro
  • Select the Macro you added earlier
  • Click OK on all open ClipboardFusion Settings windows to save and apply your change

I've also attached a screenshot of what the Trigger window should look like after setting it up.

Thanks!
• Attachment: Fix Japanese Text.cfmacro [28,576 bytes]
• Attachment: trigger_japanese_text_fix.png [33,955 bytes]
trigger_japanese_text_fix.png
trigger_japanese_text_fix.png
Jul 7, 2020 (modified Jul 7, 2020)  • #8
User Image
a380330520
32 discussion posts
Quote:
I put something together that has fixed up most of the text that you provided as an example. It's not perfect, but it's a lot better than it was. You should replace the other two Triggers you have set up with this new one. Here's how to set it up:

  • Download the .cfmacro file attached to this post
  • Open the ClipboardFusion Settings window to the "Macros" tab
  • Click "Import" and select the file you downloaded in the first step
  • Optionally review the code/rename it and click OK
  • Click "Apply" to save the Macro
  • Browse to the "Triggers" tab
  • Select Add > Trigger
  • Change the event to "Clipboard Changed"
  • Disable "Process this Trigger if the Clipboard contains filenames"
  • Enable "Clipboard Text" and change the dropdown to "Regular Expression"
  • Copy this text below into the "Clipboard Text" textbox:
  • (([^\s]+)\s*\2)|((「([^「」]+)「)([^」]*」))
  • Click Add > Run Macro
  • Select the Macro you added earlier
  • Click OK on all open ClipboardFusion Settings windows to save and apply your change

I've also attached a screenshot of what the Trigger window should look like after setting it up.

Thanks!

Really thank you very much

Let me try
Jul 11, 2020  • #9
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)