Copy files from Remote Desktop

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
gregpet
Newbie
Posts: 13
Joined: Wed May 22, 2013 8:11 pm

Copy files from Remote Desktop

Post by gregpet » Thu May 30, 2013 8:54 pm

I have 3 files written out to the desktop on the REMOTE desktop. I can copy them using image recognition etc. I am having trouble getting them to the desktop of my PC or even better to a folder somewhere.

this works fine, but everything I try doesn't work.

OR is there another way I should be doing this?
Thanks

SetFocus>192.168.196.40 - Remote Desktop Connection
wait>1
//Find and Left Click Center of
FindImagePos>%BMP_DIR%\image_10.bmp,WINDOW:192.168.196.40 - Remote Desktop Connection,0.7,1,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>XArr_0,YArr_0
LClick
Endif

//Find and Left Click Center of
FindImagePos>%BMP_DIR%\image_11.bmp,WINDOW:192.168.196.40 - Remote Desktop Connection,0.7,1,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>XArr_0,YArr_0
Press CTRL
LClick
Release CTRL
Endif

//Find and Left Click Center of
FindImagePos>%BMP_DIR%\image_12.bmp,WINDOW:192.168.196.40 - Remote Desktop Connection,0.7,1,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
MouseMove>XArr_0,YArr_0
Press CTRL
LClick
Release CTRL
Endif

Press CTRL
Press c
release CTRL
stopping here I can manually paste anywhere

this is where it breaks down
//COPY FILES TO DESKTOP
MouseMove>1422,526
LClick

Press CTRL
send>v
Release CTRL

User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Post by CyberCitizen » Thu May 30, 2013 11:26 pm

You can't copy files through Remote Desktop that way, you need to copy the files through a remote share, either set your Remote Desktop connection to map your local drives (see picture example), if you have admin access to the box access it through the remote share \\HOSTNAME\c$, otherwise you need to save it to a network share that both the server and your PC have access to.

Image
FIREFIGHTER

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