Page 3 of 3

Posted: Sat Jun 13, 2009 11:17 am
by bn
David,

I think you start to get into rev. I bear with you, I can not count the number of times I stared at a script or a stack and did not find what was wrong.

You might want to look into the debugger, often if you look at what the variables actually contain it gives you a hint of what is wrong with the script.

cheers
Bernd

Posted: Sat Jun 13, 2009 11:29 am
by bidgeeman
Bernd thank you mate. You must be a very patient person. Some of my questions must sound so basic but we all have to start somewhere I guess :) 'll check out the debugger too ;)

Cheers
Bidge

Posted: Thu Jun 18, 2009 12:32 pm
by bidgeeman
Oh please someone help!!! :shock:

I've spent hours trying to figure out what is happening. My tButtonlist is not sorting itself into numeric order and I cannot figure out why? I have Test field that displays what tButton list contains and no matter what I do noting will work. Load in the blank wav files from the included library and
you will see how they display out of order. :(

http://www.errolgray.com.au/Teststack.zip

Any help would be greatly appreciated.
Thanks
Bidge

Posted: Thu Jun 18, 2009 1:43 pm
by bn
Bidge,
change

change the this line in the button script of "ChooseAudioFiles"

Code: Select all

if name of button i contains "Track" then put the short name of button i & comma after tbuttonList

the difference is short name instead of name.
Than it works
regards
Bernd

Posted: Thu Jun 18, 2009 1:51 pm
by bidgeeman
Hello Bernd.
Thanks for replying mate...I tried adding that .line of code but it still does not work?
I have updated the link and put a few more files in the library. Now it starts at 20 instead of 1 :cry: Have a look.

http://www.errolgray.com.au/Teststack.zip

Cheers
Bidge

Posted: Thu Jun 18, 2009 2:04 pm
by bn
Bidge,

add this to the script:

Code: Select all

 replace comma with return in tButtonList
   put tButtonList into field "test"
end mouseUp
just to show that it is now working, for me no problem

what exactly is not working when you changed it to the short name?

regards
Bernd

Posted: Thu Jun 18, 2009 2:05 pm
by bidgeeman
Ahhha!.
I worked it out Bernd!!!! Yippee!!!
I had to sort numeric the Field "AudioNames"

Thank you thank you thank you!!!!
Now I can get some sleep :cry:

Cheers
Bidge

Posted: Thu Jun 18, 2009 2:09 pm
by bidgeeman
hehe....We must have posted exactly at the same time...
It's working now.....Thank you for your help again mate ;)

Cheers
Bidge