LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
I have a player object and I want to check the player to see if there has been any changes to it's data and then just perform a "Play" command "else" process the code in the button
on MouseUp
---check Player for changes
if ---data has not changed
start player "Player1"
Hi Klause.
Sorry...I'm trying to modify a stack that Bernd made for me. It loads several .wav files via checkboxes and then combines them using QT External into a player object ready for playback. I wanted to see if it is was possible to use the same "Combine" button to just playback audio if no changes have been made.
Say you have combined a selection of loops with the "Combine" button and then press the "Combine" button again without making any changes, it will just playback the audio without re-combining the same combination.
Bidge,
I dont know at what version you are, I guess you changed quite a bit.
So to add this one would have to know what the code of the button looks like. If you want me to have a look at it you might want to make a download available.
On the other hand: is it not confusing for the user when the same button has 2 differing functions, depending on whether a choice was made or not.
regards
Bernd
Yes. you're right bernd....on second thoughts it's a bit silly. 2 buttons are fine. I have a play button and a compile button. I think I'll leave it as is.