Josbe Posted April 3, 2004 Share Posted April 3, 2004 I fix my problem, with EDIT. (Using the own functions of AutoIT-GUI) Really, is useful. @jpm, a question: What about the GUIHide() in the docs? I don't see in the Index? (v102.15) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
jpm Posted April 3, 2004 Author Share Posted April 3, 2004 I fix my problem, with EDIT. (Using the own functions of AutoIT-GUI) Really, is useful. @jpm, a question:What about the GUIHide() in the docs? I don't see in the Index? (v102.15)Guess what I never write the doc on it.I remember at a time I didn't want to include thtis function. It can be a freundian non writing.I will correct for next version.Can you tell me how to update the index with gui function?Thanks for all Link to comment Share on other sites More sharing options...
CyberSlug Posted April 3, 2004 Share Posted April 3, 2004 Can you tell me how to update the index with gui function?JdeB probably has a script that could this. Otherwise, you have to add it manually to the HTML Help workshop file....P.S. You should change the title tag for the summary GUI Reference page. It is currently "<title>Language Reference - Datatypes</title>" Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2004 Developers Share Posted April 3, 2004 JPM, Jon runs 2 scripts to generate and update the index. 1. gen_index.au3 that picks up all stuff from the HTM file and puts it into the Index. 2.gen_include_help_and_update_index.au3 included the UDF in the index. just run them in that sequence and compile the helpfile. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2004 Developers Share Posted April 3, 2004 JP, When coding the tidy setup menu i came across a situation that AutoIt crashed. I made a logic error because i did a GuiRead() after i had done a GuiDelete(), but i think it should not crash. I have tried to simplify the script down to something to test with. This script just stops after clicking "Save Settings", no msgbox is shown at all: Opt("GUICoordMode",1) GuiCreate("test", 400, 300, 300, 300) Global $I_LNK = GuiSetControl("checkbox", "- test.", 20, 200, 370, 20) GuiSetControl("button", "Save Settings", 160, 260, 80, 20) GuiSetControlEx($I_LNK,1) GuiMsg() GuiDelete() While GuiWaitClose() > 0 Sleep(10) Wend If GuiRead($I_LNK) Then Msgbox(0,'test 1','Selected' & GuiRead($I_LNK)) Else Msgbox(0,'test 2','Not Selected') endIf Msgbox(0,'test 3','Done') And this version just shows the "test 3" msgbox.. Opt("GUICoordMode",1) GuiCreate("test", 400, 300, 300, 300) Global $I_LNK = GuiSetControl("checkbox", "- test.", 20, 200, 370, 20) GuiSetControl("button", "Save Settings", 160, 260, 80, 20) GuiSetControlEx($I_LNK,1) GuiMsg() GuiDelete() While GuiWaitClose() > 0 Sleep(10) Wend Msgbox(0,'test 1','Selected' & GuiRead($I_LNK)) Msgbox(0,'test 3','Done') exit SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jpm Posted April 3, 2004 Author Share Posted April 3, 2004 @JdeB obviously it should not crash. I Will fix Link to comment Share on other sites More sharing options...
jpm Posted April 3, 2004 Author Share Posted April 3, 2004 JPM, Jon runs 2 scripts to generate and update the index.1. gen_index.au3 that picks up all stuff from the HTM file and puts it into the Index. 2.gen_include_help_and_update_index.au3 included the UDF in the index.just run them in that sequence and compile the helpfile.THanks I will next time Link to comment Share on other sites More sharing options...
Josbe Posted April 3, 2004 Share Posted April 3, 2004 Talking about the help file. The last time I saw in the GUISetControlEx example (example1), a very little mistake in:GUISetControlEx(-1,2$GUI_FOCUS)instad of:GUISetControlEx(-1,2,$GUI_FOCUS)a comma. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
jpm Posted April 4, 2004 Author Share Posted April 4, 2004 Talking about the help file. The last time I saw in the GUISetControlEx example (example1), a very little mistake in: GUISetControlEx(-1,2$GUI_FOCUS) instad of: GUISetControlEx(-1,2,$GUI_FOCUS) a comma. Thanks I will update. I am not assuming it is the only one due my poor english and my poor 2-4 finger typing 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