Win script

Gast #385101
Lesenswert?

Hallo Leute kriegt jemand von euch des hier zum laufe?

Creating a script

Each script is a plain text file containing commands to be executed by
the program (AutoHotkey.exe). A script may also contain hotkeys and
hotstrings, or even consist entirely of them. However, in the absence
of hotkeys and hotstrings, a script will perform its commands
sequentially from top to bottom the moment it is launched.

To create a new script:

   1. Open Windows Explorer and select a folder of your choice.
   2. Pull down the File menu and choose New >> AutoHotkey Script (or
Text Document).
   3. Type a name for the file, ensuring that it ends in .ahk. For
example: Test.ahk
   4. Right-click the file and choose Edit Script.
   5. On a new blank line, type the following:
      #space::Run www.google.com

The symbol # stands for the Windows key, so #space means holding down
the Windows key then pressing the spacebar to activate a hotkey. The ::
means that the subsequent command should be executed whenever this
hotkey is pressed, in this case to go to the Google web site. To try
out this script, continue as follows:

   1. Save and close the file.
   2. In Windows Explorer, double-click the script to launch it. A new
tray icon appears.
   3. Hold down the Windows key and press the spacebar. A web page
opens in the default browser.
   4. To exit or edit the script, right click its tray icon.

Note: Multiple scripts can be running simultaneously, each with its own
tray icon. Furthermore, each script can have multiple hotkeys and
hotstrings.

wenn ja dann erklärt mir mal einbißchen tchü.
Gast #385104
Lesenswert?

Oh sorry ja das ist die Sete, es will mit ausführen bei mir nicht
klappen. Ich hab eine Datei mit der Endung test.ahk inhalt #space::Run
www.google.com aber ausführen klappt es nicht oder besser gesagt es
habbert an English.
Gast #385106
Lesenswert?

Also ich hab wie bereits erwähnt habe ich eine Textdatei erzeugt danach
hab ich dies mit dem oben gennanten inhalt sprich mit
#space::Run www.google.com gefühlt dann hab ich gespeichert dann die
datei in in test.ahk umbennant. so jetzt weiss ich nicht wie mann
dieses ausführ, oben in meiner erst eintrag steht  Windows key and
press the spacebar also ich hab die Wintaste+leertaste gedrückt es
passierte aber nichts, es sollte sich die Seite öffnen www.google.com.
sorry für meiner deutsch.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren