Need a little help running an apple script

Discussion in 'Mac Programming' started by Mac599, Apr 28, 2007.

  1. Mac599 macrumors member

    Apr 23, 2007
    i made this little script :
    --Empty Trash
    tell application "Finder"
    	empty the trash
    end tell
    And when I run the the script it works fine. so I open the Automator and made it in to a app.
    And that runs fine so I'm thinking to make a keyboard shortcut to it so I can just use a few keys to run the app.
    But for some reason it work work with a shortcut?
    If you click on it it will run but not with the shortcut i made to it.
  2. live4ever macrumors 6502a

    Aug 13, 2003
  3. plinden macrumors 68040


    Apr 8, 2004
    Did you try modifying the short cut? Command-T is used in lots of apps (like add to sidebar in Finder, new tab in Firefox, Safara and other tab-oriented applications, etc). I'm not sure what takes precedence, app or global shortcut, but I would change it to something else.
  4. Mac599 thread starter macrumors member

    Apr 23, 2007
    Well change the keys and not help there. have Quicksilver gave that a try and didn't open so not sure what it is .

    edit : I took a little time and read one of the tuts on Quicksilver and got it working now. thanks for pointing Quicksilver out to me.

Share This Page