1.Go to google maps
2.Search for (variable)
3.Press three times the Next button
4.Search for (another variable)
5.Press three times the Next button
6.Search for (another variable) etc...
Macro should loop the words from a list and type them into the searchbox from google maps.
All I have by now is the following code but I do not know how to make a loop and how to create a list with variable. It would be great if somebody could help.
Code: Select all
URL GOTO=https://www.google.com/maps/@51.1758057,10.4541194,6z
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:searchbox_form ATTR=ID:searchboxinput CONTENT=lieferando<SP>22117
TAG POS=1 TYPE=BUTTON ATTR=ID:searchbox-searchbutton
WAIT SECONDS=5
TAG POS=1 TYPE=SPAN ATTR=CLASS:n7lv7yjyC35__button-next-icon
WAIT SECONDS=2.5
TAG POS=1 TYPE=SPAN ATTR=CLASS:n7lv7yjyC35__button-next-icon
WAIT SECONDS=2.5
TAG POS=1 TYPE=SPAN ATTR=CLASS:n7lv7yjyC35__button-next-icon
iMacros for Chrome 10.1.0 free version
Google Chrome Version 86.0.4240.111