> Show us the script please.
As i said, there is no difference between long or short folder action
scripts without the win-popup behavior in finder.
Belowe, a short example: (-and litte gift)
--Sort
on adding folder items to this_f after receiving added_items
tell application "Finder"
if (exists (document files in this_f whose name begins with "1"))
then
set name_is to "1"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "2"))
then
set name_is to "2"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "3"))
then
set name_is to "3"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "4"))
then
set name_is to "4"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "5"))
then
set name_is to "5"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "6"))
then
set name_is to "6"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "7"))
then
set name_is to "7"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "8"))
then
set name_is to "8"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "9"))
then
set name_is to "9"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "0"))
then
set name_is to "0"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "a"))
then
set name_is to "A"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "b"))
then
set name_is to "B"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "c"))
then
set name_is to "C"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "d"))
then
set name_is to "D"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "e"))
then
set name_is to "E"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "f"))
then
set name_is to "F"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "g"))
then
set name_is to "G"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "h"))
then
set name_is to "H"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "i"))
then
set name_is to "I"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "j"))
then
set name_is to "J"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "k"))
then
set name_is to "K"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "l"))
then
set name_is to "L"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "m"))
then
set name_is to "M"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "n"))
then
set name_is to "N"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "o"))
then
set name_is to "O"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "p"))
then
set name_is to "P"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "q"))
then
set name_is to "Q"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "r"))
then
set name_is to "R"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "s"))
then
set name_is to "S"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "t"))
then
set name_is to "T"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "u"))
then
set name_is to "U"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "v"))
then
set name_is to "V"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "w"))
then
set name_is to "W"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "x"))
then
set name_is to "X"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "y"))
then
set name_is to "Y"
my my_sorter(name_is, this_f)
end if
if (exists (document files in this_f whose name begins with "z"))
then
set name_is to "Z"
my my_sorter(name_is, this_f)
end if
end tell
end adding folder items to
on my_sorter(name_is, this_f)
tell application "Finder"
if not (exists (folders in this_f whose name is name_is)) then
make new folder at this_f with properties {name:name_is}
end if
set count_chars to count characters of name_is
if count_chars ≠ 3 then
set x to (document files in this_f whose name begins with name_is)
set y to (the name of folders in this_f whose name is name_is) as
string
move x to folder y of this_f
else
set ch_1 to character 1 of name_is
set ch_3 to character 3 of name_is
set x_1 to (document files in this_f whose name begins with ch_1)
set x_3 to (document files in this_f whose name begins with ch_3)
set destin_ to (the name of folders in this_f whose name is (ch_1 &
"," & ch_3)) as string
set Group_1 to {x_1, x_3} as list
move Group_1 to folder destin_ of this_f
end if
end tell
end my_sorter
>> Stay informed about: Folder action script