ecommerce website design Shropshire, Custom & Ecommerce Website Designers, Web Page Design Company Shropshire UK Site Map
Phone:01743 272 609 Fax: 0709 286 1166
Home page, website design service at Shrewsbury, Shropshire. We supply website design service to business in Shropshire and whole UKAbout spark computing, website design service at Shrewsbury, Shropshire. We supply website design service to business in Shropshire and whole UKExpertise and services from spark computing, website design service at Shrewsbury, Shropshire. We supply website design service to business in Shropshire and whole UKOffice automatic solutions, online business solutions supplied by Spark computing, shrewsbury, shropshirecontact spark computing, shrewsbury, shroshire to discuss online business websites, custom software development

How to make the 'delete' key to move selected files to Trash

15/05/11

Permalink 11:16:10 pm, Categories: General IT articles  

How to make the 'delete' key to move selected files to Trash

In Apple, you need to use CMD+Del key combin to move files to Trash. if you are from the Windows background, this is not nice as when you use one hand to select the files using the mouse, you just want to press one single key to get rid of the files.

Here is what you can do:

1. get ‘Spark’ from http://www.shadowlab.org/Software/spark.php
It’s a free software so don’t forget to donate.

2. Install Spark and run it as demon so that it can intercept your keys and do the function.

3. Run Spark and click ‘Preferences’ from menu,
change
Allow "one key" shortcut for
from “Function keys only” to “All keys”

4. Double click on Apple Script,
press “delete” key for the short cut, give it a name, such as “Trash selected files". In the Apple script box, input the follow the script

Code:

tell application "Finder"
  if frontmost is false then return
  set selectedList to the selection
  set deleteList to {}
  repeat with thisItem in selectedList
    if class of thisItem is not disk then
      set end of deleteList to thisItem
    end if
  end repeat
  delete deleteList
end tell

5. If you want to permanently delete selected files, which I don’t recommend, use the following Apple script

Code:

tell application "Finder"
  if frontmost is false then return
  set selectedList to the selection
  set deleteList to {}
  repeat with thisItem in selectedList
    if class of thisItem is not disk then
      set end of deleteList to thisItem
    end if
  end repeat
  delete deleteList
  ignoring application responses -- because secure deletes can take a while
    empty trash with security
  end ignoring
end tell

Tweet this! Facebook Live Yahoo bookmark Digg US google bookmark

Trackback address for this post:

https://www.sparkcomputing.co.uk/blogs/htsrv/trackback.php?tb_id=91

Trackbacks, Pingbacks:

No Trackbacks/Pingbacks for this post yet...

March 2024
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Spark Website Design, Shropshire

Technical articles on IT solutions.

Free information on office and home IT solutions; How to get a website running for your business; self-help e-commerce; and tips on website design.

Search

Misc

XML Feeds

What is this?