Closed GoogleCodeExporter closed 8 years ago
Please consider making it so that we don't have to run multiple measures to
check the
recycle bin. Either have it check all drives automatically and treat the
combination
as one big "recycle bin" like Windows does, or use code like this:
[MeasureBin1]
Measure=Plugin
Plugin=RecycleManager.dll
Drives=CDEF
RecycleType=COUNT
Update=1000
UpdateDivider=10
Original comment by jsmor...@gmail.com
on 24 Apr 2009 at 1:27
i'v got a totally untested, uncompiled code update that might do the trick, but
I
need someone with the time to debug and do the finishing touches (like last
time)...
------------
Usage:
[MeasureBin1]
Measure=Plugin
Plugin=RecycleManager.dll
Drives=C: (for total system bin, use Drives=ALL :: for
multiple
drives use | as a delimiter e.g. Drives=A:|C:|D: will give the sum of these
drives)
RecycleType=COUNT (type can be COUNT for nomber of items or SIZE,
for
size in bytes)
Update=1000
UpdateDivider=10
Original comment by gscho...@gmail.com
on 26 Apr 2009 at 8:12
Attachments:
I can't help with debugging or compiling, but when you guys get a version you
want
tested I would be glad to beat the crap out of it and report back.
Original comment by jsmor...@gmail.com
on 28 Apr 2009 at 5:31
Hey gschoppe I tried compiling the dll, first renaming of the .cpp to
RecycleManager
to match the existing one. Here is the debug from MVSC++
https://sites.google.com/site/rainmeterdebugfiles/Home/recyclemanager_dll/04-29-
09
Original comment by JMHarris...@gmail.com
on 29 Apr 2009 at 4:57
[deleted comment]
yeah, its got issues... did you update globals in the .h?
Original comment by gscho...@gmail.com
on 29 Apr 2009 at 7:17
No, not yet. I'll try and get to it tonight.
Original comment by JMHarris...@gmail.com
on 29 Apr 2009 at 7:24
Not to nitpick, but a drive is always one letter, so a delimiter isn't needed,
and
what purpose does the ":" serve?
I propose
Drives=CDEF
Original comment by jsmor...@gmail.com
on 2 May 2009 at 2:56
actually, there are valid reasons for both the delimiter and the colon.
the code to check bin size takes a path to any folder that contains a recycle
bin,
without the trailing slash.. therefore, if I wanted to check the bin size on
another
machine, I could use \\computerName\driveShareName to pull its recycle data...
also,
there are ways to implement a folder (as opposed to drive) specific recycler for
certain high volume folders that you want to seperate (like a photoshop scratch
folder) therefore its not necessarily a one letter bin designation... to keep
the
code simple, it asks for bin paths, minus the trailing slash, rather than drive
letters.
given, its a design choice, and likely no one will use the plugin in such a way
as to
necessitate it, but this is an open source project, so I decided to overbuild,
and
let other people simplify later.
Original comment by gscho...@gmail.com
on 3 May 2009 at 12:04
Makes sense. Now that you point it out, you could use this to build a "super
recycle
bin" skins that not only emptied the recycle bin, but your Windows "temp"
folder,
browser cache, etc. Rainmeter_CCleaner!
;-)
Original comment by jsmor...@gmail.com
on 3 May 2009 at 2:54
-=NEW VERSION OF RECYCLE MANAGER=-
it compiles, but I haven't done any testing.
Original comment by gscho...@gmail.com
on 3 May 2009 at 4:32
Attachments:
Edit:
I've tested on my box... seems ok to me...
BTW: is it possible to join the project team?
Original comment by gscho...@gmail.com
on 3 May 2009 at 5:54
http://code.google.com/p/support/wiki/HowToJoinAProject
He has my vote. I think he will be an asset to the team.
Tested new RecycleManager, works fine here. I'm using nircmd for emptying bins,
until
a native solution is found.
Original comment by JMHarris...@gmail.com
on 3 May 2009 at 8:07
[deleted comment]
-=NEW VERSION OF RECYCLE MANAGER=-
Compiled and tested, supports reading size, number of files, and emptying the
recycle
bin... no more third party programs necessary.
----
USAGE:
[MeasureBin]
Measure=Plugin
Plugin=Plugins\RecycleManager.dll
Drives=ALL
RecycleType=COUNT
[MeterUsed]
Meter=BAR
MeasureName=MeasureBin2
BarImage=Full.png
Hidden=0
x=20
y=25
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureBinBang OpenBin"]
RightMouseDownAction=!execute [!RainmeterPluginBang "MeasureBinBang EmptyBin"]
;RightMouseDownAction=!execute [!RainmeterPluginBang "MeasureBinBang
EmptyBinSilent"]
----
a test build is available at
http://gschoppe.deviantart.com/art/RecycleManager-dll-Beta2-121260091
----
I will update again when an "on drop" action is available, to support recycling
items
by drag and drop
Original comment by gscho...@gmail.com
on 3 May 2009 at 6:20
Attachments:
[deleted comment]
I renamed the .dll file to RecycleManager.dll and put it in C:\Program
Files\Rainmeter\Plugins
No matter how I call it
Plugin=RecycleManager.dll
Plugin=Plugins\RecycleManager.dll
Plugin="C:\Program Files\Rainmeter\Plugins\RecycleManager.dll"
It pops up an error msgbox with "Rainmeter Plugin RecycleManager.dll not found!"
If I put back the old RecycleManager.dll and call it, it works fine.
Something is amiss... or I am overlooking something.
I am running Windows 7 RC1
UAC is off
Rainmeter in C:\Program Files\Rainmeter
Plugins in C:\Program Files\Rainmeter\Plugins
Skin in C:\Program Files\Rainmeter\Skins\Dark_Rainmeter\JMDock
Original comment by jsmor...@gmail.com
on 4 May 2009 at 1:47
Since the file is most certainly there, and if I put back the old one it works
fine,
I am assuming the error message is really telling me it can't initialize the
plugin,
not that it actually can't find it.
Original comment by jsmor...@gmail.com
on 4 May 2009 at 1:55
I will look into it when I get home... it may be a DA issue, try redownloading,
in
case of corruption... also close rainmeter before putting the plugin in the
rainmeter
directory...
Original comment by gscho...@gmail.com
on 4 May 2009 at 2:09
[deleted comment]
Could be a DA issue. You might try zipping it before you send it. Sometime a
file
transfer will add a byte or two to round out a packet or stick an EOF on the
end of
the file and a .zip will ignore such.
Original comment by jsmor...@gmail.com
on 4 May 2009 at 2:15
I did redownload it, quit Rainmeter, put it in, restarted Rainmeter and no
joy...
Original comment by jsmor...@gmail.com
on 4 May 2009 at 2:19
I reuploaded it, now its a zip file...
link is still:
http://gschoppe.deviantart.com/art/RecycleManager-dll-Beta2-121260091
Original comment by gscho...@gmail.com
on 4 May 2009 at 11:57
Sorry.. No go. Still comes up with "not found" error message. I see on DA that
another guy has exactly the same problem.
Let me know if I can help / test... I'm around
Original comment by jsmor...@gmail.com
on 5 May 2009 at 1:02
[deleted comment]
can you hop on IRC? there's a link from the top of rainmeter.net/forum, if you
don't
already have a client, otherwise, irc://irc.freenode.net/rainmeter or
#rainmeter on
freenode.net
Original comment by gscho...@gmail.com
on 5 May 2009 at 1:11
Sure.. Gimmie a couple of minutes to set up mirc
Original comment by jsmor...@gmail.com
on 5 May 2009 at 1:24
-=ISSUE RESOLVED=-
I had compiled it in debug mode... the DA link to the compiled version now
works properly
Original comment by gscho...@gmail.com
on 5 May 2009 at 3:32
Works like a champ now. Thanks for all your hard work tonight. Nice chatting
with you.
Original comment by jsmor...@gmail.com
on 5 May 2009 at 3:36
I'd love it if someone with write privileges would merge my code with the CVS
trunk... I just don't want my half baked original code to make the next beta...
the final code is attached to comment 15 of issue 45.
<better yet, I'd LOVE write privileges>
Original comment by gscho...@gmail.com
on 6 May 2009 at 1:56
Original comment by kenz0.sa...@gmail.com
on 25 Jun 2009 at 4:56
[deleted comment]
This issue was finished. so will you report on the new issue separately as a
"defect" ?
Original comment by kenz0.sa...@gmail.com
on 27 Jun 2009 at 10:25
Original issue reported on code.google.com by
JMHarris...@gmail.com
on 22 Apr 2009 at 2:29