Issue using Run Program and Explorer

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Issue using Run Program and Explorer

Post by kpassaur » Sat Apr 25, 2009 10:04 am

The line

RunProgram>Explorer.exe "C:\Demosimplebcfiler"

works sometimes and not others. Let me explain. By itself it always works, however, when I put it in a bigger script, in some it works but not others.

For instance, on one Vista machine it works not another, both are rather clean machines and I have admin rights to both (same everything except processor and motherboard).

A similar line in a script does not work on my XP machine yet it used to. I can duplicate it working everytime when the line is the entire script. Any ideas as to what could cause it not to work? All I can think of is a workaround which would be to compile the line as a separate script and then call it.

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

RP_Wait and Windowmode

Post by kpassaur » Sat Apr 25, 2009 10:50 am

It appears that in one script it was acting up because it was called from subroutines with RP_WAIT and RP_WINDOWMODE with different settings.

Also, does anyone know for sure if WaitWindowOpen works with Vista and Explorer?

For instance in XP if I use

WaitWindowOpen>Demosimplebcfiler* it works all the time and the word Demosimplebcfiler is in the Window Title. On my Vista machines there is not title when I am in Explorer.

It appears to work but can anyone confirm it.

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