Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Feasble in Extra! Macro?

Status
Not open for further replies.

DarronWindrunner

Programmer
Nov 15, 2003
4
GB
Normaly use Extra! to record macros and automate certain sections of jobs in work. Which saves time but its not very 'inteligent' ie it grinds to a halt the second something unrecored jumps up.

Im wondering if via Extra basic would it be feasible to write and 'inligent' macro that would 'look' at the charcter the cursor is sitting on and make decsions based up options i program in?

I reaslise this is a broad question but dont want to put in the effort if this simply is not possible via this.
 
Hi DarronWindrunner,

Yes it most certainly is possible to do what you are asking. The easiest way to do what you're asking is to set a variable to be the string value on the screen.

Something like YourVariable$=Sess0.Screen.Getstring(2,24,8)

and then make decisions upon YourVariable$.

Hope that helps,

Ian

 
You may want to check some faqs for some of the basic functions that Extra! is capable of.

I'm ready for Extra Basic... now what? faq99-4087

calculus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top