There must be an easier way to set this up, but I couldn't find one, so I made my own. My lovely wife often sits down at the Mac and browses the web, saving files on MY desktop. I don't know about you, but this drives me nuts -- I like things neat. So, how do you easily send files over to her account's desktop so you can be rid of them? I wrote an AppleScript and attached it to a folder on my Desktop called "Send to Shan's Desktop," which just moves the file to her drop box at /Users -> shan -> Public -> Drop Box. It looks like this:
on adding folder items to this_folder after receiving these_items
tell application "Finder"
move these_items to ¬
(folder "Macintosh HD:Users:shan:Public:Drop Box")
delete these_items
end tell
end adding folder items to
Nothing complicated there. Obviously, chances are your wife's name is not Shan, so put your own wife's user name in its place. Next, while logged in to her user space, I created a folder on her Desktop called "From Mike's Side" which has this applescript attached to it:
on opening folder this_folder
tell application "Finder"
set folder_contents to name of every item of folder ¬
("Macintosh HD:Users:shan:Public:Drop Box")
set the item_list to list folder ¬
("Macintosh HD:Users:shan:Public:Drop Box") without invisibles
set numb_items to number of items in item_list
repeat with i from 1 to numb_items
set this_item to item i of folder_contents
move file this_item of folder "Drop Box" of folder "Public" ¬
of folder "shan" of folder "Users" of disk "Macintosh HD" to ¬
(folder "Macintosh HD:Users:shan:Desktop:From Mike's Side")
end repeat
end tell
end opening folder
I did this because Shan, bless her heart, isn't much for navigating to her home folder, then opening her Public folder, then opening her Drop Box folder. By attaching this script to a convenient folder on the Desktop, it automatically moves files that I have transfered on my side to the folder on her desktop. A better way to do this must exist, I am sure, but I couldn't google one or find one here.