Creando particolari chiavi di registro è possibile da un link posizione su una pagina web eseguire la propria applicazione passando parametri.
Esattamente come fa Emule quando si clicca su un link ed2k://filedascaricare. Create un file di registro con questo contenuto (personalizzatelo secondo le vostre esigenze) e importatelo nel vostro registro di sistema
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ESTENSIONE]
@="URL: ESTENSIONE Protocol"
"URL Protocol"=""
At this point to verify that the operation is successful, open Internet Explorer and how to set address "extension: / /" While
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ESTENSIONE\DefaultIcon]
@="c:\\programmi\\percorso\\programma.exe"
"OldIcon"="c:\\programmi\\percorso\\programma.exe,1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ESTENSIONE\shell]
@="open"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ESTENSIONE\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ESTENSIONE\shell\open\command]
@="\"c:\\programmi\\percorso\\programma.exe\" \\ "% 1 \\" "
" OldDefault "=" \\ "c: \\ \\ Program Files \\ \\ path \\ \\ program.exe \\" \\ "% 1 \\" "
Where"
EXTENSION "is the protocol to associate with your application
in your HTML links are simply links to the software
0 comments:
Post a Comment