PDA

View Full Version : Need a little help running an apple script




Mac599
Apr 28, 2007, 11:52 PM
i made this little script :
--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.
http://img82.imageshack.us/img82/1935/emptytrashjh4.th.jpg (http://img82.imageshack.us/my.php?image=emptytrashjh4.jpg)



live4ever
Apr 29, 2007, 12:12 AM
Quicksilver (http://quicksilver.blacktree.com/) trigger? If you use it.

plinden
Apr 29, 2007, 12:21 AM
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.

Mac599
Apr 29, 2007, 12:48 AM
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.