Title

Message

Confirm

<< DiscussionsReply

Can this be done

Avatar from Gravatar.com
a380330520
18 discussion posts
I use sharex to take pictures and upload pictures

Back to the clipboard https://i.imgur.com/*.jpg
Outreach address in this format
So, can the clipboard run after detecting the above address?

H:\\kinza\MyChrome.exe "https://saucenao.com/search.php?db=999&url=%Clipboard%"

This kind of designates the browser to open the designated website with the contents of the clipboard

If you can, please trouble you

tell me

How should I achieve this kind of operation? I don't understand c# nor Visual Basic

I am very distressed, what should I do to achieve this effect
Jun 10, 2020 (modified Jun 10, 2020)  • #1
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
This can be done with a Trigger. First, you'll need to make a Macro which takes the url, tacks it onto the saucenao url, then opens your browser with it. Then you need to take that Macro, and make a Trigger that fires when you see that imgur address, and voilla!

Sounds Complicated, but here's how to do it step by step:

  • Download the .txt file attached to this post
  • Open the ClipboardFusion Settings -> Macros tab
  • Click "Add"
  • Copy the text from the file you downloaded in the first step into the Macro Edit window
  • Give it a name
  • Click OK, then Apply to save the Macro without closing the Settings window
  • Browse to the Triggers tab
  • Click Add -> Trigger
  • Change the "Event" to "Clipboard Changed"
  • You can optionally disable "Process this Trigger if the Clipboard contains filenames" and "Set Clipboard with the result of this Trigger"
  • Paste this into Match Conditions, Clipboard Text: https://i.imgur.com/*.jp*g
  • Change the dropdown to "Pattern"
  • In the "Actions" area, click Add -> Run Macro
  • Select the Macro you added in the above steps
  • Click OK until all of the ClipboardFusion Settings windows are closed

I've also attached an image of the Trigger edit window so you can compare your settings.

Thanks!

Trigger
Trigger
• Attachment: SauceNao Image Search.txt [604 bytes]
• Attachment: triggersetup.png [34,762 bytes]
triggersetup.png
triggersetup.png
Jun 11, 2020 (modified Jun 11, 2020)  • #2
Avatar from Gravatar.com
a380330520
18 discussion posts

Thank you for your help
But I didn't specify the browser to use

https://i.imgur.com/AKNU7dC.png

Many browsers want to set up a special browser for searching pictures

You must specify the specific path of the browser
Execute specific. Exe

So can we do that? Specifically, we need to use a browser
Jun 13, 2020  • #3
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
The Macro uses the "BFS.Web.GetDefaultBrowserExe()" function on line 15 to get the path to the default browser on your machine. This way, it should work on anyone's computer.

Thanks!
Jun 14, 2020  • #4
Avatar from Gravatar.com
a380330520
18 discussion posts
Quote:
The Macro uses the "BFS.Web.GetDefaultBrowserExe()" function on line 15 to get the path to the default browser on your machine. This way, it should work on anyone's computer.

Thanks!


https://i.imgur.com/hIWF3Tm.png

Can you see the picture? The report is wrong, don't write it like this?

Can you give an example

H:\浏览器-\kinza\MyChrome.exe

This is the required path" style="display:inline-block; position:relative; overflow:hidden; box-sizing:border-box; width:16px; height:16px;">
Jun 15, 2020  • #5
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
Sorry about that! I've attached a new version of the Macro which specifies a path. All you need to do is put the path to your browser between the quotes on line 15. The file attached has an example using the path you gave.

I also noticed that the "Clipboard Text" field will only open .jpg and .jpeg files. I've attached another photo with the trigger setup that will also allow for the searching of .png files. It uses the regular expression below:

Code



Thanks!
• Attachment: bettertriggersetup.png [35,612 bytes]
bettertriggersetup.png
bettertriggersetup.png
• Attachment: SauceNao Image Search v2.txt [646 bytes]
Jun 16, 2020 (modified Jun 16, 2020)  • #6
Avatar from Gravatar.com
a380330520
18 discussion posts
Quote:
Sorry about that! I've attached a new version of the Macro which specifies a path. All you need to do is put the path to your browser between the quotes on line 15. The file attached has an example using the path you gave.

I also noticed that the "Clipboard Text" field will only open .jpg and .jpeg files. I've attached another photo with the trigger setup that will also allow for the searching of .png files. It uses the regular expression below:

Code



Thanks!

Thank you for your help

Sorry so many days to reply

I will go

test

once

This macro
Jun 23, 2020  • #7
Was this helpful?    
<< DiscussionsReply