Whenever I download a file to my Downloads folder, I want to do
something with it.
Now, when scanning the Downloads folder I have to know the filename.
I always got to the file by having my Downloads folder as a stack in
my dock, sorting it by last-added.
Cumbersome, too many mouse clicks.
I made an Apple Script to get the last added File. Put it into a
directory you are scanning and run it.
It will send the file straight to QS.
I made a trigger to the script, so with one combination I have my last
download in QS.
Note, you have to replace the hardcoded folder name with your
downloads folder.
BTW, is still somebody tracking these little scripts for the wiki page
of this group?
-------------------
set the_folder to "/Users/hild/Downloads/" as string
set g to my findLastAddedFile(the_folder)
set g to g as string
tell application "Quicksilver" to open the_folder & g
on findLastAddedFile(folder)
set f to do shell script "ls -ct " & quote & folder & quote & " |
head -1"
return f as string
end findLastAddedFile
-------------------
To unsubscribe from this group, send email to
blacktree-quicksilver+unsubscribegooglegroups.com or reply to this email with
the words "REMOVE ME" as the subject.