これは非常に奇妙な問題です。理解できません。コードはわかりますが、疲れているのかわかりません。私は、結果として偽取得していますなぜそれが真でなければなりませんが、私は1つのアイテムでリストを持っており、それが変数 おかげでここロジックがApplescriptのリスト項目で動作しない
property forbidenFolders : {"/Volumes/USERS/"}
set ff to "/Volumes/USERS/" as text
my isForbidenFolder(ff)
on isForbidenFolder(SelectedFolder)
repeat with i in forbidenFolders
log "forbiden folders: " & i
log "actual folder : " & SelectedFolder
if i = SelectedFolder then
log "this folder is forbiden"
return true
end if
end repeat
log "NOT forbiden"
return false
end isForbidenFolder
結果
を使用してアイテム間接参照にあなたが持っているの等価性をチェックすることができるようにする
ありがとう男は、あなたが歓迎:-)だ –
私を保存alaways – vadian