2013-02-22 80 views

回答

3

試試這個:

set aVariable to do shell script "fullPathToYourExecutable" 
display dialog aVariable 
+0

你能否給我一個例子嗎? – TWcode 2013-02-22 17:53:44

+0

設置一個可變shell腳本「echo」形式的「shell腳本結果」 – 2013-02-22 23:27:02

+0

設置一個變量做shell腳本「/ usr/bin/mdfind -onlyin〜/ -name .xcodeproj」 – 2013-02-22 23:31:08