440Forums  |  MacMusic.org  |  PcMusic.org  |  440tv  |  Zicos  |  AudioLexic
the   {key13}


Permanently delete files via AppleScript

MacOsxHints

Thursday November 29, 2007. 05:30 PM
MacOsxHints

Ever since switching to OS X from Windows, I've missed the convenience of being able to permanently delete files using Shift-Delete. In order to duplicate that functionality, I've written a short AppleScript that will delete the files selected in Finder instead of placing them in the trash. set frontAppPath to (path to frontmost application) as string if the frontAppPath ends with ":Finder.app:" then tell application "Finder" set selectionList to get selection as list set selectedCount to count items in selectionList if selectedCount > 0 then repeat with i from 1 to number of items in the selectionList set selectedItem to item i of the selectionList set selectedName to the name of sele...
Ever since switching from Windows I
Permanently delete files via AppleScript Read more at MacOsxHints
feeds.macosxhints.com/~r/macosxhints/recent/~3/192427214/article.php

 

 Related News 
10.5: View .eps files in Quick Look 10.5: View .eps files in Quick Look
 MacOsxHints 12/07/07 05 PM 
10.5: View Quartz composer files in Cover Flow 10.5: View Quartz composer files in Cover Flow
 MacOsxHints 12/07/07 05 PM 
10.5: Call Automator workflows from AppleScript 10.5: Call Automator workflows from AppleScript
 MacOsxHints 12/06/07 05 PM 
Send Quicksilver data to FileMaker via AppleScript Send Quicksilver data to FileMaker via AppleScript
 MacOsxHints 12/06/07 05 PM 
Download Files on your iPhone Download Files on your iPhone
 Mac Bidouille 12/06/07 04 PM 
10.5: Move swap files to another partition under 10.5 10.5: Move swap files to another partition under 10.5
 MacOsxHints 12/05/07 05 PM 
InDesign CS3 crashes when opening/saving files or launching i... InDesign CS3 crashes when opening/saving files or launching i...
 MacFixIt 12/04/07 09 PM 
10.5: View winmail.dat files in Mail.app 3.1 10.5: View winmail.dat files in Mail.app 3.1
 MacOsxHints 12/04/07 05 PM 
Let Finder redisplay seemingly-vanished files Let Finder redisplay seemingly-vanished files
 MacOsxHints 12/04/07 05 PM 
Safari, .zem files, and other Plone/Zope features Safari, .zem files, and other Plone/Zope features
 MacOsxHints 12/04/07 05 PM 
10.5: Use Quartz Composer files in iChat/Photo Booth 10.5: Use Quartz Composer files in iChat/Photo Booth
 MacOsxHints 12/03/07 05 PM 
An AppleScript to de-junk messages in Mail.app An AppleScript to de-junk messages in Mail.app
 MacOsxHints 12/03/07 05 PM 
ReturnOpen 1.0 Lets You Open Files And Folders With The Retur... ReturnOpen 1.0 Lets You Open Files And Folders With The Retur...
 AppleLinks 12/03/07 07 AM 
Apple files mini optical disc adaptor patent Apple files mini optical disc adaptor patent
 Macworld UK 11/30/07 01 PM 
Apple Files Patent for Mini-DVD/CD-ROM Adapter Apple Files Patent for Mini-DVD/CD-ROM Adapter
 InsanelyGreatMac 11/30/07 08 AM 
10.5: Browse more files in full-screen Quick Look mode 10.5: Browse more files in full-screen Quick Look mode
 MacOsxHints 11/28/07 05 PM 
10.5: Examine files in the Open dialog 10.5: Examine files in the Open dialog
 MacOsxHints 11/28/07 05 PM 
TMO Quick Tip - Protecting Files with an Encrypted Disk Image TMO Quick Tip - Protecting Files with an Encrypted Disk Image
 TheMacObserver 11/28/07 02 PM 
10.5: Peek inside zip files with a Quick Look plug-in 10.5: Peek inside zip files with a Quick Look plug-in
 MacOsxHints 11/27/07 05 PM 
10.5: View binary plist files via Quick Look 10.5: View binary plist files via Quick Look
 MacOsxHints 11/27/07 05 PM 
New NIN album offers GarageBand files New NIN album offers GarageBand files
 MacNN 11/21/07 11 PM 

Search

Mac Zicos
Sat August 30, 02:28 AM
the   {key13}