ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Drag&Drop Robot

any drag&drop users?

<< < (2/4) > >>

jballi:
Thanks for the reply.  I'll look forward to what you decide to do about return codes.  The only thing that I wanted was is for D&D to display a message in the Output Window when an error is found (good).  That way I can go back through the output to find the problem.  In addition to the error message, you might consider adding an option to stop processing (and beep maybe) when an error is found (better).  That way I can deal with the problem when it occurs.

I have tried and do use RazorLame fairly regularly.  It's a little out of date (hasn't been updated for several years) but as long as you know how to get around the outdated stuff, it works great.  Also, it does support drag & drop.


Let me apologize in advance for the verbose nature this section.  Sorry 'bout that.

In response to your question, I apologize for the way I worded the situation.  I could have been clearer.  I'll give it another try...

The issue doesn't really relate to basic encoding -- converting a WAV file to an MP3, it relates to converting or re-encoding an MP3.  Say you have an MP3 encoded at 320 kbps and you want to load it to your portable MP3 player.  Relatively speaking, an MP3 encoded at 320 kbps is huge!  To save space, the best thing to do is convert the MP3 to a more reasonable bit rate.

Because you are converting or re-encoding an MP3, the target file name is the same as the source.  If you are lucky, LAME or RazorLame will catch it and stop you from overwriting the original file.  I say lucky because under certain conditions (wacky target folder definition), LAME does not realize that the source is the same as the target and will overwrite the source file while it is processing it.  Needless to say, the source file is destroyed.

Of course there are work-arounds.  The most obvious work-around is to define a different target folder.  My issue with that is that I've got an infinite number of source folders.  What came from where?  What if I want to put the converted file back in the original folder?  Which one was it?  Another work-around is to convert to an MP3 with a static name, delete the original, and rename the converted MP3 to the original.  My issue is that I want to keep both the original and the converted file.

My solution is to add a static tag to the 1st node (everything before the first . (dot)) of the file.  For example, an MP3 with the file name of "Heart - Magic Man.mp3" would be converted to file with the name "Heart - Magic Man (128).mp3"

With D&D, I can add a static string to the fully qualified file name (not worth much in this case) or to the end (changes .mp3 to something else) but I can't prefix or append anything to the just the file name.  This issue is not just with LAME or other MP3 encoders, it's any program that converts a file type to the same file type and you want to do it in the same folder as the source.

If you think it makes sense, you might want to consider adding a %3, %4, and %5 options to represent the unqualified file name (full file name without the qualified path), the file name only, and the extension only.  I'm sure that others will find these options valuable.

Thank you for your consideration.  Once again, I apologize for the verbose nature of this post.

mouser:
after you spend some time here you will see how verbose i can be so no need for apologies :)

actually what you are requesting is implemented already - just not well documented in current help file.

see this thread for the fields to grab various parts of the file name:
https://www.donationcoder.com/forum/index.php?topic=666.0

i'd be happy to add more fields if any can be thought of that would be useful.

the return code flagging seems exactly right; next version will include an option to report error return codes if desired.

jballi:
Thanks for the reply.  It looks like exactly what I was looking for.  I'll give it a try/see.  Thanks.

djlong3000:
Hi -

just downloaded this today, and was ecstatic to have found just what I needed.  Then I tried to use it, and found I either misunderstood the program's function, or I just don't know how to get it to do what I need.  To wit:

I have a series of 9 pdf files:  longname1.pdf, longname2.pdf, etc   I need to merge them into one single pdf, which I would normally do with a command line utility "pdftoolkit" (pdftk.exe). 

The command is "(c:\windows\system32\)pdftk(.exe) longname1.pdf longname2.pdf ... longname9.pdf cat output mergedfile.pdf".

I was hoping that DND would let me just drop the whole list of pdfs into the file window, and it would parse the list into batch variables (%1 %2 %3 %4), and then execute the concatenation command.

Can the program do that - run one command on a list (group) of files - and I am just not getting it? 

Or is it only for running a single, repetitive command on each member of the file list.

Thanks

Doug

mouser:
im afraid the program is for only for running a single, repetitive command on each member of the file list.

but perhaps adding a mode to do what you want is not a bad idea..

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version