On 24 Oct 2007, at 20:47, Klaus Major wrote:

Try this (not tested):
...
answer folder "Where are the mp3-files to Concatenate?"
put it into sourcefolder
ask file "What is the path to the resulting file?"
put it into targetpath
get shell("cd" && QUOTE & sourcefolder & QUOTE)
get shell("cat *.mp3 >" && QUOTE & targetpath & QUOTE)

I may be wrong, but I think the "cd" needs to be part of the same shell call as the "cat", since the result of the "cd" is not persistent across the calls, so:

answer folder "Where are the mp3-files to Concatenate?"
put it into sourcefolder
ask file "What is the path to the resulting file?"
put it into targetpath
get shell("cd" && QUOTE & sourcefolder & QUOTE & cr & "cat *.mp3 >" && QUOTE & targetpath & QUOTE)


Best,

Mark
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to