Search found 40 matches

by Naitsirk
17 May 2023, 04:44
Forum: Ask for Help (v2)
Topic: Converting menu scrip to v2
Replies: 1
Views: 281

Converting menu scrip to v2

Hi all. I previously had help to make this menu bar for version 1.1: for x,y in z := ["Test1","Test2","Test3","Test4","Test5","Test6","Test","Test7","Test8","Test9","Test10","Test11"] Menu, scripts, Add, %y%, Execute, % !mod(x - 1,6) ? (x= 1 ? "" : "+barbreak") : "" ; the 3 in here is the number of ...
by Naitsirk
15 Feb 2023, 05:17
Forum: Ask for Help (v1)
Topic: Assign value to drop down choice Topic is solved
Replies: 1
Views: 280

Assign value to drop down choice Topic is solved

Hi, I am trying to create a GUI which has a down down list with a range of choices. I need to script to assign a mail address to each choice, which is needed further "down the road".. Been reading about assigning a glabel to the drop down, but somehow its not working.. When running the GUI and selec...
by Naitsirk
12 Dec 2022, 11:03
Forum: Ask for Help (v1)
Topic: Two questions regarding GUI
Replies: 7
Views: 303

Re: Two questions regarding GUI

Gui, Font, s10 Gui, Add, Text , w170 , Type: Gui, Add, DropDownList, x+m wp vType , 1|2| Gui, Add, Text , xm wp , Data correct: Gui, Add, DropDownList, x+m wp vData , Yes|No| Gui, Add, Text , xm wp , Payment date: Gui, Add, Text , x+m wp , Serial number: Gui, Add, Edit , xm wp vDate , DD-MM-YY Gui,...
by Naitsirk
12 Dec 2022, 10:46
Forum: Ask for Help (v1)
Topic: Two questions regarding GUI
Replies: 7
Views: 303

Re: Two questions regarding GUI

Gui, 2:Destroy Gui, 2:Add, Text, w170, Type: Gui, 2:Add, DropDownList, x+m w168 vType, 1|2| Gui, 2:Add, Text, xm w170, Data correct: Gui, 2:Add, DropDownList, x+m w168 vData, Yes|No| Gui, 2:Add, Text, xm, Payment date: Gui, 2:Add, Edit, w170 vDate, DD-MM-YY Gui, 2:Add, Text, x+m w170, Serial number...
by Naitsirk
12 Dec 2022, 10:21
Forum: Ask for Help (v1)
Topic: Two questions regarding GUI
Replies: 7
Views: 303

Re: Two questions regarding GUI

mikeyww wrote:
12 Dec 2022, 10:08
You would need to provide step #1.
Draw a picture of the desired GUI.
Hope I understand you corretly :)
GUI.png
GUI.png (9.04 KiB) Viewed 266 times
Like this..
by Naitsirk
12 Dec 2022, 10:06
Forum: Ask for Help (v1)
Topic: Two questions regarding GUI
Replies: 7
Views: 303

Re: Two questions regarding GUI

Hello, You can position controls where you want them. https://www.autohotkey.com/docs/commands/Gui.htm#PosSize I think that the tabbing works in order of the controls (you can test). You can use x+m to position a control to the right of the previous one. If you draw a picture of the desired GUI for...
by Naitsirk
12 Dec 2022, 09:51
Forum: Ask for Help (v1)
Topic: Two questions regarding GUI
Replies: 7
Views: 303

Two questions regarding GUI

Gui, 2:Destroy Gui, 2:Add, Text,, Payment date: Gui, 2:Add, Edit, xm w170 vDate, DD-MM-YY Gui, 2:Add, Text, xm w170, Serial number: Gui, 2:Add, Edit, xm w170 vSer, Input serial number Gui, 2:Add, Text, xm w170, Created date: Gui, 2:Add, Edit, xm w170 vDate1, DD-MM-YY Gui, 2:Add, Text, ym Section, P...
by Naitsirk
07 Dec 2022, 14:55
Forum: Ask for Help (v1)
Topic: GUI help needed Topic is solved
Replies: 8
Views: 578

Re: GUI help needed Topic is solved

Yeah I got it. But is better (at least to me) to create one gui and insert it's controls diferently based on the gender (this is the idea of switch). With my logic you have 3 gui's to work with (first=initial gui ,second=gender selection ,third=coolness? selection ) Using the switch you can do your...
by Naitsirk
07 Dec 2022, 13:45
Forum: Ask for Help (v1)
Topic: GUI help needed Topic is solved
Replies: 8
Views: 578

Re: GUI help needed Topic is solved

