I have an iMacro that is extracting correctly (Tested with SET !EXTRACT_TEST_POPUP YES)
The extractions are sent to a VBS file and a second iMacro uses the created variables to populate a form.
Every single variable passed to the second iMacro is added to the form fields correctly EXCEPT the last variable which is 'SiteID'.
Here's the parts of the code that might be helpful:
Macro 1
Code: Select all
TAG POS=1 TYPE=TD ATTR=TXT:SiteID
TAG POS=R1 TYPE=TD ATTR=CLASS:itemrow2&&TXT:* EXTRACT=TXT
Code: Select all
Dim CRMID, txtFirstName, txtLastName, txtCompanyName, txtAddress, txtAddressCity, txtAddressState, txtAddressZip, txtEmail, txtDirectPhone, txtDirectPhoneExt, txtCity1, txtCity2, txtCity3, txtCity4, txtCity5, txtCity6, txtCity7, txtCity8, txtCounty, SiteID
...
...
set iim1= CreateObject ("imacros")
iret = iim1.iimInit("-fx", FALSE)
iret = iim1.iimPlay("City1")
...
...
txtCity7 = iim1.iimGetLastExtract(18)
txtCity8 = iim1.iimGetLastExtract(19)
txtCounty = iim1.iimGetLastExtract(20)
SiteID = iim1.iimGetLastExtract(21)
...
...
iret = iim1.iimSet("-var_CITY8", txtCity8)
iret = iim1.iimSet("-var_COUNTY", txtCounty)
iret = iim1.iimSet("-var_SITEID", SiteID)
iret = iim1.iimPlay("City1-2")
Test URL: http://www.tutoring911.com/submit.html
Code: Select all
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:City8 CONTENT={{CITY8}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:County CONTENT={{COUNTY}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:AssignedTo CONTENT={{SITEID}}
- The first iMacro extracts ALL of the data perfectly fine when ran in FF w/o the VBS script calling it
- I've found that the order of variables in the VBS file doesn't matter and even if it did everything is in correct order
- Everything is appropriately CaSe SeNsItIvE
Any help on what might be the problem?