Jump to content

loop statement - little help


kemo1987
 Share

Recommended Posts

hello

lets say this Func below calling list of phones via this program

i want use the 6 lines of this program

switch between lines use CTRL + 1 to 6

ControlSend("[CLASS:SUAWINCLIENTCLASS]", "", "", "^1")

so i want it send ^1 then $phone then ^2 then $phone etc....

every line duration is 10 seconds before next call

====================================== sorry i never understand loop statement :D

<line 1> call $phone(1)> <> call $phone(7)

2 second sleep

<line 2> call $phone(2)> <> call $phone(8)

2 second sleep

<line 3> call $phone(3)> <> call $phone(9)

2 second sleep

<line 4> call $phone(4)> <> call $phone(10)

2 second sleep

<line 5> call $phone(5)> <> call $phone(11)

2 second sleep

<line 6> call $phone(6)> <> call $phone(12)

2 second sleep

========================================

i dont mind any other way alsoif u want change duration OK

Func _aCall() ; calling phone lis
;WinActivate("eyeBeam","")

for $iphone = 1 To $aFile_phone[0]
$phone = $aFile_phone[$iphone]
ControlSend("[CLASS:SUAWINCLIENTCLASS]", "", "", "{ESC} "& $phone &" {ENTER}") ; send phone
_asaving() ; check for calls and write it to result.txt between calls duration.
Sleep(10000)
Next

EndFunc
;Exp
;for $i = 1 to 6
;ControlSend("[CLASS:SUAWINCLIENTCLASS]", "", "", "^$i")
;next
Link to comment
Share on other sites

hello

lets say this Func below calling list of phones via this program

i want use the 6 lines of this program

switch between lines use CTRL + 1 to 6

ControlSend("[CLASS:SUAWINCLIENTCLASS]", "", "", "^1")

so i want it send ^1 then $phone then ^2 then $phone etc....

every line duration is 10 seconds before next call

So who was phone?

jk, by the way, is the program you're attempting to automate look like this?

Posted Image

Edited by THAT1ANONYMOUSEDUDE
Link to comment
Share on other sites

THAT1ANONYMOUSEDUDE

yes it's eyebeam

ok seems u know it so i ask u another thing

what diagnostic(F9) window show if call succeeded

or let me know who should i know if it ring to phone

some msg

14:13:06.7 Call (l:'sip:alpha@61.171.25.98' r:'sip:000201120675645@61.171.25.98') - Call failed. Error code: 408 "Request Timeout"

14:09:55.3 Call (l:'sip:115@61.8.157.58' r:'sip:00201120675645@61.8.157.58') - Placing call.

00:47:20.8 Call (l:'sip:810@190.202.88.252' r:'sip:400201280888131@190.202.88.252') - Placing call.

Link to comment
Share on other sites

THAT1ANONYMOUSEDUDE

yes it's eyebeam

ok seems u know it so i ask u another thing

what diagnostic(F9) window show if call succeeded

or let me know who should i know if it ring to phone

I'm sorry but I'm having a very difficult time understanding your severely broken english, maybe you should post it in your native language and we'll translate it from there since google translate offers alternative translations.

Link to comment
Share on other sites

ok no problem

i try to make auto dial program, it will dial each number and and sleep seconds then dial another number

so if you know enough about EyeBeam just tell me how log file or Diagnostic window will show if call success (ringing or opened)

thanks in advance

Link to comment
Share on other sites

ok no problem

i try to make auto dial program, it will dial each number and and sleep seconds then dial another number

so if you know enough about EyeBeam just tell me how log file or Diagnostic window will show if call success (ringing or opened)

thanks in advance

Sorry, I really have absolutely no idea how the software works, my original intention was to try to help you explain your problem because you previously made no sense at all.

Maybe some one around here is a telemarketer too and can help you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...