Sign in to follow this  
Followers 0
AL3X

--

15 posts in this topic

#1 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

There are people who know how to do it, but it's hard to track down comments in uncolored code. Try AutoIt tags and maybe make a list of things outside the code for quicker reference.

I'm having trouble reading the code as your stuff isn't english. I'm not quite following what it's doing.

As a guess, I'd say that if you have more than one file, they are either in an array or in a single string using a delimiter. If they are in an array, just loop and perform the operation on each array index. If they are delimited, split it, then loop that array.

As for bitrate, just check for an empty value (= "") and if it is empty, don't run whatever process.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

well, I assume you possess the knowledge of converting one format to another, else this help will be useless

Make an array containing all of the file names.

Use For in conjunction with Ubound to go to each array element.

Have it convert the file, and then delete the ListViewItem, check the UDFs if you need help.

Done.

For the not selected part:

If GuiRead($bitrateHandle) <> "" And GuiRead($formatHandle) <> "" Then;do your For loop

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Im not very good at reading other people's code, just decent at writing my own, so sorry that I don't really understand yours. But my guess is that $BitrateSeleccionado does not point to the value within the form, but the form itself... try GuiCtrlRead($B...)

Another [helpful] tip: have the program output 'lame.exe -h -b ' & $BitrateSeleccionado & ' "' & @GUI_DragFile & '"' & ' "' & $savedir & '\' & $nombreSinExtension & $FormatoSeleccionado & '" in a MessageBox to make sure it is putting the correct string into RunWait .. Tell us your results.

Edited by crzftx

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

What have you got so far?

Do you have an array of the song titles?

If not, do you know how to make one?

If you do have the array, do you understand the For loop structure?

If so, what exactly are you stuck on?

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

--

Edited by AL3X

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0