justmytwospence Posted March 15, 2013 Share Posted March 15, 2013 Hi, I am using Alfred 2.0 on OSX 10.8.2.I can show the trash by typing "trash," but I can't empty the trash with the "emptytrash" keyword, even though it is checked in preferences. Any idea what could be wrong? Thanks. Link to comment Share on other sites More sharing options...
R4z3r Posted March 15, 2013 Share Posted March 15, 2013 I know it's dumb, but did you double check that it's checked in Features > System? If so, have you tried changing the keyword to see if it works when changed? Link to comment Share on other sites More sharing options...
Vero Posted March 16, 2013 Share Posted March 16, 2013 Hi, I am using Alfred 2.0 on OSX 10.8.2. I can show the trash by typing "trash," but I can't empty the trash with the "emptytrash" keyword, even though it is checked in preferences. Any idea what could be wrong? Thanks. Does the "Empty Trash" command and its icon show up in Alfred when you type it "empty"? As R4z3r suggested, you need to ensure the box is checked in the preferences first If you can select the Empty Trash command but it doesn't fully empty your trash, check whether there are any files in use in Trash. OS X should present you with a warning that "x file cannot be deleted as it is in use" if that's the case. If you can confirm either way, I'll be able to either investigate further or close this bug Link to comment Share on other sites More sharing options...
zmjones Posted March 16, 2013 Share Posted March 16, 2013 I also have this problem (on 10.8.3). I've double checked that everything is enabled, changed the keywords, and verified that the icon does come up in Alfred when I type the keyword. Restart, Shutdown, Logout, Sleep, Screensaver, and Trash also don't appear to be working, though the rest of the system commands are. Link to comment Share on other sites More sharing options...
Vero Posted March 16, 2013 Share Posted March 16, 2013 I also have this problem (on 10.8.3). I've double checked that everything is enabled, changed the keywords, and verified that the icon does come up in Alfred when I type the keyword. Restart, Shutdown, Logout, Sleep, Screensaver, and Trash also don't appear to be working, though the rest of the system commands are. Could you open Console and run those actions to see if there are any AppleScript errors? You should see something like "Running System Command 'empty trash'" in Console, or an error as the case may be. Edited to add: Apologies, I forgot I've got logging turned on, so you won't see the "Running System Command" message. However, if there are AppleScript errors, these should appear for you in Console. Link to comment Share on other sites More sharing options...
zmjones Posted March 16, 2013 Share Posted March 16, 2013 I don't see any logs related to the Alfred actions. I was looking at "all messages" and I cleared the log and tried again. Link to comment Share on other sites More sharing options...
justmytwospence Posted March 16, 2013 Author Share Posted March 16, 2013 The box is checked, and I've tried changing the keyword to "et" to no avail. The empty trash command does show up though. I also don't see messages in the Console. Link to comment Share on other sites More sharing options...
Andrew Posted March 16, 2013 Share Posted March 16, 2013 If you open Terminal.app and paste the following: osascript -e "tell application \"Finder\" to empty trash" what happens? Cheers, Andrew Link to comment Share on other sites More sharing options...
justmytwospence Posted March 16, 2013 Author Share Posted March 16, 2013 Oooh.. progress. I get this: 29:40: execution error: Finder got an error: trash doesn’t understand the empty message. (-1708) Link to comment Share on other sites More sharing options...
Andrew Posted March 16, 2013 Share Posted March 16, 2013 You may need to google this as this is out of Alfred's hands. Finder should definitely understand this message, so something in OS X may have become corrupt! Once you get this working in OS X, it will work fine in Alfred too Link to comment Share on other sites More sharing options...
zmjones Posted March 17, 2013 Share Posted March 17, 2013 That did empty the trash for me. However alfred still won't do the same with emptytrash and the console doesn't show any activity. Link to comment Share on other sites More sharing options...
justmytwospence Posted March 18, 2013 Author Share Posted March 18, 2013 I found a fix, maybe it will help you zmjones, maybe not. Try moving your Finder plist, something must be messed up in there. See here: http://www.mac-forums.com/forums/os-x-operating-system/212652-cant-eject-dmg-file-error-emptying-trash.html Link to comment Share on other sites More sharing options...
zmjones Posted March 19, 2013 Share Posted March 19, 2013 Nope that didn't work. Thanks though. Link to comment Share on other sites More sharing options...
justmytwospence Posted March 19, 2013 Author Share Posted March 19, 2013 Hmm actually that worked for me on my desktop but not my laptop. Are we allowed to keep discussing here even after this is closed Andrew/Vero? Link to comment Share on other sites More sharing options...
justmytwospence Posted March 23, 2013 Author Share Posted March 23, 2013 Okay zmjones - this one really fixed it for me. Download OnyX if you don't already have it installed. Go to Parameters -> Finder and select "restore defaults". woohoo. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now