| View previous topic :: View next topic |
| Author |
Message |
David
Joined: 08 Aug 2004 Posts: 25 Location: Lubbock, Texas
|
Posted: Mon Sep 06, 2004 8:12 pm Post subject: SetKeyDelay+ |
|
|
This hotkey displays the age of the current Web page. Can anyone give me a clue as to why this code stops working if the SetKeyDelay command is uncommented?
| Code: |
+^d:: ;SetKeyDelay, -1
Send, !FOjavascript:alert('Page was last modified\n'{+}window.document.lastModified);{ENTER}
Return
|
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Mon Sep 06, 2004 10:05 pm Post subject: |
|
|
| The first line of a multi-line hotkey should not occur on the same line as its label. This is because that mode is reserved for single-line hotkeys, which have an implicit return immediately after their first line. |
|
| Back to top |
|
 |
|