0
我試圖在AppleScriptObjC中構建一個if語句來檢查窗口的標題是否與某個字符串匹配,但我不確定正確句法。AppleScriptObjC - 在IF語句中檢查窗口標題字符串的正確語法
例如:
theWindow's setTitle_("testing")
if theWindow's title = "testing" then
do some stuff
else
do some other stuff
end if
這顯然不是正確的語法,但希望它證明我後。謝謝你的幫助!