SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
giorgio79
Posts: 80
Joined: Thu Oct 02, 2008 8:34 am

SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by giorgio79 » Sun May 22, 2011 4:13 pm

Hello,

Trying to save the captcha here

http://tinyurl.com/3f95mq6

With this

ONDOWNLOAD FOLDER=* FILE=+_image_{{!NOW:yyyymmdd_hhnnss}}
TAG POS=1 TYPE=DIV ATTR=CLASS:form-row CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT

but I am getting this weird error
uri is undefined, code -1001

Any tips?
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by MattBell7 » Mon May 23, 2011 12:54 pm

which version of iMacros are you using?
giorgio79
Posts: 80
Joined: Thu Oct 02, 2008 8:34 am

Re: SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by giorgio79 » Mon May 23, 2011 1:14 pm

2011-04-20 V7.2.1.0
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by MattBell7 » Mon May 23, 2011 2:30 pm

can you run:

http://wiki.imacros.net/Demo-ImageDownload

successfully, or does that fail too?
giorgio79
Posts: 80
Joined: Thu Oct 02, 2008 8:34 am

Re: SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by giorgio79 » Mon May 23, 2011 4:29 pm

Yep that works fine.

Does my macro work fine for you on that url I pasted?

SAVE_ELEMENT_SCREENSHOT works a lot of times for me, but occasionally it gives this uri error.
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
siniy
Posts: 118
Joined: Sat Nov 07, 2009 7:44 pm

Re: SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by siniy » Tue May 24, 2011 6:28 am

SAVE_ELEMENT_SCREENSHOT work fine on "<img src.." tag. But I also get this error when trying to save element with "<div... tag"
Tom, Tech Support
Posts: 3529
Joined: Mon May 31, 2010 4:59 pm

Re: SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by Tom, Tech Support » Wed May 25, 2011 9:28 pm

SAVE_ELEMENT_SCREENSHOT is only intended to be used with IMG elements.

We will update iMacros so that it returns a more appropriate error code/description in the future when this is used with a non-IMG element.
Regards,

Tom, iMacros Support
giorgio79
Posts: 80
Joined: Thu Oct 02, 2008 8:34 am

Re: SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by giorgio79 » Thu May 26, 2011 4:24 am

Hello Tom,

It does work for me for non img elements as well occasionally.

But sometimes, I get this uri error on some non img elements.

Would love to see this work with non imgs :)
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: SAVE_ELEMENT_SCREENSHOT uri is undefined, error -1001

Post by Tech Support » Thu May 26, 2011 2:37 pm

We plan to make it work with as many elements as possible, and return an error if it can not.
Post Reply