View previous topic :: View next topic |
Author |
Message |
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Tue Aug 09, 2005 7:02 pm Post subject: |
|
|
Calling from IR works.
Drag & drop does not.
In short - the change made no difference. |
|
Back to top |
|
|
mtakahar Expert
Joined: 03 Aug 2003 Posts: 281
|
Posted: Tue Aug 09, 2005 8:49 pm Post subject: |
|
|
Ah, ok, IRToWav.bat changes the current directory, so "." won't work. Even if not, Windows would change it where it is specified in the property.
Try this: save the following content as setup.bat, put it in the same directory as IRToWav, then double click on it once. It'll create the .bat files with the classpath embedded.
Code: | echo @echo off >IR2W.bat
echo java -classpath "%CD%" IRToWav %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 >>IR2W.bat
echo @echo off >IRToWav.bat
echo cd /d %userprofile%\Desktop >>IRToWav.bat
echo echo Building sound file, wait.... >>IRToWav.bat
echo java -classpath "%CD%" IRToWav %%1 >>IRToWav.bat
echo echo Prepare the remote for download: >>IRToWav.bat
echo echo Click on the play button on your audio player when you are ready. >>IRToWav.bat
echo pause >>IRToWav.bat
echo start Upgrade.Wav >>IRToWav.bat |
This may not work on Windows 98/Me. If that's the case, manually edit the batch files and specify the classpath with full directory name surrounded by double quotes.
Hal |
|
Back to top |
|
|
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Wed Aug 10, 2005 12:01 am Post subject: |
|
|
"...and they were forced to eat their minstrels.
AND THERE WAS GREAT REJOICING! ('yay')"
That did it. Thank you greatly.
(I would next humbly suggest updating the IRtoWAV.zip file, and uploading it somewhere over here, rather than only over at Yahoo, where it currently resides.)
Last edited by Capn Trips on Wed Aug 10, 2005 2:26 am; edited 1 time in total |
|
Back to top |
|
|
mtakahar Expert
Joined: 03 Aug 2003 Posts: 281
|
Posted: Wed Aug 10, 2005 1:54 am Post subject: |
|
|
I agree. Let's hope Alain finds this thread.
I can copy the file over here with this setup included, but it'll make it harder for Alain to update it later.
Hal |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Wed Aug 10, 2005 7:29 am Post subject: |
|
|
I clued Alain into this thread yesterday, but he's in middle of moving so he doesn't have much computer access right now. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
Capn Trips Expert
Joined: 03 Oct 2003 Posts: 3990
|
Posted: Wed Aug 10, 2005 7:47 am Post subject: |
|
|
Well, as a stopgap, I uploaded the zip with the setup.bat added HERE, and will be happy to remove it if/when Alain has the time/inclination to upload the "official" version. |
|
Back to top |
|
|
aberguerand Advanced Member
Joined: 11 Aug 2003 Posts: 257 Location: Lausanne, VD, Switzerland |
Posted: Fri Aug 12, 2005 4:40 am Post subject: |
|
|
Hello all,
sorry for the late answer, as Rob mentioned, I had no real Internet access during the last days.
Thanks to Hal for providing an elegant solution to the nasty Java classpath issue. I will integrate Hal's setup batch in the "official" version and amend the instructions accordingly, giving credits to whom they are dued.
As a side note, I did not know that IR was actually calling IRToWav, I thought the Java code had been ported and integrated in IR . Anyway, I will also mention it in the instructions.
Alain |
|
Back to top |
|
|
|