Your original question was that you wanted to open a list of URLs in Firefox, have you tried it?
firefox.exe -new-tab URL1
firefox.exe -new-tab URL2
Do you want to open a list of URLs as per your original question or do something completely different?
gnnnnngggnnnnn gnnngg arrrrrrgggghahhhhhhhhhhhhhhhh
Sure is possible, but then I will need to adapt to every url's list i have. Not confortable.
At this point of the "movie" I think must be alternatives ways to automate firefox, chrome, safari, yandex, etc with AHK.
But not with a UDF like with autoit.
I begin to understand alternatives, like que development scripting o something each browser have.....