Hi!
I struggle with this:
I want Finder to activate when a folder contains one file ore more, but nothing happens :_(
==============================
set TheFolder to (“ThePath”)
if (count of TheFolder) is 1 then
tell application "Finder"
activate
end tell
end if
==============================