Followup timeout question
Me again. I have noticed that the no timeout proxy will execute commands in the batch file at any time, but I still am having a time-related problem in that if my first program doesn't terminate within so many seconds, the second program will run, but without the focus in it so that you have to click on it with the mouse to make it the active window that accepts keyboard input. Problem is my application is sort of a kiosk-type use that will not have any mouse. Again, this approach works fine when I just call the batch file, but I get the ugly DOS window.
Any idea why this is?
As a point of interest, I tried getting around this problem by putting into the batch file a call to another renamed proxy.exe (Test.exe) to launch the second appl., so:
Batchfile.exe and Test.exe are both no-timeout copies of proxy.exe and:
Batchfile.bat has:
Appl1.exe
Test.exe
and Test.bat has:
Appl2.exe
So then I run Batchfile.exe and what then happens is that Appl1.exe runs and after a few seconds Appl2.exe starts even though the first process Appl1 hasn't yet stopped. So, I am not sure why the second line (Test.exe) of the batch file is being executed because I am not using the start command.
Again, any help would be greatly appreciated.
Need a little bit of help
I realize that no one has posted in this thread for a while, but I found it through google and I'm desperately in need of some help. I'm trying to launch a powerpoint slideshow from a flash projector file. I have the powerpoint viewer.exe on the disc, I just need to tell it what file to open with it. Since we can't use parameters in flash, I downloaded the proxy.exe solution.
However, I can't seem to get anything to happen when I run proxy.exe from my projector file. At first I thought it was the coding with my .bat file, but even when I just put: Start play.pdf in the .bat file nothing happens. If I manually run proxie, the pdf will open, but I'm not getting anything from flash, which leads me to believe I must be calling it wrong. Here's the code I have on my button:
on (release) {
fscommand("exec", "play.exe");
}
the .bat file is also in the fscommand folder and is named play.bat. Like I said, if I manually double click on the play.exe my powerpoint viewer launches and the slideshow begins.
I also tried copying the code used in the example file that came with proxy:
on (release)
{
cmd = "play.exe";
fscommand("exec", cmd);
}
And that also doesn't work. If anyone has any suggestions for what I'm doing wrong, I'd really appreciate it because I'm coming up very quickly on my deadline and this is the only thing that isn't working.
Unzipping or copying whole folder
hi northcode, as u can see im new at this, and i was really impressed with your other work which yes i have now implemented and have working.
i just wanted to know if it was possible to copy a whole folder to the desktop or unzip a .rar file in the process of copying it to the desktop.
if you could help me in this i would really appriciate it.
thanks in advance
jamen_from_uni