Jump to content

Recommended Posts

Posted

So I use this line to clean up some image:

Local $Magick = 'magick convert "C:\Users\ME\Desktop\Captcha Image\image.png" -fuzz 12% -fill white +opaque "#f07848" image1.png"'
RunWait(@ComSpec & " /c " & $Magick)

I would like to make it so that this bit "f07848" is pulled from the clipboard.

How can I do it?

 

p.s I am googling for a solution, I don't just ask and expect to be given the answer. But I'm not very good with coding in AutoIT or otherwise, so I ask here in case I fail to find a solution, or just to get the solution faster

Thanks :)

Posted

I figured out how to make it work using the Send command

Send("magick convert image.png -fuzz 15% -fill white {+}opaque ""{#}" & ClipGet() & """ image1.png")

But it won't work to incorporate it in the code in my original post.

Any help?

  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...