Torque3D/Engine/bin/tools/packagemaker/scripts/templates/launchSafari

13 lines
269 B
Plaintext
Raw Normal View History

#!/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