-
Notifications
You must be signed in to change notification settings - Fork 0
Home
' This is the iMacro code for downloading lots of slides. ' The delay is just in case Firefox is too slow to keep up WAIT SECONDS=0.5 ' These lines are where it goes to file -> download -> PNG EVENT TYPE=CLICK SELECTOR="#docs-file-menu" BUTTON=0 WAIT SECONDS=0.5 ' Google Slide creates dynamic ID when the menu button is clicked EVENT TYPE=KEYPRESS SELECTOR=* KEY=40 EVENT TYPE=KEYPRESS SELECTOR=* KEY=39 EVENT TYPE=KEYPRESS SELECTOR=* KEY=40 EVENT TYPE=KEYPRESS SELECTOR=* KEY=40 EVENT TYPE=KEYPRESS SELECTOR=* KEY=40 EVENT TYPE=KEYPRESS SELECTOR=* KEY=40 EVENT TYPE=KEYPRESS SELECTOR=* KEY=40
' CSS selector locates the "Download button" by relative position EVENT TYPE=CLICK SELECTOR="body > div.goog-menu.goog-menu-vertical.goog-menu-noaccel:last-of-type > div:nth-child(6) >div > span" BUTTON=0 WAIT SECONDS=0.5
' This to mimic "Next Page" keypress EVENT TYPE=KEYPRESS SELECTOR=* KEY=34 WAIT SECONDS=0.1 ' end of macro loop