Jump to content

How to pull data from Clipboard to run command?


Scorpys
 Share

Recommended Posts

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 :)

Link to comment
Share on other sites

  • Developers

@Scorpys AND @Luke94

Please read our forum rules (again) as we do not allow discussion/question that bypass security measures in our forums!

Jos 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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