Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
swdev:autohotkey:examples [2018/02/13 15:31] smayr [Example Script] |
swdev:autohotkey:examples [2018/02/13 17:37] (current) smayr [Messages or Dialogs] |
||
---|---|---|---|
Line 80: | Line 80: | ||
Send a message with '' | Send a message with '' | ||
<code autoit> | <code autoit> | ||
+ | ; Format: | ||
+ | ; SplashTextOn [, Width, Height, Title, Text] | ||
SplashTextOn, | SplashTextOn, | ||
Sleep, 2000 | Sleep, 2000 | ||
Line 234: | Line 236: | ||
; | ; | ||
- | ; Paste data to clipboard | + | ; Empty clipboard |
+ | ; | ||
+ | emptyClipboard() | ||
+ | { | ||
+ | clipboard = ; Empty the clipboard | ||
+ | } | ||
+ | |||
+ | ; | ||
+ | ; Copy data to clipboard | ||
; | ; | ||
copyToClipboard() | copyToClipboard() | ||
Line 250: | Line 260: | ||
; | ; | ||
- | ; Paste data to clipboard | + | ; Paste data from clipboard |
; | ; | ||
pasteFromClipboard() | pasteFromClipboard() | ||
Line 266: | Line 276: | ||
;SendInput, {ctrl down}v{ctrl up} | ;SendInput, {ctrl down}v{ctrl up} | ||
Send, {ctrl down}v{ctrl up} | Send, {ctrl down}v{ctrl up} | ||
- | } | ||
- | |||
- | ; | ||
- | ; Empty clipboard | ||
- | ; | ||
- | emptyClipboard() | ||
- | { | ||
- | clipboard = ; Empty the clipboard | ||
} | } | ||