| View previous topic :: View next topic |
| Author |
Message |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Tue Nov 23, 2004 4:25 am Post subject: traytip not working |
|
|
HI
this example i got from the help book don't seem to work for me a bug ?
or is it just me lol
TrayTip, Timed TrayTip, This will be displayed for 5 seconds.
SetTimer, RemoveTrayTip, 5000
return _________________ ^sleepy^ |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Tue Nov 23, 2004 4:43 am Post subject: |
|
|
SetTimer points to a specific label and runs it. In this case, RemoveTrayTip (the label) does not exist. Methinks you forgot to include the rest of that example:
| Code: | RemoveTrayTip:
SetTimer, RemoveTrayTip, Off
TrayTip
return |
Another thing that would work is
| Code: | TrayTip, Timed TrayTip, This will be displayed for 5 seconds.
Sleep, 5000
TrayTip
return |
, but the disadvantage to that is you cannot execute any more code until the Sleep, 5000 is over. With the timer, it sets it and then moves on. |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Tue Nov 23, 2004 4:50 am Post subject: |
|
|
lol i kinda fig it was just me thanx for pointing that out  _________________ ^sleepy^ |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Tue Nov 23, 2004 4:53 am Post subject: |
|
|
That's what I'm here for.  |
|
| Back to top |
|
 |
|