[Help} Clicks Macro

Need help to creating macros ?
Post Reply
plets8
Posts: 5
Joined: Mon Nov 11, 2019 3:01 pm

[Help} Clicks Macro

Post by plets8 » Mon Nov 11, 2019 3:04 pm

Hello, I have the premium plan.

I want to put a macro to click on any menu / link within my site.

I'm trying with an unsuccessful macro below

// click on a link href contains https://divulgavagas.com.br
Target GenerateXpath ("a", "href", "https://divulgavagas.com.br");
ClickRandomLink (theTarget);

Can you give me a light?

creativecool
Posts: 2
Joined: Tue Jul 30, 2019 1:02 am

Re: [Help} Clicks Macro

Post by creativecool » Mon Nov 11, 2019 3:29 pm

try this

Code: Select all

ClickByXpath(GenerateXpath("a", "href", "%divulgavagas.com.br%"));
Points for sale.
15.000.000 -> $10
30.000.000 -> $19
60.000.000 -> $37

Need more -> Pm me
Paypal & Bitcoin

plets8
Posts: 5
Joined: Mon Nov 11, 2019 3:01 pm

Re: [Help} Clicks Macro

Post by plets8 » Mon Nov 11, 2019 3:37 pm

@creativecool


Would it look like this in my case?

ClickRandomInternalLink (https://divulgavagas.com.br/);

plets8
Posts: 5
Joined: Mon Nov 11, 2019 3:01 pm

Re: [Help} Clicks Macro

Post by plets8 » Mon Nov 11, 2019 3:41 pm

creativecool wrote:
Mon Nov 11, 2019 3:29 pm
try this

Code: Select all

ClickByXpath(GenerateXpath("a", "href", "%divulgavagas.com.br%"));
Only this?

ClickByXpath (GenerateXpath ("a", "href", "% divulgavagas.com.br%"));


or some more code?

plets8
Posts: 5
Joined: Mon Nov 11, 2019 3:01 pm

Re: [Help} Clicks Macro

Post by plets8 » Mon Nov 11, 2019 3:43 pm

Image

:?: :?:

creativecool
Posts: 2
Joined: Tue Jul 30, 2019 1:02 am

Re: [Help} Clicks Macro

Post by creativecool » Mon Nov 11, 2019 4:10 pm

you need more code, not just that one

try this

Code: Select all

await WaitForLoading();
await Delay(Random(2000, 3000));
SendMouseWheel(0, -500);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -600);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -800);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -200);
await Delay(Random(2000, 3000));
SendMouseWheel(0, 800);
await Delay(Random(2000, 3000));
ClickRandomInternalLink();
await WaitForLoading();
await Delay(Random(2000, 3000));
SendMouseWheel(0, -500);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -600);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -800);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -200);
await Delay(Random(2000, 3000));
SendMouseWheel(0, 800);
await Delay(Random(2000, 3000));
ClickByXpath(GenerateXpath("a", "href", "%divulgavagas.com.br%"));
await WaitForLoading();
await Delay(Random(2000, 3000));
SendMouseWheel(0, -500);
change 2000 & 3000, waiting time in millisecond

Code: Select all

await Delay(Random(2000, 3000));
change -500, - to scrol down

Code: Select all

SendMouseWheel(0, -500);
for internal link use

Code: Select all

ClickRandomInternalLink();
random link that contains divulgavagas.com.br

Code: Select all

ClickByXpath(GenerateXpath("a", "href", "%divulgavagas.com.br%"));
Points for sale.
15.000.000 -> $10
30.000.000 -> $19
60.000.000 -> $37

Need more -> Pm me
Paypal & Bitcoin

plets8
Posts: 5
Joined: Mon Nov 11, 2019 3:01 pm

Re: [Help} Clicks Macro

Post by plets8 » Mon Nov 11, 2019 4:25 pm

creativecool wrote:
Mon Nov 11, 2019 4:10 pm
you need more code, not just that one

try this

Code: Select all

await WaitForLoading();
await Delay(Random(2000, 3000));
SendMouseWheel(0, -500);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -600);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -800);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -200);
await Delay(Random(2000, 3000));
SendMouseWheel(0, 800);
await Delay(Random(2000, 3000));
ClickRandomInternalLink();
await WaitForLoading();
await Delay(Random(2000, 3000));
SendMouseWheel(0, -500);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -600);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -800);
await Delay(Random(2000, 3000));
SendMouseWheel(0, -200);
await Delay(Random(2000, 3000));
SendMouseWheel(0, 800);
await Delay(Random(2000, 3000));
ClickByXpath(GenerateXpath("a", "href", "%divulgavagas.com.br%"));
await WaitForLoading();
await Delay(Random(2000, 3000));
SendMouseWheel(0, -500);
change 2000 & 3000, waiting time in millisecond

Code: Select all

await Delay(Random(2000, 3000));
change -500, - to scrol down

Code: Select all

SendMouseWheel(0, -500);
for internal link use

Code: Select all

ClickRandomInternalLink();
random link that contains divulgavagas.com.br

Code: Select all

ClickByXpath(GenerateXpath("a", "href", "%divulgavagas.com.br%"));

It worked!
Gratitude!

Post Reply