I want to deleteAllCookies AT LOOP NUMBER 500 EVERY TIME,

hello
I want to deleteAllCookies AT LOOP NUMBER 500 EVERY TIME, , can you please help me?

You can delete all cookies and cache with this macro code, i run it inside other macro.

It works for firefox (i do not use chrome it’s too slow and require more memory)

{
  "Name": "Clear_Cookies_And_Cache",
  "CreationDate": "2020-2-15",
  "Commands": [
    {
      "Command": "store",
      "Target": "true",
      "Value": "!ERRORIGNORE"
    },
    {
      "Command": "store",
      "Target": "true",
      "Value": "!STATUSOK"
    },
    {
      "Command": "store",
      "Target": "FAST",
      "Value": "!REPLAYSPEED"
    },
    {
      "Command": "store",
      "Target": "1",
      "Value": "!TIMEOUT_WAIT"
    },
    {
      "Command": "bringBrowserToForeground",
      "Target": "",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_SHIFT+KEY_CTRL+KEY_DEL}",
      "Value": ""
    },
    {
      "Command": "pause",
      "Target": "5000",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_DOWN}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_DOWN}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_DOWN}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_DOWN}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_DOWN}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_DOWN}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_ENTER}",
      "Value": ""
    },
    {
      "Command": "pause",
      "Target": "10000",
      "Value": ""
    },
    {
      "Command": "echo",
      "Target": "Clear Browser History Completed",
      "Value": "#shownotification"
    }
  ]
}

thank you , i already used that code, but this not what im looking for it . i want to do the action just on every 5th loop for ex

You can use if command inside lopp to run macro if_v2 !LOOP = 5

Otherwise optimize the macro code i do not use !LOOP I prefer !Times command is more flexible

I HAVE TRIED if_v2? BUT IT DOESN’t worked , can u tell me how to do it with !Times command

Post your complete macro code please

Your code is not a macro code it’s a copy and paste of random code.

Read and study docs after you can create working macro, at this moment you do not know the the simplest commands of ui vision and you can not create any working macro without study.

To create macro you must study the command otherwise you must pay a coder to work with you.

Read and study this for 2 weeks (I study it from 2 years)

https://ui.vision/rpa/docs

ok thanks for your time

Guys, I am writing to you in the hope that you can advise me where to turn for programming assignment help. I am now in my first year of college and I understand that I do not like my specialty at all … I do not know what to do, but most likely I will quit and choose something else. But if I tell my parents about this, they simply will not understand me. They took out a student loan to pay for my tuition. What should I do? Any ideas?

1 Like

dm bro ;;;;;;;;;;;;;;;;;;;
.
.
.
.

Problem?

What problem ?

There are not problem with ui vision :slight_smile: