Contact US

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

newbie questions

newbie questions

newbie questions

Hi everyone,
I just started learning to program in Extra and i have a few questions.

1. for example my code would be
Sess0.SCREEN.WaitForString "Select Function"
how can i write a statement to say like
if there is a string called"select function" then
end if

2. how do i switch between two sessions?
3. how to write a command to select from row 3 colums 5 to row 9 column 6 and print selections.

Thank you very much!

RE: newbie questions

I just browse through the forums and found answer for 1 and 2 can anyone help me on part 3 thanks

RE: newbie questions

First, welcome to the world of EB programming.

Second, check out the FAQ section as I've answered quite a few questions in there.

Now, to answer your question, or at least try. I don't entirely understand what you're trying to do. It is possible to select the region you've defined, but what selections are you trying to print? Print to where, the screen, Excel, printer? What are you doing with the information once you've got it?

Given a bit more direction we can probably get you moving in the right direction.


RE: newbie questions

I apology for not given enough infomation. The work that i am working on right now is through Attachmate Extra. After it executed the commands it will open a text file and because the text file is few pages long it will scroll across the screen. Out of all the pages there will be one page in the middle that has the word " menu " at the beginning of that one page and end at the end of that page. I want to write a macro that if it sees the word "menu" it will start capture and if it sees the word "end" it will stop capture and then import the captured info onto word or excel. Thank you

RE: newbie questions

If I understand the senario correctly, you'll have scrolling text. You may want to investigate the help files under Search. The Search method will allow EB to look at the whole screen to determine where something is. It's a bit harder to work with, but it is very useful as it emulates what a human does in looking at the screen.


RE: newbie questions

thanks Calculus!

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