×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

can i set the memory of the paste function

can i set the memory of the paste function

can i set the memory of the paste function

(OP)
i need to copy a string on the mainframe application

then add a default prefix and suffix from time to time


1. copy the string on this coordinates and store it on this variable X
2. variable X is now on the copy memory
3. if i will call a paste function on other application it will only paste what i copied from Mainframe

can i edit or tweak the value of x?

currently, im putting the value on an unused coordinates with the default prefix and suffix
then select the area (using myarea.select) so that it will be on the copy memory or clipboard then add a send key to delete the previously used portion.


but is there a way or function that I can use for this action?

thanks

RE: can i set the memory of the paste function

Hi,

You need to assign a string to a variable from you terminal emulator.

The add a prefix based on som logic.

You're not copying anything. Your string value is stored in your variable.

Use the GetString() method in you emulator to assign to x.

RE: can i set the memory of the paste function

(OP)
thanks, i get your point in setting the prefix and suffix
ill try it once i get back on the office on Monday

ill try to look for other ways to set the desired variable available when
doing a paste function on other applications

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close