Hi!
I'm sending events (typing one letter after another for example) to application (memo) 
and want to have pause between them (delay for few seconds). So that typing letters in 
memo would be visible not just typing all letters at once. But actually I couldn't 
insert time delay between. Instead I've got pause before typing all letters in memo 
and then all of them were typed at once. The quate from code is below:
///////////////////////////
AppLaunchWithCommand('memo', sysAppLaunchCmdNormalLaunch, NULL);
EvtEnqueueKey(chrSmall_H,0,0);

EvtEnqueueKey(chrSmall_E,0,0);
SysTaskDelay(100);
EvtEnqueueKey(chrSmall_L,0,0);
SysTaskDelay(100);
EvtEnqueueKey(chrSmall_L,0,0);
SysTaskDelay(100);
EvtEnqueueKey(chrSmall_O,0,0);
////////////////////////////////////
It seems like SysTaskDelay accumulates and working before starting memo and typing 
letters and then all letters typed at once!
Anybody knows how to make pause between typing not before starting application?
Best regards,
  Alex

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to