Hi guys,
The Code:
Emulator.MouseClick(instance.ActiveTab.Handle, MouseButton.Left, MouseButtonEvent.Click, 105, 335);
if i use Variables element to replace 105, and 335, like {-Variable.Variableleft-} and {-Variable.Variabletop-}
how can i write the code again. Thanks
i have tried to write:
1.
Emulator.MouseClick(instance.ActiveTab.Handle, MouseButton.Left, MouseButtonEvent.Click, project.Variables["Variableleft"].Value, project.Variables["Variableleft"].Value);
2.
int inta = project.Variables["Variableleft"].Value;
int intb = project.Variables["Variabletop"].Value;
Emulator.MouseClick(instance.ActiveTab.Handle, MouseButton.Left, MouseButtonEvent.Click, inta, intb);
3.
string inta = project.Variables["Variableleft"].Value;
string intb = project.Variables["Variabletop"].Value;
Emulator.MouseClick(instance.ActiveTab.Handle, MouseButton.Left, MouseButtonEvent.Click, inta, intb);
but all of them not work for me.
The Code:
Emulator.MouseClick(instance.ActiveTab.Handle, MouseButton.Left, MouseButtonEvent.Click, 105, 335);
if i use Variables element to replace 105, and 335, like {-Variable.Variableleft-} and {-Variable.Variabletop-}
how can i write the code again. Thanks
i have tried to write:
1.
Emulator.MouseClick(instance.ActiveTab.Handle, MouseButton.Left, MouseButtonEvent.Click, project.Variables["Variableleft"].Value, project.Variables["Variableleft"].Value);
2.
int inta = project.Variables["Variableleft"].Value;
int intb = project.Variables["Variabletop"].Value;
Emulator.MouseClick(instance.ActiveTab.Handle, MouseButton.Left, MouseButtonEvent.Click, inta, intb);
3.
string inta = project.Variables["Variableleft"].Value;
string intb = project.Variables["Variabletop"].Value;
Emulator.MouseClick(instance.ActiveTab.Handle, MouseButton.Left, MouseButtonEvent.Click, inta, intb);
but all of them not work for me.