The snippet creates a shortcut and then opens it, as the title says. Paste it into some keyboard press event and see what happens
I found if i just used execute_shell_simple("url") it worked :)