Tiger Posted July 5, 2008 Posted July 5, 2008 (edited) I would like to program a traymenu with icons. Can everyone help me AutoIt Version: 3.2.8.1 Edited July 5, 2008 by Tiger My UDFs:- _RegEnumKey
AdmiralAlkex Posted July 5, 2008 Posted July 5, 2008 I would like to program a traymenu with icons. Can everybody help meAutoIt Version: 3.2.8.1Everybody?? muttley .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
TehWhale Posted July 5, 2008 Posted July 5, 2008 I would like to program a traymenu with icons. Can everyone help meAutoIt Version: 3.2.8.1Aren't you using a little outdated version there?
nobbe Posted July 5, 2008 Posted July 5, 2008 there - but i am not everybodyhttp://www.autoitscript.com/forum/index.ph...amp;hl=traymenu
Tiger Posted July 5, 2008 Author Posted July 5, 2008 (edited) There are still no icons in the traymenu #include "ModernMenu.au3" $coffee = TrayCreateItem("Coffee") _TrayItemSetIcon($coffee, @ScriptDir & "\coffee.ico") While 1 Sleep(500) WEnd Edited July 5, 2008 by Tiger My UDFs:- _RegEnumKey
TehWhale Posted July 5, 2008 Posted July 5, 2008 There are still no icons in the traymenu #include "ModernMenu.au3" $coffee = TrayCreateItem("Coffee") _TrayItemSetIcon($coffee, @ScriptDir & "\coffee.ico") While 1 Sleep(500) WEnd I believe there is examples that came with that UDF.
Tiger Posted July 5, 2008 Author Posted July 5, 2008 The example returns errors My UDFs:- _RegEnumKey
Tiger Posted July 5, 2008 Author Posted July 5, 2008 can everyone help me my script #include "ModernMenu.au3" $coffee = TrayCreateItem("Coffee") _TrayItemSetIcon($coffee, @ScriptDir & "\coffee.ico") While 1 Sleep(500) WEnd My UDFs:- _RegEnumKey
Dougiefresh Posted July 5, 2008 Posted July 5, 2008 You're missing the _TrayIconSetState() command before you start the loop.
Tiger Posted July 5, 2008 Author Posted July 5, 2008 ok thanks, but there is still no icon in the traymenu My UDFs:- _RegEnumKey
Tiger Posted July 7, 2008 Author Posted July 7, 2008 This is my script: Opt("TrayIconDebug", 0) Opt("TrayMenuMode", 1) Opt("TrayOnEventMode", 1) #include <GUIConstants.au3> #include "ModernMenu.au3" $TrayAbout = _TrayCreateItem(0, "About") _TrayItemSetIcon(-1, "shell32.dll", 23) TrayCreateItem("Beenden") TrayItemSetOnEvent(-1, "_close") Func _close() Exit EndFunc ;==>_close While 1 sleep(500) WEnd My UDFs:- _RegEnumKey
Tiger Posted July 7, 2008 Author Posted July 7, 2008 Can everyone help me, please My UDFs:- _RegEnumKey
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now