「ご主人様ご命令を!」OS Xでスクリプトスレ
■ このスレッドは過去ログ倉庫に格納されています
0593名称未設定
03/01/11 01:31ID:VZozySCPフォルダの中のファイルとフォルダを判別にする方法を教えてもらえませんか?
もう何時間もやってるんですけど、うまくいかないんですー。
on open dropFolder
tell application "Finder"
set the myList to list folder dropFolder without invisibles
set dropFolder to dropFolder as string
repeat with i from 1 to number of items in the myList
set iItem to item i of the myList
set iAlias to (dropFolder & iItem) as alias
set iInfo to info for iAlias
if folder of iInfo is true then
--if folder of iAlias is true then
--if folder iAlias exists then
--if folder (org & iItem) exists then
open iAlias
end if
end repeat
end tell
end open
■ このスレッドは過去ログ倉庫に格納されています