Hints, tips and tricks for newbies
Moderators: JRL, Dorian (MJT support)
-
pantsmonkey
- Newbie
- Posts: 9
- Joined: Sat Apr 16, 2005 11:03 am
Post
by pantsmonkey » Tue Apr 19, 2005 1:51 am
Hello guys.
I am after the lines of code required for the following.
Copy Selected area to clipboard.
Paste Selection from clipboard.
I have searched but must be using incorrect wording.
It appears that
Press ctrl + V doesnt work Wish it did

thanks
-
Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
-
Contact:
Post
by Bob Hansen » Tue Apr 19, 2005 4:32 am
Here is a rough general skeleton:
WaitWindowOpen>WindowName*
SetFocus>WindowName*
Press Tab as needed to source location
Select text
Press CTRL
Send>c
Release CTFL
Press Tab to as needed to destination location
Press CTRL
Send>v
Release CTRL
That was a stripped down version all in the same window with fields that you could move to with Tab key. Selecting text may differ on what you want, the full line, first 5 chars, middle 7, etc. so you will have to make the entries to do the selection. You may use Up/Down vs. Tab, etc.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
-
pantsmonkey
- Newbie
- Posts: 9
- Joined: Sat Apr 16, 2005 11:03 am
Post
by pantsmonkey » Tue Apr 19, 2005 6:03 am
Cheers again bob.
I was positive that was the case it just seems to be an issue on each of the machines ive tried it on. with excel