Using the example in the help file as a starting point, I was trying to brute force Traytips to display for the actual desired time.
Code: Select all
TrayTip(traytitle :="", traytext := "", traysecs := 3, trayoptions := "") {
SetTimer, RemoveTrayTip, % (traysecs * -1000)
SetTimer, RefreshTrayTip, 1000
RefreshTrayTip:
TrayTip, %traytitle%, %traytext%, %traysecs%, %trayoptions%
return
RemoveTrayTip:
SetTimer, RefreshTrayTip, Off
TrayTip
return
}
so my question is how to access parameters of a function, outside that function? I'm sure it is something related to my lack to good understanding of variable scope. Thanks for you consideration.