nbenitus
14 years agoContributor
Object not recognized during playback when function has parameter?
Hi,
I am doing a really simple script, I enter some text in a text field, then press enter. Here is my function:
Sub Make_Call_Parameter(x)
Aliases.SMC.main.mainInside.ContainerCalls.Afx.Container.Container.ContainerCallDock.Main_Window_Call_Container.ComboBox.txtCall.Keys("abc" + "[Enter]")
End Sub
The problem is that as soon as the function as a parameter (even if not used), the text field can not be recognized. However, if I remove the parameter X from the function, everything works fine.
Is there a reason why the function won't work with a parameter?
Thanks in advance.
I am doing a really simple script, I enter some text in a text field, then press enter. Here is my function:
Sub Make_Call_Parameter(x)
Aliases.SMC.main.mainInside.ContainerCalls.Afx.Container.Container.ContainerCallDock.Main_Window_Call_Container.ComboBox.txtCall.Keys("abc" + "[Enter]")
End Sub
The problem is that as soon as the function as a parameter (even if not used), the text field can not be recognized. However, if I remove the parameter X from the function, everything works fine.
Is there a reason why the function won't work with a parameter?
Thanks in advance.