Folder Action Help

19 views
Skip to first unread message

jamesvdm

unread,
Jul 13, 2011, 11:20:53 PM7/13/11
to iFlicks
This isn't really an iFlicks problem but I hope some genius can help.

I'm a real beginner at AppleScript and can't see what's wrong with
this script to only import AVIs -

***************
on adding folder items to thisFolder after receiving addedItems

repeat with movieFile in addedItems
if name extension of movieFile is "avi" then
tell application "iFlicks"
import movieFile without gui
end tell
end if
end repeat

end adding folder items to
***************

Any ideas?

Thanks in advance.

jamesvdm

unread,
Jul 14, 2011, 1:50:51 AM7/14/11
to iFlicks
I figured out it's because the name extension stuff doesn't work
outside of a Finder tell.

James

Phil Spitler

unread,
Jul 14, 2011, 2:10:39 AM7/14/11
to ifl...@googlegroups.com
Cool, glad you sorted it.

Phil

> --
> You received this message because you are subscribed to the Google Groups "iFlicks" group.
> To post to this group, send email to ifl...@googlegroups.com.
> To unsubscribe from this group, send email to iflicks+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/iflicks?hl=en.
>

jamesvdm

unread,
Jul 14, 2011, 11:36:16 PM7/14/11
to iFlicks
Your original script helped a lot, thanks.

On Jul 14, 2:10 pm, Phil Spitler <p...@bonfirelabs.com> wrote:
> Cool, glad you sorted it.
>
> Phil
>
Reply all
Reply to author
Forward
0 new messages