The code works fine for me with amazon.com open in IE. What value for IE[0] are you getting? If it's not finding a match the first line will return -1 and then I would expect an error in the second line. Which version of IE are you running?
Try:
Code: Select all
IEGetFromURL>amazon.com,IE[0]
If>IE[0]>-1
IEClickTag>IE[0],,,INPUT,VALUE,Go,ie_res
Else
MessageModal>No matching IE instance
Endif
If you are running Windows 10 make sure you have amazon.com running in IE (Not Edge). IE11 or below. Not Edge. IE11 is included with Windows 10 but if you clicked on the E icon in your task bar you're probably running Edge. Instead click the Windows button and type Internet Explorer to find IE11.
If you were to make the macro open in IE instead it would open in IE11:
Code: Select all
IECreate>IE[0],ie_res
IENavigate>IE[0],www.amazon.com,ie_res
IEWaitDocumentComplete>IE[0],ie_res
IEClickTag>IE[0],,,INPUT,VALUE,Go,ie_res