Custom User Title
Join Date: Jul 2006
Location: At home
|
Hey guys,
I got something on my MBP and I want to add it on my MBP. It's for deleting a file without sending it to the trash folder. Chucker already posted a solution here but I can't find it. It adds a contextual menu that "rm" a file or a folder. Dave Mustaine :"God created whammy bars for people who don't know how to solo." |
quote |
Custom User Title
Join Date: Jul 2006
Location: At home
|
Quote:
Ok it's a combination of 2 things as I remember. One that let you add item (scripts?) to the contextual menu (We're talking about the right click here). The second is a script that does the "delete" part. Dave Mustaine :"God created whammy bars for people who don't know how to solo." |
|
quote |
Fishhead Family Reunited
Join Date: May 2004
Location: Slightly Off Center
|
Clear as mud to my reading... maybe I need more coffee????
As best as I can guess...... your question is..... "I seem to remember a bit of software that adds a contextual menu command for "rm", but I don't remember what it is. Can anyone tell me what that software is, and where to find it?" No one is going to be able to help if they don't know what you're asking..... |
quote |
Custom User Title
Join Date: Jul 2006
Location: At home
|
Yeah pretty much.
As I mentionned, I know Chucker already posted this here but I can't find it anymore. |
quote |
Custom User Title
Join Date: Jul 2006
Location: At home
|
I found that the contextual thing is "onMyCommand" ... just the delete script missing.
I've found what I needed. I walked to my car and took out my laptop to check it out... Just wanted to avoid that 15 minutes walk :P Dave Mustaine :"God created whammy bars for people who don't know how to solo." Last edited by dmegatool : 2009-04-06 at 10:11. |
quote |
I shot the sherrif.
|
care to update the thread so in case someone else is looking for it they can find it here too?
|
quote |
Custom User Title
Join Date: Jul 2006
Location: At home
|
Quote:
So you need to download onMyCommand here. The file goes in library/contextual menu item Then you create a .plist file that you put in your library/preferences folder (It's just a plain text file). Copy the following code. Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>COMMAND_LIST</key>
<array>
<dict>
<key>ACTIVATION_MODE</key>
<string>act_file_or_folder_not_finder_window</string>
<key>CATEGORIES</key>
<array>
<string>Administration</string>
<string>File</string>
<string>System</string>
</array>
<key>COMMAND</key>
<array>
<string>rm -f -R </string>
<string>__OBJ_PATH__</string>
</array>
<key>NAME</key>
<string>Delete File/Folder Now</string>
<key>NOTES</key>
<string>Submitted by Howard M. Fried</string>
<key>SUBMENU_NAME</key>
<string>..</string>
<key>VERSION</key>
<integer>1</integer>
<key>WARNING</key>
<string>Are you sure you want to delete?</string>
<key>WARNING_EXECUTE</key>
<string>Delete</string>
</dict>
</array>
<key>VERSION</key>
<integer>2</integer>
</dict>
</plist> Dave Mustaine :"God created whammy bars for people who don't know how to solo." |
|
quote |
Mr. Vieira
Join Date: May 2004
Location: Tennessee
|
This thread has given me a slight headache.
|
quote |
ಠ_ರೃ
Join Date: May 2004
Location: Minnesota
|
Based on the clarity of your posts I'd say you definitely live up to your user title.
Did you actually sleep last night or are you still up? |
quote |
Custom User Title
Join Date: Jul 2006
Location: At home
|
|
quote |
Custom User Title
Join Date: Jul 2006
Location: At home
|
Hummm not working. Can't get anything to show in the contextual menu. Anybody is using onMyCommand under 10.6 ?
|
quote |
Posting Rules | Navigation |
|
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Deleting Printers | Jason | Genius Bar | 2 | 2008-06-19 13:39 |
Deleting posts | torifile | Feedback | 76 | 2007-11-24 16:13 |
Mail is deleting my messages | rasmits | Genius Bar | 3 | 2007-07-09 13:10 |
Deleting Snapz Pro X | PKIDelirium | Third-Party Products | 16 | 2006-11-02 18:00 |
Deleting Vista | amoda | Genius Bar | 3 | 2006-10-14 18:39 |