Posted 20 March 2004 - 07:10 PM
I'm talking about the tooltip that appears when you hover over the Autoit icon in the system tray. When you run a compiled script, the tooltip reflects the name of the EXE. So I thought I would try things like WinSetTitle on it, but ... .
See, I have a script that I launch multiple times: each time with a different INI file, and I'd like append the name of the INI file to the tooltip of the tray icon that is processing it, so that I can tell them apart. Eg: MyScript.exe - group1.ini, and MyScript.exe - group2.ini .. etc
I can do workarounds like periodically running a TrayTip call .. but that's messy in so many ways; and I have a feeling I'm missing something really obvious - any ideas?
Posted 20 March 2004 - 07:13 PM
Posted 20 March 2004 - 07:17 PM
Posted 20 March 2004 - 07:37 PM
nic.cbSize= sizeof(NOTIFYICONDATA); nic.hWnd= hWnd; nic.uID= AUT_NOTIFY_ICON_ID; nic.uFlags= NIF_ICON | NIF_MESSAGE; nic.uCallbackMessage = AUT_WM_NOTIFYICON; nic.hIcon= LoadIcon(g_hInstance, MAKEINTRESOURCE(IDI_MAIN_32x32x16)); Shell_NotifyIcon(NIM_ADD, &nic);
Visit the SciTE4AutoIt3 Download page for the latest versions Forum Rules
Live for the present,
Dream of the future,
Learn from the past.
Posted 20 March 2004 - 07:46 PM
So does this mean a new built-in intrinsic function? ..
The systemtray icon is set with the Shell_NotifyIcon call to Lib "shell32".
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users