Gankyou4 wrote: ↑Fri Apr 10, 2020 1:33 pm
The only one that worked was HREF, but it is copying the image address. I just want to copy the image.
my command :
Code: Select all
SET !ERRORIGNORE YES
TAG POS=1 TYPE=IMG ATTR=ID:img_captcha* EXTRACT=HREF
SET !CLIPBOARD {{!EXTRACT}}
Yeah, well, I don't know what "URL" means to you in "Copy URL Image" in your Thread Title and in the Description in your OP ("I'm trying to copy the URL of an image in php"), but it means "Address" to me, ah-ah...!
But hum, so if you want to copy an Image as a Blob to your OS Clipboard, to paste later in a 'Word' or 'Paint' Document for example, hum..., I'm not sure you can do that from iMacros...
What iMacros can, is saving the Image locally to your Computer, and you have several Commands for that: 'SAVEITEM', 'SAVE_ELEMENT_SCREENSHOT', 'SCREENSHOT', and even the 'SAVEAS' Command...
(The 'SAVE_ELEMENT_SCREENSHOT' Wiki Page has more Info about saving a Captcha Image...)
Another "Option" you can explore, is with 'Select' (with the Mouse or Keyboard) + 'Copy' ('Ctrl^c' from Keyboard) that could be triggered from the 'EVENT' Mode, same maybe also with in FF the Right Click on a Image and the contextual Item 'Copy Image' with a Shortcut on the 'y' that might also work from the 'EVENT' Mode...

- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...