Hi all,
I am new to Macro Scheduler and am still evaluating it. I have this problem where I set focus to a Windows Explorer Window and then press CTRL+A to select all files in that window. For some reason, the script is generating a CTRL+SHIFT+A sequence. I noticed this because it brings up the ICQ window (which has a CTRL+SHIFT+A shortcut).
I don't use PRESS SHIFT anywhere in the script so I'm really dumbfounded.
The piece of the script involved is:
SETFOCUS>%Folder_Name%
PRESS CTRL
WAIT>1
SEND>A
RELEASE CTRL
I have experimented with different wait times in vain. Also, I stopped the script after the SetFocus command and pressed CTRL-A manualy and THAT worked but obviously I need an automated solution.
Ctrl-A Problem
Moderators: Dorian (MJT support), JRL
If you select all files for any processing like move/copy/delete you could use the "oldfashioned" commandline combined with a wildcard.
Code: Select all
Let>RP_WINDOWMODE=0
Run Program>cmd /c move C:\test\*.* D:\test\*.*
*.bmp will move images
*.doc will move docs ... and so on.
cmd = W2K,NT,XP
command = W9x,ME
-
- Newbie
- Posts: 6
- Joined: Fri Jun 27, 2003 10:10 am
- Location: Malta (Head Office in Germany)
- Contact:
Thanks Rumumba but it is important that I simulate user input for file copying/moving/etc in this case. Believe or not, the operations windows carries out is different to those of DOS commands. We are testing a filesystem driver for a terminal services client and these differences matter.
Can I ask what the following line is for in your example please?:
Let>RP_WINDOWMODE=0
Regards,
Mark
Can I ask what the following line is for in your example please?:
Let>RP_WINDOWMODE=0
Regards,
Mark