HELLPPPP - VISTA

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
sigmon
Newbie
Posts: 8
Joined: Thu Oct 15, 2009 8:24 pm

Post by sigmon » Fri Oct 16, 2009 11:05 am

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

sigmon
Newbie
Posts: 8
Joined: Thu Oct 15, 2009 8:24 pm

Post by sigmon » Fri Oct 16, 2009 11:07 am

Hi,

Yup it hung again after it created the file list, will try adding more time.

sigmon
Newbie
Posts: 8
Joined: Thu Oct 15, 2009 8:24 pm

Post by sigmon » Fri Oct 16, 2009 11:12 am

hey, run with more time, got to creating the second file then hung, both have 3 seconds on each wait time.

Would be really good to get your version working if its better :)

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Oct 16, 2009 11:53 am

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.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

sigmon
Newbie
Posts: 8
Joined: Thu Oct 15, 2009 8:24 pm

Post by sigmon » Fri Oct 16, 2009 12:40 pm

yes sorry about that :(

Thanks for info, will have a play

sigmon
Newbie
Posts: 8
Joined: Thu Oct 15, 2009 8:24 pm

Post by sigmon » Sun Oct 18, 2009 12:00 pm

Hey,

Seems to be working ok, thanks for your help, please could you send me the code you made so i can try and get that running, i didnt save a copy and the post was removed :(

Thanks again

sigmon
Newbie
Posts: 8
Joined: Thu Oct 15, 2009 8:24 pm

Post by sigmon » Mon Oct 19, 2009 4:28 pm

Hey any joy on letting me have that code again :)

Thanks

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Oct 20, 2009 8:05 am

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?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts