Alt.Binz (English) > Help

Alt.binz Scripts - The Talk

(1/3) > >>

acb:
Hello! Just became a contributor and upgraded to 0.27.2 and I'm very excited to get started writing some scripts to add to my automated setup. Just curious if there are any other command line parameters that Alt.Binz can pass other than $d and $u. Some that I would personally find useful would include:

- Total Download Time
- Average Download Speed
- List of Files Extracted from RARs
- True/False whether or not the download was initiated by the RSS tab/plugin

I'm just about finished a script (vbscript) to email myself the details of finished downloads. Once I've tested it with a few downloads I'll share the code here with everyone!

Hecks:
Nice to see someone else scripting away :)

Although those params aren't currently available, you can get the info (or approximations thereof) in a few ways, depending on when & how you want the info:

1. Use the altbinz_status.xml file (this can give you updates on queue size and speed).

2. Use TheKarn's abzQueueReader.dll to read the queue.abz file (pm him!).

3. Parse your log file. :) I think this should give you the last two bits of info you need with only a bit of light regexing.  ;)

Look forward to reading & testing your script!

Zodler:
Hello everyone. I want to create an md5 file with execute command after unraring each file. How is that possible? My command line md5 generator is md5sum.exe. I can’t make it work with Alt.Binz. What parameter should I pass?

This utility works like this
md5sum.exe filename > outputfile

thanks

PatrickMc:

Good forum, good scripts posted.

I have been using biterscripting a lot on windows. It seems much simpler, and still more powerful compared to Dos or cmd . They have some sample scripts -to download them, follow installation directions at http://www.biterscripting.com/install.html . All their sample scripts are open-source. And biterscripting itself is free.

I have been using it a lot for log file parsing - i am a system admin. I will generalize one of my own scripts for parsing log files and post it here. (I don't want to post their sample scripts. It's best you download them yourselves.)

Patrick

Hecks:
Well, there's lots of choice for a scripting language if you're going to install something.  If you're on Windows, the replacement for cmd/.bat/vbscript is Powershell.  Very easy to use and very flexible, given its .NET base, something that MS actually got right for once:

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx

It's what I use now for basically everything.  But hey, why not go the whole hog and install python, perl or ruby etc.? ;)

Navigation

[0] Message Index

[#] Next page

Go to full version