Search found 73 matches

by Noo0B
19 Feb 2018, 18:19
Forum: Ask For Help
Topic: Not so Difficult Logic Question Topic is solved
Replies: 2
Views: 334

Not so Difficult Logic Question Topic is solved

Hi, I´m having this problem with 2 or more hotkeys sharing the same hotkey type. Write 2 at the first gui for the error: #SingleInstance, force GuiWidth:= 210 GuiHeight:= 100 Gui, Add, Text, x50 y33 w120 h26, Hotkeys Gui, Add, Edit, x10 y30 w30 h21 vHotkeyLimit, %HotkeyLimit% Gui, Add, Button, x10 y...
by Noo0B
19 Feb 2018, 13:47
Forum: Ask For Help
Topic: Read Write syntax with concatenated Variable Inside Topic is solved
Replies: 4
Views: 391

Re: Read Write syntax with concatenated Variable Inside Topic is solved

I got a partial fix. All write codes are correct, but since the read part is inside a sub called by a loop with N+=1 at the end It doesn't +=1, but the write part is on the next sub which in turn happens after the previous sub is completed therefore triggering the initial loop to proceed and add the...
by Noo0B
19 Feb 2018, 11:52
Forum: Ask For Help
Topic: Read Write syntax with concatenated Variable Inside Topic is solved
Replies: 4
Views: 391

Re: Read Write syntax with concatenated Variable Inside Topic is solved

Actually they are both writing wrongly, Its the case that 2 wrongs make a right. The first example only appeared right because it wasn't reading from the ini file :)
Tanks and regards!
by Noo0B
19 Feb 2018, 10:41
Forum: Ask For Help
Topic: Read Write syntax with concatenated Variable Inside Topic is solved
Replies: 4
Views: 391

Read Write syntax with concatenated Variable Inside Topic is solved

Hi, This Code Works: Gui, Add, Edit, X50 Y%Y2% H21 W130 vHKeyNS%TrigN2%, % HKeyNS%TrigN2% IniWrite, % HKeyNS%TrigN2%, Config2.ini, Triggered, HKeyNS%TrigN2% And This one doesn´t: IniRead, HKey%N%S1, Config2.ini, Hotkeys, HKey%N%S1 IniRead, HKey%N%S2, Config2.ini, Hotkeys, HKey%N%S2 Gui, Add, Edit, X...
by Noo0B
17 Feb 2018, 21:45
Forum: Ask For Help
Topic: checkbox toggle Recall With complex variable Topic is solved
Replies: 2
Views: 281

checkbox toggle Recall With complex variable Topic is solved

This code isn´t working although Gui, Add, Edit, X30 Y%Y2% H21 W130 vName%GuiN%, % Name%GuiN% IniWrite, % Name%GuiN%, Config2.ini, Names, Name%GuiN% kind of variable syntax works elsewhere in the script. Here´s the broken code: IniRead, IconToggle%GuiN%, Config2.ini, IconToggle, IconToggle%GuiN% Gui...
by Noo0B
17 Feb 2018, 19:21
Forum: Ask For Help
Topic: Help with loop defining Gui Topic is solved
Replies: 5
Views: 431

Re: Help with loop defining Gui Topic is solved

I just thought of that a second ago! It makes sence since I ouldn´t find anything that worked to export those values outside the loop. It makes sense since AHK is single threaded. Gui, Add, Edit, % "X200 Y" GuiY " H21 W21 vLine" GuiN, % Line%GuiN% should be like this: Gui, Add, Edit, X200 Y65 H21 W2...
by Noo0B
17 Feb 2018, 17:24
Forum: Ask For Help
Topic: Help with loop defining Gui Topic is solved
Replies: 5
Views: 431

Re: Script Auto edit Topic is solved

I did this: Gui, Add, Checkbox, X0 Y8 vIconToggle1 Gui, Add, Checkbox, X0 Y38 vIconToggle2 Gui, Add, Checkbox, X0 Y68 vIconToggle3 Gui, Add, Checkbox, X0 Y98 vIconToggle4 Gui, Add, Checkbox, X0 Y128 vIconToggle5 Gui, Add, Checkbox, X0 Y158 vIconToggle6 Gui, Add, Checkbox, X0 Y188 vIconToggle7 Gui, A...
by Noo0B
17 Feb 2018, 14:27
Forum: Ask For Help
Topic: Help with loop defining Gui Topic is solved
Replies: 5
Views: 431

Re: Script Auto edit Topic is solved

Maybe I should stick with a predetermined amount of entries on the gui and the script?
by Noo0B
17 Feb 2018, 14:08
Forum: Ask For Help
Topic: Help with loop defining Gui Topic is solved
Replies: 5
Views: 431

Help with loop defining Gui Topic is solved

I want to make a script with a gui that autoupdates itself. Anyone ever tried that? I thought about reading the vairables from the ini file. then a gui with a variable with the number of lines in the program and how many to add. Then another gui with that amount of checkboxes, with these variables f...
by Noo0B
16 Feb 2018, 05:50
Forum: Ask For Help
Topic: Help with Loop Variables Topic is solved
Replies: 3
Views: 317

Re: [SOLVED] Help with Variables Topic is solved

Code: Select all

If (N = 2 OR N = 4)
Did it!
Regards
by Noo0B
16 Feb 2018, 05:24
Forum: Ask For Help
Topic: Help with Loop Variables Topic is solved
Replies: 3
Views: 317

Re: Help with Variables Topic is solved

I did this RCtrl & F8:: N:=1 GoSub Sub1 Return RCtrl & F7:: N:= 2 GoSub Sub1 Return Sub1 : var%N% Code; I had to add %N% since it would not store a temporary variable to be used in sub2 then redo it with a different N index. Would crash the script on hotkey activation. ; Goes to Sub2 Sub2: Code If (...
by Noo0B
16 Feb 2018, 04:10
Forum: Ask For Help
Topic: Help with Loop Variables Topic is solved
Replies: 3
Views: 317

Help with Loop Variables Topic is solved

RCtrl & F8:: N:=1 GoSub Sub1 Return RCtrl & F7:: N:= 2 GoSub Sub1 If %N% = 3 { ; doesn´t get past here GoSub Sub1 } Return Sub1 : var%N% Code; I had to add %N% since it would not store a temporary variable to be used in sub2 then redo it with a different N index. Would crash the script on hotkey ac...

Go to advanced search