Home Hardware Networking Programmazione Software Domanda Sistemi
Conoscenza Informatica >> software >> Software Utility >> .

Come fare un gadget desktop

Microsoft ha introdotto la sua versione di un widget , un piccolo programma in esecuzione sul desktop , nel sistema operativo Vista come parte della funzione " Sidebar " . L'attuale sistema operativo Windows , Windows 7 , non include una barra laterale . Microsoft ora si riferisce a questi piccoli programmi come " Desktop Gadgets ". L'utente può trascinare gadget ovunque sul desktop . Sviluppare i propri gadget comporta la creazione di un minimo di due file di breve durata , un file XML e un file HTML. L'aggiunta di un po 'di JavaScript , sia come parte del codice HTML o in un file separato , permette una maggiore personalizzazione . Cose che ti serviranno : Finestre 7
Show More Istruzioni
1

Crea il tuo primo gadget utilizzando come esempio un conto alla rovescia per la vostra pensione . Fare clic su "Start ," tipo " Blocco Note " e premere " Invio" per aprire il programma Blocco Note incluso in Windows . Inserire le seguenti righe:



mia pensione < /title> <br> <p> <style> ; <br> corpo <p> {width : 120 , height: 120 , tipo di carattere : 8 pt Arial ; colore : bianco; filtro : progid : DXImageTransform.Microsoft.Gradient ( GradientType = 1 , StartColorStr = " # 00FF00 " , <br> <p> EndColorStr = " # 0000FF " ) } <br> <p> < /style > <br> <p> < collegamento href = " style.css " rel = tipo " foglio di stile " = "text /css " /> <br> <p> <script language="javascript"> <br> <p> RightNow = new Date ( ) per <p> mil = new Date ( " 31 GENNAIO 2030 " ) per <p> mil.setYear = RightNow.getFullYear ; <br> giorno <p> = ( 1000 * 60 * 60 * 24 ) per <p> computeDay = ( mil.getTime ( ) - RightNow.getTime ( ) ) /giorno ; <br> <p> computeDAY = computeDay - 1 <br> <p> DayResult = Math.round ( computeDay ) ; <br> <p> document.write ( " <center> " DayResult + + "giorni di andare in pensione ( 31 gennaio , la data della vostra pensione per quello nell'esempio. <br> 2 <p> Fare clic su "File " e poi " Salva con nome ". Utilizzare Windows Explorer per navigare i gadget cartella si trova in " Users /[ il vostro nome profilo ] /AppData /Local /Microsoft /Windows Sidebar /Gadgets . "Salvare il file in questa cartella come" MyRetirement.html . " nel" Salva come " dialogo, utilizzare la freccia a discesa per cambiare dal default " Documenti di testo ( txt ). "a" Tutti i file (* . * ) " <br> 3 <p> Sviluppare il file XML con l'apertura di un nuovo file in Blocco note Inserire le seguenti righe : . . <br> <p> < ? xml version = " 1.0 " encoding = " utf-8" name = [ inserire il nome tra virgolette ] < /autore > <br> <p> <description> " MyRetirement " MyRetirement < /description > <br> <p> <hosts> <br> <p> < nome host = " sidebar " > <br> <p> <base type="HTML" apiVersion="1.0.0" src="MyRetirement.html" /> <br> <p> <permessi> completa < ;/permessi > <br> <p> <platform minPlatformVersion="1.0" /> <br> <p> < /host> <br> <p> </host > <br> <p> < ;/gadget > <br> 4 <p> Salva questo file nella stessa cartella del gadget del file HTML . Modificare il nome del file in " MyRetirement.xml " e il tipo di " Tutti i file ( * . * ) . " <br> 5 <p> Preparare il gadget per l'installazione su altri computer . selezionare entrambi i file nella cartella gadget tenendo premuto il tasto" Ctrl " e cliccando su di essi . tasto destro del mouse e selezionare" Invia a compressa ( zip) cartella . "Utilizza lo stesso nome , " MyRetirement ", e la stessa cartella nei punti 3 e 5 . pulsante destro del mouse sul nuovo file compresso e selezionare" Rinomina ". Modificare l'estensione da" zip " a" gadget . "Questo permette a Windows di riconoscere i file compressi come un gadget e installarli. l'utente ora può fare doppio clic sul nuovo file gadget per installarlo. <br> 6 <p> Aprire il " gadget "che si trova in un elenco a discesa quando si fa clic destro ovunque sul desktop . Questa mostra tutti i gadget installati. cliccate e trascinate il nuovo gadget ovunque ti piace sullo schermo . <br> <br> <ul class="mhjkhjlj"> <li> <a class='LinkPrevArticle' href='/software/Software-Utility/1343048.html' >Come creare un fantasma immagine di un Drive </a></li> <li> <a class='LinkNextArticle' href='/software/Software-Utility/1343052.html' >Come creare un rapporto SMS </a></li> </ul> <div class="deep"> <div class="guanggadsadswqew"><script language='javascript' src='http://www.354353.com/AD/it3.js'></script></div> <div class="guanggadsadswqew1"></div> </div> <div class="xiangguanleitong"> <div class="vbfdghgjt65f"><h4>Informazioni correlate</h4></div> <ul> <li><a href="/software/Software-Database/1229066.html" target="_blank">Come accedere a una macro per l'aggiunta di dati da un modulo a una tabella </a></li><li><a href="/software/Software-Database/1232436.html" target="_blank">Come convertire un database in formato Access </a></li><li><a href="/software/Software-Audio/1208250.html" target="_blank">Come rimuovere la voce su iTunes </a></li><li><a href="/software/Software-Utility/1346942.html" target="_blank">Come installare il Windows Recovery Environment sul mio hard Drive </a></li><li><a href="/software/Digital-Video-Software/1247818.html" target="_blank">Come faccio a masterizzare i film su iTunes disco </a></li><li><a href="/software/Desktop-Video/1240148.html" target="_blank">Come inserire più Transizioni video in Adobe Premier CS3 </a></li><li><a href="/software/presentazione-Software/1319834.html" target="_blank">Come iniziare con IDL </a></li><li><a href="/software/Desktop-Video/1241932.html" target="_blank">Come visualizzare cinese in Windows Media Player </a></li> </ul> </div> </div> </div> <div class="woshiyouleirog"> <div class="zxtjianasd"> <div class="bidssdfjm3"><h4>Articoli consigliati</h4></div> <div class="dasdcdfurit33"> <ul> <li><a href="/software/Software-Utility/1343946.html" target="_blank">DameWare Strumenti </a></li><li><a href="/software/Software-Utility/1343450.html" target="_blank">Come rimuovere Windows Installer e reinstallare la versione 3 redistributiva </a></li><li><a href="/software/Software-Utility/1345436.html" target="_blank">Come scrivere un file NRG </a></li><li><a href="/software/Software-Utility/1345898.html" target="_blank">Come usare GetDataBack per NTFS </a></li><li><a href="/software/Software-Utility/1339208.html" target="_blank">Come commettere i file tramite uno script in ClearCase </a></li><li><a href="/software/Software-Utility/1341536.html" target="_blank">Come aggiornare e condividi GroupWise Rubriche </a></li><li><a href="/software/Software-Utility/1345040.html" target="_blank">Scheda madre MSI Tools </a></li><li><a href="/software/Software-Utility/1341092.html" target="_blank">Come creare schede RoboForm </a></li><li><a href="/software/Software-Utility/1339006.html" target="_blank">Come sincronizzare un Jive con gli annunci </a></li><li><a href="/software/Software-Utility/1343724.html" target="_blank">Come registrare su una scheda audio di Windows </a></li> </ul> </div> </div> <div class="guanggandgsa32a"> </div> <div class="huosirengs"> <li><a class='childclass' href='/software/Adobe-Illustrator/' target="_self">Adobe Illustrator</a></li> <li><a class='childclass' href='/software/Software-di-animazione/' target="_self">Software di animazione</a></li> <li><a class='childclass' href='/software/Antivirus-Software/' target="_self">Antivirus Software</a></li> <li><a class='childclass' href='/software/Software-Audio/' target="_self">Software Audio</a></li> <li><a class='childclass' href='/software/Backup-dei-dati/' target="_self">Backup dei dati</a></li> <li><a class='childclass' href='/software/masterizzare-CD/' target="_self">masterizzare CD</a></li> <li><a class='childclass' href='/software/masterizzare-DVD/' target="_self">masterizzare DVD</a></li> <li><a class='childclass' href='/software/Compressione-dei-dati/' target="_self">Compressione dei dati</a></li> <li><a class='childclass' href='/software/Software-Database/' target="_self">Software Database</a></li> <li><a class='childclass' href='/software/Desktop-Publishing/' target="_self">Desktop Publishing</a></li> <li><a class='childclass' href='/software/Desktop-Video/' target="_self">Desktop Video</a></li> <li><a class='childclass' href='/software/Digital-Video-Software/' target="_self">Digital Video Software</a></li> <li><a class='childclass' href='/software/Drupal/' target="_self">Drupal</a></li> <li><a class='childclass' href='/software/Software-didattico/' target="_self">Software didattico</a></li> <li><a class='childclass' href='/software/ingegneria-del-Software/' target="_self">ingegneria del Software</a></li> <li><a class='childclass' href='/software/Tipi-di-estensione-di-file/' target="_self">Tipi di estensione di file</a></li> <li><a class='childclass' href='/software/Financial-Software/' target="_self">Financial Software</a></li> <li><a class='childclass' href='/software/Freeware--Shareware---Abandonware/' target="_self">Freeware, Shareware & Abandonware</a></li> <li><a class='childclass' href='/software/GIMP/' target="_self">GIMP</a></li> <li><a class='childclass' href='/software/Graphics-Software/' target="_self">Graphics Software</a></li> <li><a class='childclass' href='/software/Software-Home-Recording/' target="_self">Software Home Recording</a></li> <li><a class='childclass' href='/software/Microsoft-Access/' target="_self">Microsoft Access</a></li> <li><a class='childclass' href='/software/Microsoft-Excel/' target="_self">Microsoft Excel</a></li> <li><a class='childclass' href='/software/Microsoft-Publisher/' target="_self">Microsoft Publisher</a></li> <li><a class='childclass' href='/software/Microsoft-Word/' target="_self">Microsoft Word</a></li> <li><a class='childclass' href='/software/Aprire-Source-Code/' target="_self">Aprire Source Code</a></li> <li><a class='childclass' href='/software/Altro-Software-per-computer/' target="_self">Altro Software per computer</a></li> <li><a class='childclass' href='/software/Giochi-per-PC/' target="_self">Giochi per PC</a></li> <li><a class='childclass' href='/software/Photoshop/' target="_self">Photoshop</a></li> <li><a class='childclass' href='/software/Portable-Document-Format/' target="_self">Portable Document Format</a></li> <li><a class='childclass' href='/software/PowerPoint/' target="_self">PowerPoint</a></li> <li><a class='childclass' href='/software/presentazione-Software/' target="_self">presentazione Software</a></li> <li><a class='childclass' href='/software/produttività-Software/' target="_self">produttività Software</a></li> <li><a class='childclass' href='/software/Quicktime/' target="_self">Quicktime</a></li> <li><a class='childclass' href='/software/Gestione-Desktop-remoto/' target="_self">Gestione Desktop remoto</a></li> <li><a class='childclass' href='/software/SQL-Server/' target="_self">SQL Server</a></li> <li><a class='childclass' href='/software/Skype/' target="_self">Skype</a></li> <li><a class='childclass' href='/software/Software-versioni-Beta/' target="_self">Software versioni Beta</a></li> <li><a class='childclass' href='/software/Consulenti-Software/' target="_self">Consulenti Software</a></li> <li><a class='childclass' href='/software/Società-di-sviluppo-software/' target="_self">Società di sviluppo software</a></li> <li><a class='childclass' href='/software/Software-Licensing/' target="_self">Software Licensing</a></li> <li><a class='childclass' href='/software/Fogli-di-calcolo/' target="_self">Fogli di calcolo</a></li> <li><a class='childclass' href='/software/Software-Preparazione-Tax/' target="_self">Software Preparazione Tax</a></li> <li><a class='childclass' href='/software/Software-Utility/' target="_self">Software Utility</a></li> <li><a class='childclass' href='/software/Web-Clip-Art/' target="_self">Web Clip Art</a></li> <li><a class='childclass' href='/software/Windows-Media-Player/' target="_self">Windows Media Player</a></li> <li><a class='childclass' href='/software/Word-Processing-Software/' target="_self">Word Processing Software</a></li> </div> </div> </div> <div class="dsadsafa-da"> <p class="sdqwfwe42">  </p> <p class="vbnhg654">software © www.354353.com</p> <p class="iop8iud"> </p> </div> </div> </body> </html>