I’m currently using this
tell application "Finder"
set destinationFolder to (folders of desktop whose name starts with "BU")
end tell
but rather than desktop I need to get it to look at specific volume. how can I modify however its important that it works like above.
Many Thanks
Matt
Hi,
use the disk specifier
tell application "Finder"
set destinationFolders to (folders of disk "myVolume" whose name starts with "BU")
end tell
tell application “Finder”
set a to alias “Images:”
set p to POSIX path of a
set destinationFolder to (folders of a whose name starts with "20")
end tell
I think that does it unless it can be done tidier?
Excellent that looks better!
Thanks
What about when I am trying this? As this doesn’t work for me.
tell application "Finder"
set theFolder1 to make folder at (path to disk "Images:") with properties {name:"aFolder"}
end tell