Skip to main content
Can you please show me a looping rumba script: I have a string "TOTAL" at last screen of rumbs and when i press F6 key many times (min 6 times max 36 times) i will get the "TOTAL" srtring. When i find string macro should exit. Normal macro i created Label Start• Find TOTAL at 3,20• Yes : Exit• No: F6• Go to Label Start• Exit• Can you please suggest a rumba script for this? The right script should enter Sendkey F6 until i find string TOTAL at position 3,20 thank you so much.

#Rumba
Can you please show me a looping rumba script: I have a string "TOTAL" at last screen of rumbs and when i press F6 key many times (min 6 times max 36 times) i will get the "TOTAL" srtring. When i find string macro should exit. Normal macro i created Label Start• Find TOTAL at 3,20• Yes : Exit• No: F6• Go to Label Start• Exit• Can you please suggest a rumba script for this? The right script should enter Sendkey F6 until i find string TOTAL at position 3,20 thank you so much.

#Rumba

Sub Main

Dim sTemp As String

Do While sTemp <> "TOTAL"

emReadScreen sTemp,5,3, 20

emSendKey  "<F6>"

' you may need to add code here to delay send key to allow for screen updating

' If you know where the cursor position is likely to go,

' use the Function emWaitCursor in conjunction with SysHide "Timer"  to turn off the timer dialogue

Loop

End Sub


Can you please show me a looping rumba script: I have a string "TOTAL" at last screen of rumbs and when i press F6 key many times (min 6 times max 36 times) i will get the "TOTAL" srtring. When i find string macro should exit. Normal macro i created Label Start• Find TOTAL at 3,20• Yes : Exit• No: F6• Go to Label Start• Exit• Can you please suggest a rumba script for this? The right script should enter Sendkey F6 until i find string TOTAL at position 3,20 thank you so much.

#Rumba

thank you so much Neil your script is perfectly working.