From what I can see your code is doing some weird jumps because of the placement of the return and g-label (label need to be out of the block). ... return } GuiClose: ;This is a g-label ButtonOK: ;This is a g-label Gui, Submit Here a different aproach, to the same 3 gui workflow (with less repeated...
by Naitsirk
07 Dec 2022, 09:18
Forum: Ask for Help (v1)
Topic: GUI help needed Topic is solved
Replies: 8
Views: 578

Re: GUI help needed Topic is solved

mikeyww wrote:
07 Dec 2022, 09:11
You quoted your literal strings in other expressions but not there. Why the difference?
Sorry, I dont understand what you mean?
by Naitsirk
07 Dec 2022, 09:06
Forum: Ask for Help (v1)
Topic: GUI help needed Topic is solved
Replies: 8
Views: 578

GUI help needed Topic is solved

In my use of Autohotkey, we use Autohotkey for gathering certain informations. I know how to set up a GUI, which responds to the users input. For instance this very basic one: Sleep, 250 Gui, Destroy Gui, Add, Text,, Age Gui, Add, Edit, vAge, Gui, Add, Text,, Gender: Gui, Add, DropDownList, vGender,...
by Naitsirk
11 Oct 2022, 10:57
Forum: Ask for Help (v1)
Topic: "Adaptive" GUI help needed Topic is solved
Replies: 2
Views: 194

Re: "Adaptive" GUI help needed Topic is solved

Follow the script line by line, one line at a time, to see what it does. ExitApp makes the entire script exit. Ideas: Gui, Add, Text,, Question 1: Gui, Add, DropDownList, ym vQ1, A|B| Gui, Add, Button, default, OK Gui, Show,, Test Return GuiClose: ButtonOK: Gui, Submit note(1, Q1) If (Q1 = "A") { G...
by Naitsirk
11 Oct 2022, 10:25
Forum: Ask for Help (v1)
Topic: "Adaptive" GUI help needed Topic is solved
Replies: 2
Views: 194

"Adaptive" GUI help needed Topic is solved

A bit of background info. I've created several GUI's which helps the user collect certain info, which is gathered in a notepad for copying into a case handling system. So far the user has been given two options, and either choice would open a differen GUI, and the each GUI would ask different questi...
by Naitsirk
28 Sep 2022, 13:22
Forum: Ask for Help (v1)
Topic: GUI > Position of edit field Topic is solved
Replies: 14
Views: 1202

Re: GUI > Position of edit field Topic is solved

Gui, 2:Destroy Gui, 2:Add, Text,, Afrejsedato Gui, 2:Add, MonthCal, vMyCalendar Gui, 2:Add, Text, ym Section, Hjemrejsedato Gui, 2:Add, MonthCal, vMyCalendar1 Gui, 2:Add, Text, xm y+10 w60, Fra lufthavn: Gui, 2:Add, Edit, x+m vPR1 Gui, 2:Add, Text, xm y+10 w60, Til lufthavn: Gui, 2:Add, Edit, x+m v...
by Naitsirk
28 Sep 2022, 09:05
Forum: Ask for Help (v1)
Topic: GUI > Position of edit field Topic is solved
Replies: 14
Views: 1202

Re: GUI > Position of edit field Topic is solved

I really hope there is an easy way around this without have to put in coordinates. Impossible with any coordinates. But just add x+3 like so: Gui, 2:Add, Edit, x+3 vPR1 Dude, as always, thanks. This sorta did the trick, but something is off: Gui, 2:Destroy Gui, 2:Add, Text,, Afrejsedato Gui, 2:Add,...
by Naitsirk
28 Sep 2022, 09:00
Forum: Ask for Help (v1)
Topic: GUI > Position of edit field Topic is solved
Replies: 14
Views: 1202

Re: GUI > Position of edit field Topic is solved

@mikeyww works fine , here I added complicated always x y w h @Naitsirk here I used always x y w h ( with percent calculation , depending screensize , Example x:=(wa*50)/xx means x-position from GUI should be in the middle of screen or just can add , as example : Gui,add,button ,x100 y200 w100 h30 ...
by Naitsirk
28 Sep 2022, 08:24
Forum: Ask for Help (v1)
Topic: GUI > Position of edit field Topic is solved
Replies: 14
Views: 1202

Re: GUI > Position of edit field Topic is solved

Gui, Add, Text , ym+2 , Booking type: Gui, Add, DropDownList, ym w155 vPm , Pakkerejse|Flybillet Gui, Add, Button , xm w230 Default , OK Gui, 2:Add, Text , , Afrejsedato Gui, 2:Add, MonthCal , vMyCalendar Gui, 2:Add, Text , ym Section , Hjemrejsedato Gui, 2:Add, MonthCal , vMyCalendar1 Gui, 2:Add, ...
by Naitsirk
28 Sep 2022, 05:20
Forum: Ask for Help (v1)
Topic: GUI > Position of edit field Topic is solved
Replies: 14
Views: 1202

GUI > Position of edit field Topic is solved

I am trying to make a quite simple GUI to gather some information. My skills in this are very basic, so I've relied much on help in this forum, guides and trial and error. In this script in gui 2, I just cant seem to be able to place the Gui, 2:Add, Edit, vPR1 next to "Fra lufthavn". It's always pla...
by Naitsirk
27 Sep 2022, 15:17
Forum: Ask for Help (v1)
Topic: Multible gui's in same script issue Topic is solved
Replies: 2
Views: 375

Re: Multible gui's in same script issue Topic is solved

Smile_ wrote:
27 Sep 2022, 15:15
Do:
2GuiClose:
2ButtonOK:


Instead of:
2:GuiClose:
2:ButtonOK:


and :
3GuiClose:
3ButtonOK:


Instead of :
3:GuiClose:
3:ButtonOK:
Thank you SO much... it worked! :bravo:
by Naitsirk
27 Sep 2022, 15:02
Forum: Ask for Help (v1)
Topic: Multible gui's in same script issue Topic is solved
Replies: 2
Views: 375

Multible gui's in same script issue Topic is solved

I am trying to make a gui, where the choice of the user will activate another gui. Have to be very honest and say that I am no big coder... When applying this code: ^2:: Sleep, 250 Gui, Destroy Gui, Add, Text,, Hair color: Gui, Add, DropDownList, ym vPm, White|Grey| Gui, Add, Button, default, OK ; T...

Go to advanced search