Half shadow
14-09-2016, 19:19
Salve, ho creato un'icona di sistema sul desktop tipo Cestino e Risorse del computer per Windows Media Player su XP, si tratta di Media Player 9 nello specifico, volevo creare un'icona senza la freccina del collegamento che è fastidiosa, considerando che Media Player è un programma di default di Windows, ma non funziona, mi dice "Il file non è associato a nessun programma per l'esecuzione dell'operazione. Creare un'associazione in Opzioni cartella nel Pannello di controllo."
Le chiavi di registro del file reg sarebbero queste, le ho create copiando il file reg messo a disposizione per aggiungere quella di Internet Explorer in Windows 7:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}]
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}]
@="Windows Media Player"
"InfoTip"="@C:\\Windows\\System32\\wmploc.dll,-102"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\DefaultIcon]
@="C:\\Programmi\\Windows Media Player\\wmplayer.exe,0"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\InProcServer32]
@="C:\\WINDOWS\\system32\\wmp.dll"
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell]
@="Open"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell\Open]
@="Apri"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell\Open\Command]
@="\"C:\Programmi\Windows Media Player\wmplayer.exe /Open"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell\Play]
@="Play"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell\Play\Command]
@="\"C:\Programmi\Windows Media Player\wmplayer.exe /Play "%L""
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\Properties]
@="P&roprietà"
"Position"="bottom"
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\Properties\command]
@="control.exe inetcpl.cpl"
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\Shellex\ContextMenuHandlers\ieframe]
@="{871C5380-42A0-1069-A2EA-08002B30309D}"
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\Shellex\MayChangeDefaultMenu]
@=""
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\ShellFolder]
@="C:\Programmi\Windows Media Player\wmplayer.exe,0"
"HideAsDeletePerUser"=""
"Attributes"=dword:00000024
"HideFolderVerbs"=""
"WantsParseDisplayName"=""
"HideOnDesktopPerUser"=""
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{6BF52A52-394A-11d3-B153-00C04F79FAA6}"=-
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{6BF52A52-394A-11d3-B153-00C04F79FAA6}"=-
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{6BF52A52-394A-11d3-B153-00C04F79FAA6}]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{6BF52A52-394A-11d3-B153-00C04F79FAA6}]
Praticamente l'icona di sistema dovrebbe avere 2 voci: Apri e Play. Con apri volevo che si aprisse Media Player come se fosse un semplice collegamento e con Play magari (se possibile) che mettesse tutti gli audio contenuti nella cartella Musica in riproduzione in sequenza o altrimenti l'ultimo file aperto.
Se non è possibile andrebbe bene anche una sola funzione per questa icona, ovvero Apri, solo che non funziona. Potreste aiutarmi per favore? :)
Le chiavi di registro del file reg sarebbero queste, le ho create copiando il file reg messo a disposizione per aggiungere quella di Internet Explorer in Windows 7:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}]
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}]
@="Windows Media Player"
"InfoTip"="@C:\\Windows\\System32\\wmploc.dll,-102"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\DefaultIcon]
@="C:\\Programmi\\Windows Media Player\\wmplayer.exe,0"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\InProcServer32]
@="C:\\WINDOWS\\system32\\wmp.dll"
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell]
@="Open"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell\Open]
@="Apri"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell\Open\Command]
@="\"C:\Programmi\Windows Media Player\wmplayer.exe /Open"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell\Play]
@="Play"
[HKEY_CLASSES_ROOT\CLSID\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\shell\Play\Command]
@="\"C:\Programmi\Windows Media Player\wmplayer.exe /Play "%L""
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\Properties]
@="P&roprietà"
"Position"="bottom"
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\Properties\command]
@="control.exe inetcpl.cpl"
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\Shellex\ContextMenuHandlers\ieframe]
@="{871C5380-42A0-1069-A2EA-08002B30309D}"
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\Shellex\MayChangeDefaultMenu]
@=""
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\ShellFolder]
@="C:\Programmi\Windows Media Player\wmplayer.exe,0"
"HideAsDeletePerUser"=""
"Attributes"=dword:00000024
"HideFolderVerbs"=""
"WantsParseDisplayName"=""
"HideOnDesktopPerUser"=""
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{6BF52A52-394A-11d3-B153-00C04F79FAA6}"=-
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{6BF52A52-394A-11d3-B153-00C04F79FAA6}"=-
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{6BF52A52-394A-11d3-B153-00C04F79FAA6}]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{6BF52A52-394A-11d3-B153-00C04F79FAA6}]
Praticamente l'icona di sistema dovrebbe avere 2 voci: Apri e Play. Con apri volevo che si aprisse Media Player come se fosse un semplice collegamento e con Play magari (se possibile) che mettesse tutti gli audio contenuti nella cartella Musica in riproduzione in sequenza o altrimenti l'ultimo file aperto.
Se non è possibile andrebbe bene anche una sola funzione per questa icona, ovvero Apri, solo che non funziona. Potreste aiutarmi per favore? :)