TagIE.ahk
TagIE.ahk copied to clipboard
TagIE : Web Process automation in AutoHotKey
TagIE.ahk
Features | Set Up | Demo | Cheat Sheet | Tutorial | Simple Examples | Video | TagIE Scripts | AutohotKey Thread
TagIE is a tool for digital process automation (RPA). It's a collection of the best ressources and functions done in AutoHotKey the user-friendly language of automation. To start, check out Set Up or above tutorial, examples, or video.
For any question/report a problem: open an issue
FEATURES:
-Simplify your Internet Explorer and Chrome automation Scripts with simple readable functions in AutoHotKey language -Macro Recorder (Beta) : Click on element on IE, TagIE record click sequences -TagIE auto-waits for a webpage element to appear and interacts with it as soon as it appears -Use iMacros to easily record Macros and convert it to TagIE with tool inside Menu > iMacros_converter -Log file (in the same directory) show automation steps done and time, to control testing execution -Element identifier Tools for: id, tagname, classname, and Selectors -Find/Share scripts from/to TagIE Scripts -Schedule your TagIE Scripts inside the application, ones or daily -It's FREE (Open Source)DEMO:


Set Up:
- Install AutoHotKey (https://www.autohotkey.com/)
- Save and Unzip TagIE_Editor.zip
- Open "TagIE_Editor.ahk"
- TO USE SCREENSHOTS (tsnap funtion): install Irfanview (https://www.irfanview.com/)
CODE EXAMPLES:
Example 1 : Navigate, enter text in field, click on button, take a screenshot
#include TagIE.ahk
tnav("https://www.google.com","")
tenter("ciao", "q", 0)
tclick("body > div > div:nth-of-type(4) > form > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(3) > center > input:nth-of-type(1)", 0)
Sleep, 10000
;pwb.Quit()
ExitApp
Esc::ExitApp
Example 2 : Navigate, get data from webpage, save (append) in file
#include TagIE.ahk
tnav("http://the-automator.com/web-scraping-with-autohotkey/","")
Var:=tread("#post-1239 > div > p:nth-child(1) > strong", 0)
techo(Var)
FileAppend, %Var% `n, Test.txt
Sleep, 1000
pwb.Quit()
ExitApp
Esc::ExitApp
Example 3 : Navigate, export data from table to cvs file from webpage:
#include TagIE.ahk
url := "https://finance.yahoo.com/quote/%5EDJI/history?p=%5EDJI"
tnav(url,"")
tscroll("table", 0)
table2csv("DOW.csv")
Sleep, 5000
pwb.Quit()
ExitApp