You can try running the mentioned code from the shortcut menu PASTE click.
KEYBOARD '{CTRL+V}'
It will work.
Aashish
>I just added a shortcut menu (Cut/Copy/Paste/Select All) to be activated on RightMouse click. But the Paste does not seem to work. What happens is when I select Paste item from the menu, the text that has to be "pasted" flashes (appears very fast) and then disappears. If I click on Paste from the Edit menu of the application or press Ctrl-V it works.
>
>The paste item is a procedure:
>
>
>=sys(1500,"_med_paste","_medit")
>
>
>Strange thing is that I think it worked when I initially created the menu (an hour ago). Then I added Setup and Cleanup procedure and it stopped working. Then I removed the Setup and Cleanup procedures but the Paste still does not work.
>
>Anybody can see what might be causing the problem?
>
>TIA.