I am doing a clipboard and the file is to big. Is ther a way to pull that varible into say a VBS script to overcome the limitation. I am a super noob and am just seeing what I can do here. Although there are several programs out there that will do what i want, I am having fun with this. I convert and listen to audio books all the time and thats what got me here.
Using the text to speech (tts.exe)
Below is a portion of the script I am stuck on. I was able to create a small interface that will allow the choice of Wav or MP3 and it works great. However the issue is when the file gets to big it tosses an error that the string is too large. I tried the VarSetCapacity but realized that simply increases the size capacity and does not solve the string length issue.
Again, the issue is when %clipboard% gets to big
Code: Select all
;VarSetCapacity( clipboard, 1000000 , asc(".") )
RUN, tts.exe -f 10 -v <Microsoft David Desktop> 1 " . %clipboard% . " -o %cut% %t%,, Hide