fixed macos x version to use appleevents

original commit: a5f2c5477efb323219e35c52bc775544c363f746
This commit is contained in:
Robby Findler 2002-06-04 02:39:36 +00:00
parent d30eb0f299
commit 6816de50a4

View File

@ -15,9 +15,11 @@
[current-error-port null-output] ; comment out this line to see error messages
[current-output-port null-output])
(case (system-type)
[(macos macosx)
[(macos)
;; actually, I think GURL means something slightly different...
(send-event "MACS" "GURL" "GURL" str)]
[(macosx)
(system (format "osascript -e 'open location \"~a\"'" str))]
[(windows)
(shell-execute #f str "" (current-directory) 'SW_SHOWNORMAL)]
[(unix)