You are here:

VB Script/Set Cursor Position

Advertisement


Lloyd wrote at 2014-03-26 15:05:15
The interface being used is IBM Personal Communications (PCOMM). This line will need to be added above the connection to session:



Set objEmulator = CreateObject("pcomm.auteclsession")



Once this is done, copying text would be as easy as:



strMyVar = objEmulator.auteclps.GetText(2, 2, 21)



...where the numbers refer to row 2, column 2, and 21 characters to copy. Pasting text would be just as simple:



objEmulator.auteclps.SendKeys strMyVar, 2, 2



...where, again, the numbers refer to row 2, column 2 is where you will be pasting your data.


VB Script

All Answers


Answers by Expert:


Ask Experts

Volunteer


Subbu

Expertise

I can answer VB Script questions which are related to Visual Basic / VBA / QTP Scripts.

Experience

8 Years

Education/Credentials
Master of Computer Applications

Awards and Honors
Established Member from QA Forums and Brainbench certification

©2016 About.com. All rights reserved.