Hjælp til ændre menu
Jeg ved intet om XML, men har 2 CD/USB stick som jeg anvender flere gange om dage.Hver gang skal jeg afvente at menuen vise på skærmen og derefter vælge hvilken funktion der skal anvende, hvilken sltid er den samme for mig.
Jeg kan se at selve menuen ligger i disse 2 *.xml filer, og mit ønske er at en her i Forum vil være behjælpelig med at gøre det rigtige menupunkt til default og derved automatisk startes op efter 15 sekunder.
Link til billede af koderne - og evt. tilhørende filer:
http://imgur.com/a/nWoN5
Her er bootmenu.xml kode på den ene CD:
Default er i nederste under "Continue starting Windows" jeg ønsker at linie der hedder "Name=C5" bliver til default:
Menu no 1 - kode start:
<?xml version="1.0" encoding="UTF-8" ?>
<resource>
<group>
<aml:item guid="{0B30BD6B-5AFA-49BD-B346-C42F2EDB05BC}" help="Start the bootable rescue utility." kernel_params="product=bootagent media_for_windows" name="C1" verb="C1">
<title><font stock='bootmenu_title'>Acronis Universal Restore (32-bit)</font></title>
<icon href="C1.png" type="extra" />
</aml:item>
<aml:item guid="{69E268AF-873E-4692-A3E4-C5BC7D6607AD}" help="Start the bootable rescue utility." kernel_params="product=bootagent media_for_windows" name="C2" verb="C2">
<title><font stock='bootmenu_title'>Acronis Universal Restore (64-bit with UEFI support)</font></title>
<icon href="C2.png" type="extra" />
</aml:item>
<aml:item guid="{3F4A826E-4733-4878-80D7-AEE9E7A20250}" help="Includes drivers for USB/PC Card/SCSI hard disks." kernel_params="" name="C3" verb="C3">
<title><font stock='bootmenu_title'>Acronis True Image</font></title>
<icon href="C3.png" type="extra" />
</aml:item>
<aml:item guid="{446A0DC1-C7E3-4083-993E-FF359E8A9733}" help="Generate a system report and save it to a USB flash drive." kernel_params="product=system_report" name="C4" verb="C4">
<title><font stock='bootmenu_title'>Acronis System Report</font></title>
<icon href="C4.png" type="extra" />
</aml:item>
<aml:item guid="{A5DCABA3-E466-43AD-953A-FE7AC179A94F}" help="Includes drivers for USB/PC Card/SCSI hard disks." kernel_params="" name="C5" verb="C5">
<title><font stock='bootmenu_title'>Acronis True Image (64-bit)</font></title>
<icon href="C5.png" type="extra" />
</aml:item>
<aml:item guid="{C8EE8742-BD57-4B9C-9417-5C5D1CEF9917}" help="Generate a system report and save it to a USB flash drive." kernel_params="product=system_report" name="C6" verb="C6">
<title><font stock='bootmenu_title'>Acronis System Report (64-bit)</font></title>
<icon href="C6.png" type="extra" />
</aml:item>
<aml:item default="1" guid="" help="Continue starting Windows." kernel_params="" name="continue" timeout="15" timeout_help="Continue booting Windows in {0} seconds..." verb="continue">
<title><font stock='bootmenu_title'>Start Windows</font></title>
<icon href="icon_continue_48.png" type="extra" />
</aml:item>
</group>
<aml:menu name="menu_default">
<aml:item flags="default" title="execute" verb="execute" />
</aml:menu>
</resource>
kode slut for menu no.1
+++++++++++++++++++++++++++++++++++
ønsker her er at linien med "C2" bliver til defaultMENU 1
Menu no 2 - kode start:
<?xml version="1.0" encoding="UTF-8" ?>
<resource>
<group>
<aml:item guid="{D096D8F7-8716-4B2D-A393-CF3D0B036B9A}" help="Acronis Disk Director 12" name="C1" verb="C1">
<title>
<font stock='bootmenu_title'>Acronis Disk Director 12 (32-bit)</font>
</title>
<icon href="C1.png" type="extra" />
</aml:item>
<aml:item guid="{E97EC8F9-3316-4C6b-8CFD-C4943F3AF836}" help="Acronis Disk Director 12" name="C2" verb="C2">
<title>
<font stock='bootmenu_title'>Acronis Disk Director 12 (64-bit with UEFI support)</font>
</title>
<icon href="C2.png" type="extra" />
</aml:item>
<aml:item default="1" guid="" help="Continue booting the operating system." name="continue" timeout="15" timeout_help="Continue booting the operating system in {0} seconds..." verb="continue">
<title>
<font stock='bootmenu_title'>Continue OS booting</font>
</title>
<icon href="icon_continue_48.png" type="extra" />
</aml:item>
</group>
<aml:menu name="menu_default">
<aml:item flags="default" title="Run Acronis Disk Director 12" verb="execute" />
</aml:menu>
</resource>
kode slut for menu no.2