I need to adapt this code to launch urls instead of search strings in google with IE.
How can i do that ?

Code: (autohotkey)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Recommended for catching common errors.pongo ; inicial por error al compilar sobre esta línea.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
URL = http://www.google.com/search?q=
navOpenInNewWindow = 1
navOpenInNewTab = 2048
navOpenInBackgroundTab = 4096
navOpenNewForegroundTab = 65536
FileSelectFile, filepath
wb := ComObjCreate("InternetExplorer.Application") ; create IE
wb.Visible := true ; 'false' to not show IE
loop, Read, %filepath%
{
if (A_index = 1)
wb.Navigate2(URL . A_LoopReadLine, navOpenNewForegroundTab) ; Navigate
else
wb.Navigate2(URL . A_LoopReadLine, navOpenInBackgroundTab) ; Navigate
sleep 100
}
returnHow can i do that ?








