I have a problem with picture upload on "Amazon Custom":
- On one page you can/must upload different pictures. See screenshot.
- iMacro records always the same line "TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\xxxxx" - see code snippet
- Behaviour when playing the macro: the first picture gets uploaded again and again, all the other pictures don't get uploaded.
Ok, it's always the same line, therefore always the same picture. But how do I adress the upload buttons (German: "Vom Computer hochladen") further down on the side? I already tried to increase POS=1->X, but it made no difference.
All the best
Carsten
Windows 7 prof 64 bit
IE 11.0.135
iMacros personal 12.5.2018.1105
Code: Select all
VERSION BUILD=12.5.2018.1105
TAB T=1
TAB CLOSEALLOTHERS
'SET !PLAYBACKDELAY 0.00
SET !DATASOURCE c:\tr\test.csv
SET !LOOP 2
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO=https://sellercentral.amazon.de/customization/manageListings?ref_=myi_ac_vl_fba
'die SKU des Plissees ist die erste Spalte der CSV -> {{!COL1}}
TAG POS=1 TYPE=INPUT:SEARCH ATTR=CLASS:"a-input-text search-input" CONTENT={{!COL1}}
TAG POS=1 TYPE=BUTTON ATTR=ID:a-autoid-0-announce
TAG POS=1 TYPE=BUTTON ATTR=ID:a-autoid-18-announce
TAG POS=1 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text amz-custom-surface-name" CONTENT="Profilfarbe"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=4 TYPE=SPAN ATTR=TXT:"Typ auswählen"
TAG POS=1 TYPE=A ATTR=TXT:Optionsliste
TAG POS=1 TYPE=BUTTON ATTR=ID:a-autoid-26-announce
' Liste der Profilfarben. 2 Optionen bietet Amazon so an. Ab dem dritten muss das Kommando dazu, dass eine neue Option verfügbar wird
' ab dem 9. Profil ist es foliertes Holz, das kostet extra, deswegen wird die "Aufpreis-Zeile" eingefügt
TAG POS=1 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-list-of-options-label" CONTENT="Profilfarbe wählen"
TAG POS=1 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="weiß"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Bohren.png
TAG POS=2 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="silber eloxiert"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\grau.png1
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=3 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="schwarz eloxiert"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Griff.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=4 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="titan eloxiert"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=5 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="anthrazit"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Bohren.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=6 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="grau"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\grau.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=7 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="braun"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Griff.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=8 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="elfenbein"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=9 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Eiche dunkel foliert"
TAG POS=9 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=10 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Eiche gold foliert"
TAG POS=10 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=11 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Kiefer foliert"
TAG POS=11 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=12 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Mahagoni foliert"
TAG POS=12 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=13 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Nussbaum foliert"
TAG POS=13 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=14 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Winchester foliert"
TAG POS=14 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL3}}
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT=C:\tr\Profilfarben.png
TAG POS=1 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-medium amz-custom-print-area-name" CONTENT="Auwahl der Profilfarbe"
TAG POS=1 TYPE=INPUT:CHECKBOX ATTR=NAME:amz-custom-area-is-required-name CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:a-autoid-0-announce
TAG POS=2 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text amz-custom-surface-name" CONTENT=Griff
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT="Vom Computer hochladen"
TAG POS=2 TYPE=SPAN ATTR=ID:a-autoid-24-announce
TAG POS=1 TYPE=A ATTR=TXT:Optionsliste
TAG POS=2 TYPE=BUTTON ATTR=ID:a-autoid-26-announce
TAG POS=2 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-list-of-options-label" CONTENT="Griff auswählen"
TAG POS=9 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT=Trapez
TAG POS=10 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT=Rechteck
TAG POS=2 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=11 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT=Blatt
TAG POS=2 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=12 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Alu Designgriff weiß pulverb."
TAG POS=12 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL2}}
TAG POS=2 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=13 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Alu Designgriff schwarz elox."
TAG POS=13 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL2}}
TAG POS=2 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=14 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Alu Designgriff silber elox."
TAG POS=14 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT={{!COL2}}
TAG POS=2 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-medium amz-custom-print-area-name" CONTENT="Auswahl des Griffs"
TAG POS=2 TYPE=INPUT:CHECKBOX ATTR=NAME:amz-custom-area-is-required-name CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:a-autoid-0-announce
TAG POS=3 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text amz-custom-surface-name" CONTENT="Montage"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT="Vom Computer hochladen"
TAG POS=3 TYPE=SPAN ATTR=ID:a-autoid-24-announce
TAG POS=1 TYPE=A ATTR=TXT:Optionsliste
TAG POS=3 TYPE=BUTTON ATTR=ID:a-autoid-26-announce
TAG POS=3 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-list-of-options-label" CONTENT="Art der Montage"
TAG POS=15 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Spannfüße (bohren)"
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT="Vom Computer hochladen"
TAG POS=16 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Spannfüße (bohren) mit Magnet"
TAG POS=16 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT=8
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT="Vom Computer hochladen"
TAG POS=3 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=17 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Klemmträger -läuft in der Falz"
TAG POS=17 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT=10
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:file CONTENT="Vom Computer hochladen"
TAG POS=3 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=18 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Klebeträger -läuft in der Falz"
TAG POS=18 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT=14
TAG POS=3 TYPE=INPUT:SUBMIT ATTR=CLASS:a-button-input
TAG POS=19 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-large amz-custom-option-name" CONTENT="Klebeträger mit Magnet"
TAG POS=19 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-small amz-custom-option-price-delta" CONTENT=22
TAG POS=3 TYPE=INPUT:TEXT ATTR=CLASS:"a-input-text a-form-normal a-width-medium amz-custom-print-area-name" CONTENT="Auswahl der Montage"
TAG POS=3 TYPE=INPUT:CHECKBOX ATTR=NAME:amz-custom-area-is-required-name CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:a-autoid-9-announce