×
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!

*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

Is it possible to move data to clipboard once it has been obtained then manipulated using GetString?

Is it possible to move data to clipboard once it has been obtained then manipulated using GetString?

Is it possible to move data to clipboard once it has been obtained then manipulated using GetString?

(OP)
Hi, I need to take data I have retrieved then manipulated using the GetString function and enter it into Clipboard to be manually pasted afterwards without using a text file. Does anyone know if this is possible?

It's always better to ask stupid questions; stupid questions have been known to reduce the frequency of stupid mistakes. clown

RE: Is it possible to move data to clipboard once it has been obtained then manipulated using GetString?

hi,

Just wondering...

1. Data is 'retrieved,' which implies that the data from the screen object is now in a variable.

2. 'then manipulated using the GetString function' So how is this possible, as the GetString function gets strings from the screen object?

I'm trying to get a clear picture of what the process is, so would you please explain your process to me?

Secondly, please explain WHY the result needs to be in the clipboard.

Please answer both questions.

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

RE: Is it possible to move data to clipboard once it has been obtained then manipulated using GetString?

(OP)
Hi Skip. I didn't mean to be vague. I am using "String=MyTerminal.GetString(12,26,12)" to copy a few items. For example, a ph# (987)654-3210. I then remove all the non-numeric characters; It is my hope that there is a way to put the data to the clipboard so that when I do the Ctrl-v it pastes it like so, 9876543210. For some reason I could never get the CopyAppend function to work, so I have had to resort to another method. Normally I would select then copy the number, after that, I manually use the backspace to remove the characters as the dialer we use was poorly programmed and generates an error if the characters are left there.

It's always better to ask stupid questions; stupid questions have been known to reduce the frequency of stupid mistakes. clown

RE: Is it possible to move data to clipboard once it has been obtained then manipulated using GetString?

part of the problem is that you are not using technically correct words -- VERY important when defining any kind of a specification.

GetString does not COPY ANYTHING! It it used to ASSIGN a value to a variable.

There is a COPY method that applies to the Screen Object.

Where do you see APPEND in Extra Basic HELP? How did you TRY to use the Copy/Append method?

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

RE: Is it possible to move data to clipboard once it has been obtained then manipulated using GetString?

(OP)
Skip. Forgive my poor use of programming jargon. You're right, the GetString function is used to assign a value to a variable, as in my example it assigns the string value "(987)654-3210" to the variable String. Unfortunately, I no longer have access to Extra Basic Help as we've upgraded to Attachmate Reflection. Anyway, I was merely asking if the value in the variable can be placed in the clipboard. I will assume by your question about whether I have read up on copy/append that your answer is no. There is another way I've thought to get around this problem, I was just hoping there would be a simpler solution.

Yes I did read about Copy/Append, but for some reason it never worked. It would never generate an error, but it wouldn't work either.

Thanks for your answer.

It's always better to ask stupid questions; stupid questions have been known to reduce the frequency of stupid mistakes. clown

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