×
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

Reflections Wait Host Issues

Reflections Wait Host Issues

Reflections Wait Host Issues

(OP)
Hi all
Reflections doesn't recognize Legacy Attachmate macro wait host times. It tends to hesitate as it works through a macro for upwards of 45 seconds. I've attached a macro dropping in suggested code from Reflections knowledge: https://support.microfocus.com/kb/doc.php?id=70214...

I get run time errors and I'm not even sure this is what is causing the hesitation though according to the KB article is seems likely.

Thank you for any help!

RE: Reflections Wait Host Issues

Hi,

Please post your code, as I and other, may not have Attachmate loaded.

FYI, I always wrote my code in Excel VBA. The WAIT technique I found most sucessful (using Extra) was lowering the g_HostSettleTime to 100, as I recall and the using WaitForCursor in a loop...

CODE

‘Following SendKeys, this loop
Do oScreen.WaitForCursor(row, col)
   DoEvents
Loop 
...where row, col were the screen rest coordinates.
Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: Reflections Wait Host Issues

(OP)
Hi Skip - I was hoping you would show up.
I did provide my code as an attachment and the knowledge base article where Reflection directly addresses this subject and provides different options such as wait for cursor, or keyboard enabled.

Problem is as you will see in the attached code sample, I've tried using their options and still can't get it to work. I'm sorry, it this case I'm not ready to convert to VBA.

I'm really stuck on this one and I provide around 75 macros to at least 300 people! Can you give me an alternate code that will make either of the Reflection suggestions work in my code?

Thanks!

RE: Reflections Wait Host Issues

Your attachment is a .ebm file, requiring an Attachmate application to view.

Unfortunately, I don’t have any Attachmate application on my PC.

Unfortunately, I took my asynchronous problem and used Excel VBA along with my own solution (using WaitForCursor in a loop) to 1) eliminate asynchronous data skipping and 2) running at, what seemed to be, optimum speed.

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

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