Need a little help running an apple script

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

  1. Mac599 macrumors member

    Joined:
    Apr 23, 2007
    #1
    i made this little script :
    Code:
    --Empty Trash
    tell application "Finder"
    	empty the trash
    	beep
    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.
    [​IMG]
     
  2. live4ever macrumors 6502a

    Joined:
    Aug 13, 2003
    Location:
    Thunder Bay, ON
  3. plinden macrumors 68040

    plinden

    Joined:
    Apr 8, 2004
    #3
    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

    Joined:
    Apr 23, 2007
    #4
    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