05-12-2008, 02:32 PM
i'm trying to write an applescript that organizes files in a hierarchy of folders. unfortunately i'm having trouble getting the subfolder of an existing folder.
the following code fails to find the folder "test" inside of thisFolder - because i'm doing something wrong.
ideas?
---
on adding folder items to thisFolder after receiving addedItems
tell finder
if exists folder "test" of thisFolder then
display dialog "yes"
else
display dialog "no"
end if
end tell
end adding folder items to
the following code fails to find the folder "test" inside of thisFolder - because i'm doing something wrong.
ideas?
---
on adding folder items to thisFolder after receiving addedItems
tell finder
if exists folder "test" of thisFolder then
display dialog "yes"
else
display dialog "no"
end if
end tell
end adding folder items to