Jump to content
Macro Express Forums

vvkp

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by vvkp

  1. No Luck...if I use Repeat End then its giving error No "EndIf" statement that matches the initial if condition in the macro. macro will abort. Can anyone help me?

     

    THe compleete script is like this.... (I am doing line by line copy...I mean one line copied and paste the same one line at a time)

     

    Clipboard Empty

    Activate Window: "Notepad"

    Repeat Until %T1% <> %T1%

    Delay 20 Milliseconds

    Text Type: <SHIFT><END>

    Clipboard Copy

    Variable Set String %T1% from Clipboard

    Variable Set Integer %N1% from Length of Variable %T1%

    If Variable %N1% > 0

    Repeat END

    End If

    Repeat End

    Activate Window: "Document1"

    Clipboard Paste

  2. Hi friends,

    I am using Macro Express Version 2.0e. When I tired to copy some lines from Notepad to winword repeatedly ( I did the same thing like in the documentation). But the ClipboardCopy is not working. Nothing is copied. But other things remained working fine. Also if I copy something using Ctrl+C then I am able to copy. When I execute the hotkey, the matter I copied is pasting in the word. Not the lines in notepad. Anyhelp is highly appreciated.

    Thanks in advance,

    Kris

    ps the hotkey is F6 and the script is like this...

     

    Repeat Start (Repeat 5 times)

    Activate Window: "notepad"

    Delay 0.5 Seconds

    Text Type: <SHIFT><END>

    Clipboard Copy

    Text Type: <HOME><DOWN ARROW>

    Activate Window: "wordpad"

    Delay 0.5 Seconds

    Clipboard Paste

    Text Type: <ENTER>

    Repeat End

×
×
  • Create New...