Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View choc-design's full-sized avatar

Andreas Cichocki choc-design

View GitHub Profile
@choc-design
choc-design / webloc-muncher.scpt
Last active July 30, 2017 07:07
webloc muncher with display dialog for debugging
property extension_to_rename : {"webloc"}
property extension_to_exctract : {"xml"}
on open theDroppedItems
repeat with a from 1 to count of theDroppedItems
set theCurrentItem to item a of theDroppedItems
tell application "Finder"
set isFolder to folder (theCurrentItem as string) exists
end tell
-- Process a dropped folder