I was wondering if anyone can give me some advice on how I can use apple script to delete this folder?
Users/user1/Library/Application Support/Skype/tankitan
I was wondering if anyone can give me some advice on how I can use apple script to delete this folder?
Users/user1/Library/Application Support/Skype/tankitan
tell application "Finder" to delete ((POSIX file "/Users/user1/Library/Application Support/Skype/tankitan") as alias)
Perhaps this script clears up any 'tankitan' hooks while managing a specific external hook (s), for certain user1 or username (s)
(* Ashley Rhodes https://mrashrhodes.wordpress.com/2015/03/18/simple-delete-files-and-folders-script-applescript/ *)
tell application "System Events"
set deleted to POSIX file "/Users/username/Library/Caches/"
tell application "Finder"
delete (files of folder deleted)
delete (folders of folder deleted)
end tell
set deleted to POSIX file "/Users/username/Library/Cookies/"
tell application "Finder"
delete (files of folder deleted)
delete (folders of folder deleted)
end tell
set deleted to POSIX file "/Users/username/Library/Saved Application State/"
tell application "Finder"
delete (files of folder deleted)
delete (folders of folder deleted)
end tell
set deleted to POSIX file "Users/user1/Library/Application Support/Skype/tankitan"
tell application "Finder"
delete (files of folder deleted)
delete (folders of folder deleted)
end tell
end tell
Mind you, even a Rhodes POSIX can get tangled... Managing sticky-web c/o Internet of Things