MatthiasGu
06-29-2011, 11:31 AM
Hello, I've just started using Simba, and writing a script to open my Internet Explorer.
So anyway, the line looks like this:
program new;
begin
MoveMouse(213,881);
ClickMouse(213,881,1);
end.
Everything is working fine, but I have noticed that I've given the coordinates twice, so I figured I can just delete the MoveMouse since I told him where to click, but when I deleted the MoveMouse line, the program now does nothing.
If I delete the coordinates on ClickMouse, the program wont compile, but if I put ANY coordinates in the command, it still clicks on the (213,881). So my question is, why are those coordinates near ClickMouse necessary? :redface:
Also, how can you make him press Enter? vk_enter doesn't seem to work, but vk_f vk_up, and stuff like that do.
So anyway, the line looks like this:
program new;
begin
MoveMouse(213,881);
ClickMouse(213,881,1);
end.
Everything is working fine, but I have noticed that I've given the coordinates twice, so I figured I can just delete the MoveMouse since I told him where to click, but when I deleted the MoveMouse line, the program now does nothing.
If I delete the coordinates on ClickMouse, the program wont compile, but if I put ANY coordinates in the command, it still clicks on the (213,881). So my question is, why are those coordinates near ClickMouse necessary? :redface:
Also, how can you make him press Enter? vk_enter doesn't seem to work, but vk_f vk_up, and stuff like that do.