Hey,
I tried your version and it comes baxck saying it cant find any files.
I'm just about to try my version with your change to see if this helps.
Thanks
HELLPPPP - VISTA
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I have deleted your posts as I have just realised they contain links to explicit content.
Your script is probably failing because you are trying to read from a file you are still writing and it loops through a growing file. If you MUST use your technique then you MUST add Let>RP_WAIT=2 to before the Run Program line as explained previously, so that the script waits for the cmd.exe /c dir command to complete. Remember to set RP_WAIT back to zero for your Internet Explorer Run lines.
However, I see no reason why my script would hang up. All it does is copy and rename files.
In order for us to help you, you need to help us do that and provide more information and make an attempt at diagnosing where the script is going wrong.
Step through with the debugger to see the result of GetFileList and Separate - what is the value of file_list in the watch list when you get to the GetFileList command? It should be a long string of filenames (with full paths).
Please don't post inappropriate URLs to this forum. You can always send your script privately to support if you are a registered user with a legitimate support request.
Your script is probably failing because you are trying to read from a file you are still writing and it loops through a growing file. If you MUST use your technique then you MUST add Let>RP_WAIT=2 to before the Run Program line as explained previously, so that the script waits for the cmd.exe /c dir command to complete. Remember to set RP_WAIT back to zero for your Internet Explorer Run lines.
However, I see no reason why my script would hang up. All it does is copy and rename files.
In order for us to help you, you need to help us do that and provide more information and make an attempt at diagnosing where the script is going wrong.
Step through with the debugger to see the result of GetFileList and Separate - what is the value of file_list in the watch list when you get to the GetFileList command? It should be a long string of filenames (with full paths).
Please don't post inappropriate URLs to this forum. You can always send your script privately to support if you are a registered user with a legitimate support request.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
PMd
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?