hcour Posted August 10, 2005 Report Share Posted August 10, 2005 Hello, Just got ME a couple wks ago, incredible program. I want to logon to the net, run a stock data downloading program, then logoff when it's finished. I know how to do everything except get it to wait until the program is finished before logging off. I think I should use "Wait Program Terminate" but I don't know how to make Logoff wait for that to happen. Here's the commands as I have them in Script Editor: Dial-Up Networking: RC Program Launch: "EzDownloader.exe" Wait Program Terminate: "C:\Trade\UA\EzDownloader.exe" Dial-Up Networking: Hang Up In Direct Editor: <DIAL:<NAME:rcrcbrp><PASS:>RC><LAUNCHDEL2:0:01C:\Trade\UA\EzDownloader.exe><WAITPROG2:000000:000000:C:\Trade\UA\EzDownloader.exe><HANG> Thanks for any help, Harold Quote Link to comment Share on other sites More sharing options...
floyd Posted August 11, 2005 Report Share Posted August 11, 2005 Welcome hcour, It looks like you dial-up the internet, then you go to the web site, and then launch the EzDownloader.exe program. What does this program do when it is done downloading your stock data? Does it stop and close itself automatically? What happens to the stock data. Does it get put into a file of some sort? How long does the download take? Quote Link to comment Share on other sites More sharing options...
hcour Posted August 11, 2005 Author Report Share Posted August 11, 2005 Hi. No there's no website. It's a program on my computer. When you launch it, it automatically starts downloading data, then closes itself when it finishes. I don't know anything about programming, but I thought I'd need something like a "Then" statement, like this: Wait Program Terminate: "C:\Trade\UA\EzDownloader.exe" THEN Dial-Up Networking: Hang Up So it doesn't hangup until after the program terminates. But I can't find THEN in MacroExpress commands anywhere and I'm not sure how to use it in this case anyhow. Thanks, Harold Quote Link to comment Share on other sites More sharing options...
randallc Posted August 11, 2005 Report Share Posted August 11, 2005 Hi, no, mE does not need "then"; just Wait for... ieexplor.exe to terminate [Click on the list box of programs to pick this name] Text Box Display; "next line here" or something similar Process name do not need a path (I think...?) Best, Randall Quote Link to comment Share on other sites More sharing options...
hcour Posted August 11, 2005 Author Report Share Posted August 11, 2005 Well, what am I doing wrong then? ME is not waiting for the program to terminate. It dials, connects, then immediately hangs up, w/o waiting. Thanks, Harold Quote Link to comment Share on other sites More sharing options...
hcour Posted August 11, 2005 Author Report Share Posted August 11, 2005 Ok, I tried it w/Wait Time Elapse (10 mins) and it worked fine. I'll try it w/o the complete program name path and see what that does. Thanks, Harold Quote Link to comment Share on other sites More sharing options...
hcour Posted August 11, 2005 Author Report Share Posted August 11, 2005 Oh yeah baby! That did it! This program is the coolest thing since sliced bread. Thanks much for the help, Randall and Floyd, Harold Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.