Torque3D/Engine/bin/tools/packagemaker/scripts/templates/launchSafari
2012-09-20 12:46:44 -04:00

13 lines
269 B
Bash

#!/bin/bash
exec osascript <<EOF
tell application "safari"
set theURL to "$1"
activate
if not (document 1 exists) then
make new document at beginning of documents
end if
tell front window
set URL of document 1 to theURL
end tell
end tell