| Author |
Message |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Thu Jul 24, 2008 6:23 am Subject: Noob ini and GUI menu togglecheck problem |
mmm, was trying to avoid that, some of the users need help turning their PC on . Not to worry, just a neatness thing, I was hoping to get the main folder down to the main ahk and the preference ... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Thu Jul 24, 2008 5:44 am Subject: Noob ini and GUI menu togglecheck problem |
| I went through and cut pasted a whole heap of stuff and it's started working. I recently started to use the #includes method with another folder- perhaps in that process I misplaced the juncture of on ... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Thu Jul 24, 2008 5:15 am Subject: Noob ini and GUI menu togglecheck problem |
| I do have menu's in the working script, just without checkboxes in them. I know that sounds completely irrelevant but I really can't see any difference in these two scripts... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Thu Jul 24, 2008 4:50 am Subject: Noob ini and GUI menu togglecheck problem |
If you are using relative coordinates for the MouseMove, then if the Menu is active at the time that might cause problems... Although the mouse should still move, just maybe not to the right place.
... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Thu Jul 24, 2008 4:27 am Subject: Noob ini and GUI menu togglecheck problem |
I now have more menu's than a large restaurant . But I am still having this mouseover problem. My script has an 'includes' folder and the part with the mouseover is in an ahk there. Now the fu ... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Tue Jul 22, 2008 10:26 am Subject: Noob ini and GUI menu togglecheck problem |
Fair enough, that explains a whole lot about the errors I make . Got a lot to think over, thanks for your help once again. |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Tue Jul 22, 2008 7:41 am Subject: Noob ini and GUI menu togglecheck problem |
| Fantastic, got it working. Two remaining problems. It is not writing 0 to the ini if it is unchecked on exit but I'm not sure how to do that with this in the script - Checkbox := !Checkbox, do I need ... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Tue Jul 22, 2008 6:19 am Subject: Noob ini and GUI menu togglecheck problem |
Perhaps I should clarify the state of my dimentia
ini state, if it's 1 I want to checkbox to start off checked
[default]
Checkbox=1
------------------------------------- ... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Tue Jul 22, 2008 5:52 am Subject: Noob ini and GUI menu togglecheck problem |
If checkbox is the original reading (1 or 0) from the ini- how do I associate the ticking on and off from &MenuItem with MyFunction and to give me a value to write back to the ini on exit?
Per ... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Tue Jul 22, 2008 4:11 am Subject: Noob ini and GUI menu togglecheck problem |
CheckBox=1
Menu, MyMenu, Add, &MenuItem, ToggleState
Menu, MenuBar, Add, &FirstMenu, :MyMenu
Gui, Menu, MenuBar
Gui, Show, w300 h300
Menu, MyMenu, % (CheckBox) ? " ... |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Mon Jul 21, 2008 3:58 am Subject: Noob ini and GUI menu togglecheck problem |
I was doing it each time and it would only switch once. I thought I had seen that in a script searching one day. Thanks again, you've been a great help  |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Sun Jul 20, 2008 6:23 pm Subject: Noob ini and GUI menu togglecheck problem |
| Do you have the function read it's original state from the ini, and after that from the toggling and then just rewrite the ini as you exit or do you change the ini with every toggle? |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Sun Jul 20, 2008 1:43 pm Subject: Noob ini and GUI menu togglecheck problem |
I like that way of doing things, I'll study up on that  |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Sun Jul 20, 2008 12:00 pm Subject: Noob ini and GUI menu togglecheck problem |
Thanks very much. Wow, never done anything like that, will give me plenty to think about. Really appreciate your help  |
Topic: Noob ini and GUI menu togglecheck problem |
Logman
Replies: 23
Views: 318
|
Forum: Ask for Help Posted: Sun Jul 20, 2008 8:11 am Subject: Noob ini and GUI menu togglecheck problem |
Hi,
I'm having trouble attaching my GUI menu checkbox to a default ini state and to a function and then to write and save changes in the checkbox state to the ini and of course to alter the functio ... |
| |