I am working on a program that is changing some cookies to be logged in at a flash game. The program can not be compiled because I want the user to be able to check my code. The program must be able to run from a link on a web page. So I'm trying to run my .vbs script with an URL protocol. I register the protocol with this .reg file:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\script] @="URL: script Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\script\shell] [HKEY_CLASSES_ROOT\script\shell\open] [HKEY_CLASSES_ROOT\script\shell\open\command] @="\"C:\\script.vbs\" %1"
The script.vbs never gets opened. I tried it with an .exe and it worked perfectly. Anybody knows what I have to do differently or another way?