LWC Posted August 15, 2010 Share Posted August 15, 2010 (edited) Do you know how to take an INI file, that has general style settings plus definitions for specific clickable buttons, and base a menu on it? Thanks! Edited August 15, 2010 by LWC Link to comment Share on other sites More sharing options...
eltorro Posted August 15, 2010 Share Posted August 15, 2010 Do you know how to take an INI file, that has general style settings plus definitions for specific clickable buttons, and base a menu on it?Thanks!Do you have a sample of what your ini file would should be? Regards, [indent]ElTorro[/indent][font="Book"] Decide, Commit, Achieve[/font]_ConfigIO.au3Language Translation --uses Google(tm) MsgBox Move XML wrapper UDF XML2TreeView Zip functionality Split your GUI Save Print ScreenZipPluginEdit In Place listviewSome of my scripts on Google code Link to comment Share on other sites More sharing options...
LWC Posted August 16, 2010 Author Share Posted August 16, 2010 (edited) [Something unrelated] foo=bar [CUSTOM MENU]; Those are just optional. Otherwise, defaults are used relief=flat ;can be <raised, sunken, flat, ridge, solid, groove> overrelief=raised ;can be <raised, sunken, flat, ridge, solid, groove> font=helvetica 10 bold buttoncolor=#fefee0 menucolor=white buttonwidth=50 titletext=My Menu [BUTTON] ;can also be [BUTTON1] but doesn't have to buttontext=Notepad 1 relativepathandfilename=%USERPROFILE%\My Documents\foobar.txt optionalcommandlineparams= closemenuonclick=1; this means the menu would close upon clicking this button [BUTTON] ;can also be [BUTTON2] but doesn't have to buttontext=Notepad 2 relativepathandfilename=foobar.txt optionalcommandlineparams= closemenuonclick=0; this means the menu would still remain open programpath=%USERPROFILE%\My Documents [BUTTON] ; can also be [BUTTON3] but doesn't have to buttontext=Windows Media Player relativepathandfilename=%programfiles%\Windows Media Player\wmplayer.exe optionalcommandlineparams= closemenuonclick=1 The actual menu would have a list of clickable buttons: My Menu [Notepad 1] [Notepad 2] [Windows Media Player] Edited August 16, 2010 by LWC Link to comment Share on other sites More sharing options...
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