Automatorで絞り込んだurlをタブで開くとこまではなんとかできたんですが切り離す方法と代入の方法がわかりません、どういうふうにApplesctiptを書くといいのでしょうか?


on run {input, parameters}
tell window 1 of application "Safari"
repeat with param in input
set newtab to make new tab
set URL of newtab to param
end repeat
end tell
return input
end run