Adding a ctrl+x like function to Snow Leopard
Here is a very concise AppleScript to move files from a folder to another.
There is no error handling yet, I don't know if I want to implement it anyway :D
Also, I've only tested it on Snow Leopard, it might work on earlier versions of the OS though.To run it you will need QuickSilver:- Open the apple script editor
- Save it as script
- Add the saved script as a custom trigger in QuickSilver
Once you have chosen the folder, the script will copy the files there, and only then delete the source files.Hope you find it useful!
Follow me on Twitter
There is no error handling yet, I don't know if I want to implement it anyway :D
Also, I've only tested it on Snow Leopard, it might work on earlier versions of the OS though.To run it you will need QuickSilver:- Open the apple script editor
- Save it as script
- Add the saved script as a custom trigger in QuickSilver
set The_Target to choose folder with prompt "Chose destination folder"In the finder, select the files you want to move, then press the shortcut you defined in QuickSilver. A window will open asking you to chose the destination folder.
tell application "Finder"
move selection to The_Target
delete selection
end tell
Once you have chosen the folder, the script will copy the files there, and only then delete the source files.Hope you find it useful!
Follow me on Twitter