Merging audio externally
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Bidge,
in the checkboxes whenever a user hilites on this will add the selection to the field "userChoices"( look at the script of the checkboxes), so that is automatically the sequence of events. And it is a lot easier then how I did it before....
However the way it is now it does not delete an entry in that list if a user decides otherwise. Nor does it check for multiple checking/unchecking. It will dutifully adds a file two or more times and appends that track as as often as the user clicked.
On the other side there is a reset button now.
regards
Bernd
in the checkboxes whenever a user hilites on this will add the selection to the field "userChoices"( look at the script of the checkboxes), so that is automatically the sequence of events. And it is a lot easier then how I did it before....
However the way it is now it does not delete an entry in that list if a user decides otherwise. Nor does it check for multiple checking/unchecking. It will dutifully adds a file two or more times and appends that track as as often as the user clicked.
On the other side there is a reset button now.
regards
Bernd
Bidge,
no, not without some scripting. But the checkbox is for selecting and deselecting. I would not fiddle around with this. It is the 'normal' behavior a user expects. What you could do is to delete the line in your field when the user deselects the checkbox. You know from the checkbox (track XX) which line might have been added. You could then get that original Line and if it is in the field of the selected tracks you could remove that line from the selected tracks.
regards
Bernd
no, not without some scripting. But the checkbox is for selecting and deselecting. I would not fiddle around with this. It is the 'normal' behavior a user expects. What you could do is to delete the line in your field when the user deselects the checkbox. You know from the checkbox (track XX) which line might have been added. You could then get that original Line and if it is in the field of the selected tracks you could remove that line from the selected tracks.
Code: Select all
on mouseUp
if the hilite of me then
put last word of the short name of me into myLine
put line myLine of field "AudioNamesAndPathes" into line (the number of lines of field "userChoices")+1 of field "userChoices"
else ## not hilited = the user deselected it
put last word of the short name of me into myLine
put line myLine of field "AudioNamesAndPathes" into myTest
filter field "userChoices" without myTest
end if
end mouseUp
Bernd
Bidge,
have a look at Scott Rossi's site (Tactile Media)
http://www.tactilemedia.com/
in the software section -> tutorials
there is a stack 'Get in Line'
it shows reordering of lines of a text field and even deleting lines by dragging them out of the field.
It would be a good option to let the user see his selection / reorder/delete them.
regards
Bernd
have a look at Scott Rossi's site (Tactile Media)
http://www.tactilemedia.com/
in the software section -> tutorials
there is a stack 'Get in Line'
it shows reordering of lines of a text field and even deleting lines by dragging them out of the field.
It would be a good option to let the user see his selection / reorder/delete them.
regards
Bernd
Hi Bernd.
I struck an error with that audio mixer stack you did. It's puzzling. I made a few more new buttons and for some reason every time I click button 10 an error message pops up. See below:
This is the line it's having trouble with:
put line myLine of field "AudioNamesAndPathes" into line (the number of lines of field "userChoices")+1 of field "userChoices"
?
Bidge
I struck an error with that audio mixer stack you did. It's puzzling. I made a few more new buttons and for some reason every time I click button 10 an error message pops up. See below:
Code: Select all
Error message.
button "Track10": execution error at line 4 (Chunk: error in chunk expression), char 7
put line myLine of field "AudioNamesAndPathes" into line (the number of lines of field "userChoices")+1 of field "userChoices"
?
Bidge