I am looking to make an Applescript that will take a list of numbers inputted by the user like (copy and pasted just like this):
25082945
25463469
03146331
36584524
23461461
Then, in a browser, open a new tab or each number with the number as the URL.
This is how far I have gotten:
display dialog "Please Enter IDs" with icon caution default answer ""
set id_list to text returned of result
tell application "Google Chrome"
make new tab at end of tabs of window 1 with properties {URL:id_list}
end tell
I am guessing that I need to filter the input into a list but I heard that Applescript does not register formatting so the line breaks are not registered. Then for each item in the id_list, open new tab, set url as that number.