![Crazy :crazy:](./images/smilies/icon_crazy.gif)
[Moderator's note: Topic moved from Bug Reports.]
Code: Select all
Loop
TrayTip, Test
Code: Select all
#Persistent ; DO NOT QUIT
TrayTip, Title, PUT TEXT HERE
TrayTip wrote:Text
If this parameter is omitted or blank, any TrayTip window currently displayed will be removed.
Also works just fine on build 10240 with AutoHotkey v1.1.22.03.I wrote:Works just fine for me. Build 10074, AutoHotkey v1.1.22.00 Unicode 32-bit.
Code: Select all
TrayTip, my text goes here ; Won't show
TrayTip, My title text, my text goes here ; Will show
I did include all 4 options in every one of the tests...Almost_there wrote:You probably need both parameters in order to get it to work.Code: Select all
TrayTip, my text goes here ; Won't show TrayTip, My title text, my text goes here ; Will show
Code: Select all
#right::
Send {Volume_Up}
SoundGet, s
;traytip,,% floor(s)
tooltip,% floor(s), %a_screenwidth%, %a_screenheight%
SetTimer, RemoveToolTip, 2000
return
#left::
Send {Volume_Down 3}
SoundGet, s
;traytip,,% floor(s)
SetTimer, RemoveToolTip, 2000
tooltip,% floor(s), %a_screenwidth%, %a_screenheight%
SetTimer, RemoveToolTip, 2000
return
RemoveToolTip:
tooltip
return
Code: Select all
traytip, count,1
traytip, count,2
traytip, count,3
traytip, count,4
traytip, count,5
traytip, count,6
It sounds as though you have set Windows to not show notifications for that particular executable.maestrith wrote:I also tried to copy the individual file into the program files/Autohotkey directory and it would not work.
Having equal dates means little. The fact that it stopped/started working when you moved it is enough; it's obviously the same file. Otherwise, you should use a file comparison or hashing tool if you want to know whether two files are the same. e.g. fc /b "file1" "file2" at a command prompt.The file on the desktop is the exact same file that is in the PF/AHK directory. you can tell by the dates.
I hadn't noticed, but apparently that's how it's supposed to work. I don't see why Microsoft would provide a way to change it. TrayTip, or rather, Shell_NotifyIcon, has always been about notifications, and if you've got a notification, the icon should show it.Also I do not know if you can change this, but when I do get a traytip, it triggers the state of the notifications icon in the systray (turns it white with black lines rather than clear background with white lines) which is the default behavior when there is a notification, but when the traytip goes away the state of that icon does not revert back.
It always made a sound (unless you configure the sound to be null) and there's been a flag to disable the sound since Windows XP. I think I added it to the AutoHotkey documentation only recently, though. Just pass option 0x10.flyingDman wrote:it make a sound (can you disable it?)
Just sleep for any amount of time after each call to TrayTip, and it seems to work in the proper order.Strange behavior:
Code: Select all
myTray(3, "AutoHotkey", "Loaded")
;______________________FUNCTIONS ETC..______________________________
myTray(secs, Title, Main:="") { ;TRaytip doesn't work anymore, so my own solution
TrayTip , , Autohotkey Loaded , 1
run:=secs*100
secs:=-secs*1000
Progress, X1600 Y950 B CW303070 CTBBBBBB, %Main%, %Title%
SetTimer, myTrayHide, %secs%
SetTimer, myTrayUpdate, %run%
}
myTrayUpdate() {
static time
time+=15
Progress, %time%
}
myTrayHide() {
SetTimer, myTrayUpdate, OFF
Progress, OFF
}
I have tested on my Windows 10 Build 17134 (x64) with install using Chocolatey that using the following command:maestrith wrote: ↑02 Aug 2015, 17:24-I have figured out a way to get it to work no matter what exe you use to run it with. If I install to Program Files(x86) traytips display for all of them. It may just be my PC but I am going to try to get this to work on another PC here in the house. I will let you know what I find.
Code: Select all
choco install autohotkey.install --params="'/DefaultVer:U32'"
Users browsing this forum: Google [Bot], Rohwedder, Tech Stuff and 352 guests