작은 AppleScript로 도움이 필요합니다.AppleScript (목록 선택)
내가 목록에서 선택하면. Safari는 항상 test3을 엽니 다. 어쩌면 누군가 나를 도울 수 있습니까?
코드 A는 "목록에서 선택"대화 상자가 목록에서
set choice to choose from list {"1", "2", "3"}
if choice is "1" then
tell application "Safari" to open location "http://test1/"
else if choice is "2" then
tell application "Safari" to open location "http://test2/"
else
tell application "Safari" to open location "http://test3/"
end if
당신은 무슨 일이 일어날 지 말하지 않았습니다. – DBedrenko
S/그는 사파리가 항상 test3을 열지는 않지만 때때로 test1 또는 test2를 열 것이라고 예상합니다. AppleScript를 알고 있다면 분명합니다. 더 자세한 설명이 필요없고 투표 할 필요가 없습니다. – Mark