Zur Neuinstallation von AutoIt :
Es ist zwar schon etwas her, aber falls ich mich recht erinnere, dann muss man wie folgt vorgehen :
1. AutoIt Full Installation :
Die Datei autoit-v3-setup.exe herunterladen und installieren :
https://www.autoitscript.com/cgi-bin/getfil…it-v3-setup.exe
(dieses Setup enthält nur eine abgespeckte Version des SciTE-Editors)
2. SciTE Editor :
Anschließend den 'vollwertigen' SciTE Editor SciTE4AutoIt3.exe für AutoIt herunterladen und installieren :
https://www.autoitscript.com/cgi-bin/getfil…iTE4AutoIt3.exe
Falls in einem der Installer gefragt wird ob eine Verknüpfung mit den Dateityp .au3 hergestellt werden soll, dann mit Ja antworten.
Wenn ich den Bereich HKEY_CLASSES_ROOT\AutoIt3Script aus meiner Registry exportiere, erhalte ich :
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AutoIt3Script]
@="AutoIt v3 Script"
[HKEY_CLASSES_ROOT\AutoIt3Script\DefaultIcon]
@="C:\\AutoIt\\AutoIt3\\Icons\\au3script_v10.ico"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell]
@="Open"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Compile]
@="Compile Script"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Compile\Command]
@="\"C:\\AutoIt\\AutoIt3\\Aut2Exe\\Aut2Exe.exe\" /in \"%l\""
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Compile with Options]
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Compile with Options\Command]
@="\"C:\\AutoIt\\AutoIt3\\SciTE\\AutoIt3Wrapper\\AutoIt3Wrapper.exe\" /ShowGui /in \"%l\""
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\CompileX64]
@="Compile Script (x64)"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\CompileX64\Command]
@="\"C:\\AutoIt\\AutoIt3\\Aut2Exe\\Aut2Exe_x64.exe\" /in \"%l\""
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\CompileX86]
@="Compile Script (x86)"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\CompileX86\Command]
@="\"C:\\AutoIt\\AutoIt3\\Aut2Exe\\Aut2Exe.exe\" /in \"%l\""
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Edit]
@="Edit Script"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Edit\Command]
@="\"C:\\AutoIt\\AutoIt3\\SciTE\\SciTE.exe\" \"%1\""
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Open]
@="Open"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Open\Command]
@="\"C:\\AutoIt\\AutoIt3\\SciTE\\SciTE.exe\" \"%1\""
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Run]
@="Run Script"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Run\Command]
@="\"C:\\AutoIt\\AutoIt3\\AutoIt3.exe\" \"%1\" %*"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\RunX64]
@="Run Script (x64)"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\RunX64\Command]
@="\"C:\\AutoIt\\AutoIt3\\AutoIt3_x64.exe\" \"%1\" %*"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\RunX86]
@="Run Script (x86)"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\RunX86\Command]
@="\"C:\\AutoIt\\AutoIt3\\AutoIt3.exe\" \"%1\" %*"
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Tidy]
[HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Tidy\Command]
@="\"C:\\AutoIt\\AutoIt3\\SciTE\\Tidy\\Tidy.exe\" \"%1\""
Alles anzeigen
(Anm.: @="\"C:\\AutoIt ist der Pfad, in dem ich installiert habe)
Im Prinzip kann man ja auch Teilbereiche der Registry mittels .reg-Dateien importieren. Dies ist i.d.R. aber mit Vorsicht zu genießen. Zudem ist nicht sichergestellt, dass diese .reg auch wirklich alle Einstellungen enthält.
Möglicherweise ist die Deinstallation und anschließende Neuinstallation, wie ob beschrieben, erst mal die einfachste Lösung. Bei mir (Win 7) war danach das Contextmenü vorhanden, ohne dass ich zusätzlich etwas machen musste.
Gruß Musashi