gavioto / stexbar

Automatically exported from code.google.com/p/stexbar
0 stars 1 forks source link

Can you create a simple "DELETE" command? #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Subject says it all. Would love to have a way to delete selected files or
folders without having to take my hand off the mouse and press the delete
button on the keyboard.

I assume this command would have something to do with explorer.exe but I am
not a programmer so I'm not sure what to put in the command box. I am,
however, a graphic designer so I could design a delete icon! :-)

Original issue reported on code.google.com by jgordo...@gmail.com on 19 Oct 2009 at 12:25

GoogleCodeExporter commented 9 years ago
The explorer itself has a "delete" command in its own context menu.
So why do you want another "delete" command?

Original comment by tortoisesvn on 19 Oct 2009 at 4:48

GoogleCodeExporter commented 9 years ago
I want to be able to put a button on the toolbar that lets me delete, so I can 
lasso
a whole bunch of files and then press the delete button. Seems like it would be 
easy
but I don't know what the command line would be.

Original comment by jgordo...@gmail.com on 20 Oct 2009 at 1:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
You can find a sample script here:
http://code.google.com/p/stexbar/source/browse/trunk/StExBar/contrib/delete.js

Original comment by tortoisesvn on 25 Oct 2009 at 11:17

GoogleCodeExporter commented 9 years ago
Using Win7 Ultimate 64-bit, I get the following "Windows Script Host" popup when
selecting a single file and clicking the Delete button thus created in StExBar:

Script: C:\Program Files\StExBar\delete.js
Line: 29
Char: 9
Error: 'item' is null or not an object
Code: 800A138F
Source: Microsoft JScript runtime error

With no files selected, it attempts to delete the folder containing the files.

Original comment by lawrence...@gmail.com on 11 Nov 2009 at 9:43