How do I copy the current URL to clipboard with Kantu?

How do I copy the current URL to clipboard with Kantu?

store | ${!URL} | !clipboard

Thanks Timo:) :slight_smile: :slight_smile: :slight_smile: :slight_smile:

made my day

temper

LOL, I checked and rechecked the code – seems right?

Strange… this macro works for me:

{
  "Name": "1",
  "CreationDate": "2019-3-23",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://status.ocr.space/",
      "Value": ""
    },
    {
      "Command": "store",
      "Target": "${!URL}",
      "Value": "!clipboard"
    }
  ]
}

Interesting, when I test your exact code it works – like a bomb

but when I changed that URL to the URL that I want to use it on, it broke :frowning:

Can you post your URL here? Or email it to team AT a9t9.com? Then we can test this further. Maybe a certain character makes a problem?

Hi there,

Intereting idea - was about to do this, but then I realized that when I tested on this page url it also bombed out :frowning:

=> https://forum.a9t9.com/t/how-do-i-copy-the-current-url-to-clipboard-with-kantu/2028/7

on this pages, with thise code, it bombs

+>

I am using this exact code and it does not work :slight_smile:
{
“Name”: “COPY URL”,
“CreationDate”: “2019-5-10”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://status.ocr.space/”,
“Value”: “”
},
{
“Command”: “store”,
“Target”: “${!URL}”,
“Value”: “!clipboard”
}
]
}

[error]

Internal variable “!URL” not supported

Try my solution working like a charm

{
“Name”: “copy test”,
“CreationDate”: “2019-7-15”,
“Commands”: [
{
“Command”: “comment”,
“Target”: “{!clipboard}", "Value": "" }, { "Command": "store", "Target": "{!URL}”,
“Value”: “!clipboard”
}
]
}

I used Windows before – now using MAC
Newest version of Chrome
This does not work on any URL that I try to use it on – just gives that Internal Varviable not supported error