hello,
i've switched to windows 7 (actually server 2008 r2) recently, but when i run my ahk script, i found that something's different with previous os. and i've 2 questions about running ahk in windows 7 due to changes in shell, etc
question 1:
i have a script based on one of the tray icon script found here but when the script is executed in windows 7, all the tray icons i set to hide are hidden correctly but with empty tray spaces left as below
before hiding
after hiding
although i know that i can delete the icons together with the empty spaces and restore them when my script exits, perhaps by reading the registry mentioned here, i have no idea how to store/retrieve all icon data especially which icon file (.ico) is used by a particular program. any idea?
question 2:
in server 2008 R2, both sleep and hibernate were removed from the shutdown menu, can i add it back to the menu with ahk?
thx a lot[/img]