| Vorheriges Thema anzeigen :: Nächstes Thema anzeigen |
| Autor |
Nachricht |
Klaus.Hum Gast
|
Verfasst am: Di Mai 23, 2006 9:32 am Titel: Autohoptkey.ini ändern in Autohoptkey.ahk |
|
|
Hi
Warum Startet Autohotkey als default autohotkey.ini?
Damit funktioniert das Syntax-Highlighting und die
kontextsensitive Hilfe meines Editors (SciTE) nicht.
Gibt es eine Möglichkeit den Namen des Startup Script von
Autohotkey.ini z.B. in Autohotkey.ahk zu ändern?
Klaus |
|
| Nach oben |
|
 |
BoBo Gast
|
Verfasst am: Di Mai 23, 2006 9:41 am Titel: |
|
|
Ja.
| Zitat: | Passing Command Line Parameters to a Script
Scripts support command line parameters. The format is:
AutoHotkey.exe [Switches] [Script Filename] [Script Parameters]
And for compiled scripts, the format is:
CompiledScript.exe [Switches] [Script Parameters]
Switches can be zero or more of the following:
/f or /force -- Launch unconditionally, skipping any warning dialogs.
/r or /restart -- Indicate that the script is being restarted (this is also used by the Reload command, internally).
/ErrorStdOut -- Send syntax errors to stdout rather than displaying a dialog. See #ErrorStdOut for details.
Script Filename can be omitted if there are no Script Parameters. If omitted, it will run (or prompt you to create) AutoHotkey.ini in the current working directory. |
Ich würde allerdings nicht *.ahk wählen, weil dies den Eindruck erweckt es handele sich um ein lauffähiges AHK Script. |
|
| Nach oben |
|
 |
Klaus.Humm Gast
|
Verfasst am: Di Mai 23, 2006 9:52 am Titel: |
|
|
Danke für die Info.
| BoBo hat Folgendes geschrieben: |
Ich würde allerdings nicht *.ahk wählen, weil dies den Eindruck erweckt es handele sich um ein lauffähiges AHK Script. |
Warum nicht? Es ist doch ein lauffähiges AHK Script?
Ich habe jetzt folgendes gemacht:
In Autohotkey.ini habe ich nur die Zeile
#Include HotKeys.ahk
eingefügt. Damit startet jetzt mein Script "HotKeys.ahk"
und ich habe meine kontextsensitive Hilfe in SciTE. |
|
| Nach oben |
|
 |
|