Hey guys,
I am struggling on something that should be easy. In a list on a program that does not allow me to download all contents at once I build a macro that would go to each line and capture their contents. The variable value should then go up like Value1 value2 and each time a capture of data happened. But I only get Value%intLoopCounter% on my watch list instead.
Any ideas how to solve that?
Let>intLoopCounter=1
Repeat>intLoopCounter
CapsOff
Press LCTRL
Send>c
Wait>0.2
Release LCTRL
Wait>0.2
GetClipBoard>Value%intLoopCounter%
Wait>0.2
Let>intLoopCounter=intLoopCounter+1
Press down
**BREAKPOINT**
Until>intLoopCounter>maxrows
Thank you!
Getclipboard variable involved
Moderators: Dorian (MJT support), JRL
Re: Getclipboard variable involved
Hi, try to change to
There is also the command WaitClipBoard> that can be used instead of the "manual wait".
Code: Select all
Let>tmp=Value%intLoopCounter%
GetClipBoard>tmp
Re: Getclipboard variable involved
Thank you for the reply!
However, it doesn't seem to work for me. First tmp changes to Value1 which is great.
But afterwards the clipboardvalue gets saved under tmp and not under Value 1.
I hope that description makes sense.
Any ideas?
However, it doesn't seem to work for me. First tmp changes to Value1 which is great.
But afterwards the clipboardvalue gets saved under tmp and not under Value 1.
I hope that description makes sense.
Any ideas?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Getclipboard variable involved
Sounds like you actually want to do it the other way around:
Code: Select all
GetClipBoard>tmp
Let>Value%intLoopCounter%=tmp
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?