Comments on: Hacking Stacks: A Failed Attempt http://www.extinguishedscholar.com/wpglob/?p=284 Powered by work over time. Tue, 21 Feb 2012 17:54:57 -0800 http://wordpress.org/?v=2.8.4 hourly 1 By: natevw http://www.extinguishedscholar.com/wpglob/?p=284&cpage=1#comment-1182 natevw Thu, 06 Dec 2007 07:25:31 +0000 http://www.extinguishedscholar.com/wpglob/?p=284#comment-1182 I did have success using: <code> <pre> on adding folder items to this_folder after receiving added_items do shell script "mv ~/Downloads/' Downloads ' ~/DLIcon" do shell script "mv ~/DLIcon ~/Downloads/' Downloads '" end adding folder items to </pre> </code> saved from Script Editor to /Library/Scripts/Folder Actions Scripts/RefreshDownloadsDrawer.scpt and enabling it on the Downloads folder. I did have success using:

on adding folder items to this_folder after receiving added_items
	do shell script "mv ~/Downloads/' Downloads ' ~/DLIcon"
	do shell script "mv ~/DLIcon ~/Downloads/' Downloads '"
end adding folder items to
 


saved from Script Editor to /Library/Scripts/Folder Actions Scripts/RefreshDownloadsDrawer.scpt and enabling it on the Downloads folder.

]]>
By: natevw http://www.extinguishedscholar.com/wpglob/?p=284&cpage=1#comment-1157 natevw Mon, 03 Dec 2007 18:35:05 +0000 http://www.extinguishedscholar.com/wpglob/?p=284#comment-1157 I should note that to clean up, simply: <code> <pre> DROP TRIGGER drawer_defender; DROP TRIGGER drawer_cleanup; DROP TABLE drawers; </pre> </code> ...though if you wouldn't have figured that out yourself, I very strongly recommend against setting up those tables/triggers in the first place. <i>Caveat hacktor</i>. I should note that to clean up, simply:

DROP TRIGGER drawer_defender;
DROP TRIGGER drawer_cleanup;
DROP TABLE drawers;

…though if you wouldn’t have figured that out yourself, I very strongly recommend against setting up those tables/triggers in the first place. Caveat hacktor.

]]>