I just realised that I never posted the original script from which the previous one
was derived. It does the exact opposite, it opens the currently active URL
in Safari with iCab.
tell application "Safari"
set this_URL to the URL of document 1
tell application "iCab"
Notice the eery similarity in code.
[Edit: It was posted but in the wrong category, silly me.]