Skip to content

Instantly share code, notes, and snippets.

@tekkub
Created June 30, 2010 03:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tekkub/458212 to your computer and use it in GitHub Desktop.
Save tekkub/458212 to your computer and use it in GitHub Desktop.
RunNever.wtf
on adding folder items to this_folder after receiving added_items
repeat with i from 1 to number of items in added_items
set this_item to item i of added_items
set the item_info to the info for this_item
if (the name of the item_info is "RunOnce.wtf") then
tell application "Finder"
delete this_item
end tell
end if
end repeat
end adding folder items to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment