this post was submitted on 18 Feb 2025
5 points (100.0% liked)

AutoHotkey

179 readers
1 users here now

founded 2 years ago
MODERATORS
 

I would like a TrayTip that one of my scripts puts out to open the same, specific file when clicked, but I see nothing about this in the documentation.

While I'm at it, is there a way to change the height of the tray tip?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 months ago* (last edited 2 months ago) (1 children)

Not exactly what you're looking for, but there's an old script in the help files called Favorite Folders that may do what you need, or lead you to a solution.

I'll see if I can find it.

Look in the AHK Help for "Easy Access to Favorite Folders" By Savage.

I've used this script since about 2008, and learned a lot from it.

Another idea - have a separate script running that waits for the Tray Top and it's text, gets the X, Y coordinates, and if there's a click there opens your file. I'm not sure if this will be easy to do or is realistic at all.

[–] [email protected] 2 points 2 months ago (1 children)

Interesting, never heard of it: https://github.com/wyldphyre/AutoHotKey/blob/master/Deprecated/Easy%20Access%20Folders.ahk

Yeah, I could try to figure out classes or other details about the tray tip window. Thanks!

[–] [email protected] 1 points 2 months ago (1 children)

I've used that script for years now, can't work on a machine without it any more! I'm always changing it for new things that I'm doing. It's brilliant.

[–] [email protected] 1 points 2 months ago

Was it ever ported to v2?