I'm trying to create an AutoHotkey script that can be added to the Startup folder, to open IE with multiple predetermined tabs. I have several websites at work that I use regularly, & I want to have IE automatically open when I first login with these pages loaded. I've searched & found a few AHKs which I've tried to alter for my needs, but I receive errors with them. Here is the code I'm trying to use:
Pwb := COM_CreateObject ("InternetExplorer.Application")
Pwb.Visible:=True
Pwb.Navigate("https://*****.org/***/")
Pwb.Navigate2("https://*****", 2048)
Pwb.Navigate3("http://*****", 2048)
Pwb.Navigate4("http://*****", 2048)
Pwb.Navigate5("*****", 2048)
Pwb.Navigate6("*****", 2048)
Return
When I launch this I receive error "The following variable name contains an illegal character: "Pwb.Visible" The program will exit." If I try to just delete that part of the code, I then get errors on my websites: "Error: Call to nonexistent function. Specifically: Pwb.Navigate("https://.org/**/") The program will exit."