AUTOHOTKEY/레퍼런스
TrayTip 트레이 아이콘의 곳에 벌룬 메세지를 표시한다(Windows2000/XP이후 전용)
님투
2007. 11. 5. 23:33
반응형
TrayTip
트레이 아이콘의 곳에 벌룬 메세지를 표시한다(Windows2000/XP이후 전용)
TrayTip [, Title, Text, Seconds, Options]
Parameters
인수명 | 설명 |
---|---|
Title | 벌룬 메세지의 타이틀을 지정. 63문자 이상은 잘라 버릴 수 있다. 이 인수를 생략 하면, 타이틀을 표시하는 부분이 없어져, 벌룬 메세지의 높이가 낮아진다. |
Text | 표시하는 텍스트. 255문자 이상은 잘라 버릴 수 있다. 개행을 포함한 텍스트도 가능. 이 인수가 생략 되면, 벌룬 메세지는 소거된다. |
Seconds | 윈도우가 자동 소거될 때까지의 대기 시간을 초수로 지정. 최소10, 최대30. 생략시는10. 메세지가 표시된 후, 최초로 어떠한 조작을 하고 나서, 이 초수만큼 대기된다. |
Options | 표시하는 아이콘을 지정.
|
Remarks
벌룬 메세지는, 스크립트의 task tray 아이콘이 비표시가 되어 있는 경우 표시할 수 없다.
레지스트리의 설정으로 벌룬 메세지를 금지하게 되어 있는 경우도, 표시할 수 없다.
Related
ToolTip, SetTimer, SplashTextOn, MsgBox, InputBox, FileSelectFile, FileSelectFolder
Example(s)
TrayTip, MyTitle, Multiline`nText, 20, 17 ; To have more precise control over the display time without ; having to use Sleep (which stops the current thread): #Persistent TrayTip, Timed TrayTip, This will be displayed for 5 seconds. SetTimer, RemoveTrayTip, 5000 return RemoveTrayTip: SetTimer, RemoveTrayTip, Off TrayTip return ; To have a TrayTip permanently displayed, use a timer to refresh it ; periodically: SetTimer, RefreshTrayTip, 1000 Gosub, RefreshTrayTip ; Call it once to get it started right away. return RefreshTrayTip: TrayTip, Refreshed TrayTip, This is a more permanent TrayTip., , 16 return
반응형