How to auto-upload files?

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
Jip-Hop
Posts: 3
Joined: Thu Aug 28, 2008 5:27 pm

How to auto-upload files?

Post by Jip-Hop » Thu Aug 28, 2008 6:13 pm

Hi, I've got a question.
I work for a website, and I've got to do work that should be automatized!
I've got to upload flash video clips, and it's so boring.
Below, you see the form that i've got to fill in.
Image
Bladeren means: browse

When I record my uploading (Using X/Y), I get this script:
VERSION BUILD=6060801 RECORDER=FX
TAB T=1
URL GOTO=http://www.vetja.nl/modules/news/php/adminAdd
CLICK X=263 Y=408
CLICK X=41 Y=408 CONTENT=C:\Snapshots\Bush<SP>Impersonator<SP>-<SP>This<SP>Kid<SP>Is<SP>Awesome.jpg
CLICK X=42 Y=341
CLICK X=41 Y=340 CONTENT=Bush<SP>Impersonator<SP>-<SP>This<SP>Kid<SP>Is<SP>Awesome
CLICK X=263 Y=491
CLICK X=41 Y=491 CONTENT=C:\Tibaco\filmpjes\snapped\Bush<SP>Impersonator<SP>-<SP>This<SP>Kid<SP>Is<SP>Awesome.flv
CLICK X=42 Y=543
CLICK X=109 Y=543
CLICK X=42 Y=341
CLICK X=42 Y=341
CLICK X=42 Y=595
CLICK X=41 Y=594 CONTENT=Bush<SP>Impersonator<SP>-<SP>This<SP>Kid<SP>Is<SP>Awesome
CLICK X=42 Y=647
CLICK X=41 Y=696
CLICK X=41 Y=698
CLICK X=110 Y=942

This doesn't even work for one file :o
If I choose other clicking options, it gives an error at line 4.

I really don't know what to do, i thought maybe you guys could give me some advice.
Maybe you want to have some more information about the files i want to upload,
check the attachment if you like.

I hope you can help me make my work, less work! :mrgreen:
Thatoneguy
Posts: 15
Joined: Tue Aug 26, 2008 10:04 pm

Re: How to auto-upload files?

Post by Thatoneguy » Fri Aug 29, 2008 2:48 am

Personally I've always had the best luck with form filling by using the tag method of clicking.
I would mess around with it myself but since I don't have access to your site, i would suggest recording the macro once with each of the methods, then splicing in different commands until you find which one works best for each of the fields you are trying to fill.
If you want more help than that please give a more detailed description of what happens. Does it actually fill all the forms? Does it only fill some of them? Does it do so and just not click the buttons?. Obviously you must switch to a different click method at some point to make this work properly or it would be working already. The only question is what is hanging you up now, and how best to counter it.
Jip-Hop
Posts: 3
Joined: Thu Aug 28, 2008 5:27 pm

Re: How to auto-upload files?

Post by Jip-Hop » Fri Aug 29, 2008 6:04 pm

Thanks for the reply!
I still have the same problems.
When I use the x/y method, it fills everything except for the ones which allow you to browse.
I recorded my actions and it didn't work.
When I use the "automatically decide which to use" when recording.. it doesn't work either.
I get this record:
VERSION BUILD=6060801 RECORDER=FX
TAB T=1
URL GOTO=http://www.vetja.nl/modules/news/php/adminAdd
TAG TYPE=INPUT:TEXT CONTENT=C:\Tibaco\filmpjes\snapped\Does<SP>it<SP>Blend<SP><SP>-<SP>Hands.flv
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:title CONTENT=Does<SP>it<SP>Blend<SP><SP>-<SP>Hands
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:oneliner CONTENT=Does<SP>it<SP>Blend<SP><SP>-<SP>Hands
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:keywords CONTENT=Does,it,Blend,Hands
TAG POS=1 TYPE=SELECT ATTR=NAME:int_topicID CONTENT=%23
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=ID:submit

It gives an error at the 4th line.
"SyntaxError: wrong format for TAG command, line 4"
It doesn't get any further than that :?
Still don't know what I should do.
I hope that i've given enough information.
Feel free to send me an e-mail, add me @ msn or something:
Jip-Hop@live.nl

Thanks in advance.
Thatoneguy
Posts: 15
Joined: Tue Aug 26, 2008 10:04 pm

Re: How to auto-upload files?

Post by Thatoneguy » Sat Aug 30, 2008 12:55 am

VERSION BUILD=6060801 RECORDER=FX
TAB T=1
URL GOTO=http://www.vetja.nl/modules/news/php/adminAdd
TAG POS=2 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:file: CONTENT=C:\Tibaco\filmpjes\snapped\Does<SP>it<SP>Blend<SP><SP>-<SP>Hands.flvTAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:title CONTENT=Does<SP>it<SP>Blend<SP><SP>-<SP>Hands
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:oneliner CONTENT=Does<SP>it<SP>Blend<SP><SP>-<SP>Hands
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:keywords CONTENT=Does,it,Blend,Hands
TAG POS=1 TYPE=SELECT ATTR=NAME:int_topicID CONTENT=%23
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form1 ATTR=ID:submit


try it like that.
not sure about whether the colon would be required at the end of file or not
if this doesn't work try it once without the colon there
Jip-Hop
Posts: 3
Joined: Thu Aug 28, 2008 5:27 pm

Re: How to auto-upload files?

Post by Jip-Hop » Sat Aug 30, 2008 6:57 pm

Nope still get the same error.
Leave it be, what I want isn't possible with Imacro's.
To bad.

Thanks for your time though.
Post Reply