Search found 32 matches
- 18 Apr 2024, 02:11
- Forum: Ask for Help (v2)
- Topic: Clipboard unvisible items
- Replies: 6
- Views: 137
Re: Clipboard unvisible items
My script is certain in v2 the #Requires AutoHotkey v2+ is on thet top of my script I was just typing it, i should copy it instead Eather way, if found an woraround I use the uIA function GetCurrentDocumentElement().DumpAll() and dump it all to an txt-file I read the line where the items are and use...
- 17 Apr 2024, 04:16
- Forum: Ask for Help (v2)
- Topic: Clipboard unvisible items
- Replies: 6
- Views: 137
Clipboard unvisible items
Hello I have a script that copies value to an array, the value is empty but if i want to test ii, he copied something although i can't see it and in the array there are "" It tested it with couple methods but non of them give me the answer to tell me that the value is empty I tried it with - UIIA (v...
- 27 Mar 2024, 07:27
- Forum: Ask for Help (v1)
- Topic: A_AhkPath icons
- Replies: 3
- Views: 124
A_AhkPath icons
Hello Is there a way to get the icons you can find in the variable %A_AhkPath% Here is my scriot Menu, Tray, Icon, Sus&pend`tCTRL + ESC / PAUSE, %A_AhkPath%, 5 ; red s of suspend I want to compile it and give it to a collegue who has no autohotkey installed, so my workaround is to first install the ...
- 11 Jan 2024, 05:13
- Forum: Ask for Help (v2)
- Topic: changing buttons messagebox dependending keyboard Topic is solved
- Replies: 14
- Views: 1699
Re: changing buttons messagebox dependending keyboard Topic is solved
RaptorX You are right that i want to DETECT my keyboard, but i want to know wich keyboard is currently active, so that my script changes the buttons-names depending of the current active keyboard i am using (qwerty or azerty) without duplicating the same script (one for qwerty and one for azerty) I...
- 14 Dec 2023, 04:18
- Forum: Ask for Help (v2)
- Topic: changing buttons messagebox dependending keyboard Topic is solved
- Replies: 14
- Views: 1699
Re: changing buttons messagebox dependending keyboard Topic is solved
this is fast code act as switch. #Requires AutoHotkey v2.0 #SingleInstance Force global switchKeyboard := 0 ; 1 != qwerty ; 1 = azerty ~LShift & LAlt::{ global switchKeyboard+=1 if switchKeyboard == 1{ /* your commands here for azerty */ MsgBox "azerty`nSwitch:" switchKeyboard } else{ /* your comma...
- 14 Dec 2023, 01:50
- Forum: Ask for Help (v2)
- Topic: changing buttons messagebox dependending keyboard Topic is solved
- Replies: 14
- Views: 1699
Re: changing buttons messagebox dependending keyboard Topic is solved
xMaxrayx below is an working script that renames the yes-button to "ja" and the no-button to "Nee" ; this is an working script SetTimer(ChangeButtonNames,50) msgResult := MsgBox("Klik op ja om verder te gaan, Klik nee om het programma te stoppen" , "Metadata of niet", 262148) ; yes to continue, no ...
- 13 Dec 2023, 09:50
- Forum: Ask for Help (v2)
- Topic: changing buttons messagebox dependending keyboard Topic is solved
- Replies: 14
- Views: 1699
Re: changing buttons messagebox dependending keyboard Topic is solved
so back to first question
Can Autohotkey detect wich keyboard you are using with your pc / laptop (in many cases will this be qwerty but in belgium is this more azerty)
Can Autohotkey detect wich keyboard you are using with your pc / laptop (in many cases will this be qwerty but in belgium is this more azerty)
- 13 Dec 2023, 09:44
- Forum: Ask for Help (v2)
- Topic: changing buttons messagebox dependending keyboard Topic is solved
- Replies: 14
- Views: 1699
Re: changing buttons messagebox dependending keyboard Topic is solved
RaptorX I know how to work with gui, I have a lot of them, but also with gui`s i would need 2 identical scripts one for qwerty-keyboard users and one for azerty- keyboard users If you look at my example it should be something like (but that is the thing i can`t get to work) ChangeButtonNames() { Se...
- 13 Dec 2023, 04:00
- Forum: Ask for Help (v2)
- Topic: changing buttons messagebox dependending keyboard Topic is solved
- Replies: 14
- Views: 1699
Re: changing buttons messagebox dependending keyboard Topic is solved
RaptorX about the continue, you are right, but actually that is not my question my question is that if i have an yes/no messagebox i would like to change the button-names depending the keyboard I am from belgium so we are using azerty-keyboards In the function ChangeButtonNames() i changed the name...
- 11 Dec 2023, 04:19
- Forum: Ask for Help (v2)
- Topic: changing buttons messagebox dependending keyboard Topic is solved
- Replies: 14
- Views: 1699
changing buttons messagebox dependending keyboard Topic is solved
Hello I`ve got a question about renaming an messagebox. But depending wich keyboard i`m using (qwerty or azerty), here an example SetTimer(ChangeButtonNames,50) msgResult := MsgBox("Klik op ja om verder te gaan, Klik nee om het programma te stoppen" , "Metadata of niet", 262148) ; yes to continue, n...
- 12 Oct 2023, 08:52
- Forum: Ask for Help (v2)
- Topic: Tooltip for buttons on a gui Topic is solved
- Replies: 7
- Views: 686
Re: Tooltip for buttons on a gui Topic is solved
@teadrinker thanks a lot it works perfect now
- 12 Oct 2023, 07:46
- Forum: Ask for Help (v2)
- Topic: Tooltip for buttons on a gui Topic is solved
- Replies: 7
- Views: 686
Re: Tooltip for buttons on a gui Topic is solved
i had modified it a little bit
I found the error and nit work now
if i add a button3 and 4 how do i add them as well to the function?
I found the error and nit work now
if i add a button3 and 4 how do i add them as well to the function?
- 12 Oct 2023, 06:56
- Forum: Ask for Help (v2)
- Topic: Tooltip for buttons on a gui Topic is solved
- Replies: 7
- Views: 686
Re: Tooltip for buttons on a gui Topic is solved
@teadrinker
Thanks a lot,
1. I get unfortunality an error " This value of type "String" has no property named "hwnd"."
it has to do with " if msg = WM_MOUSEMOVE && !onButtonHover && (button1.hwnd = hwnd || button2.hwnd = hwnd)"
2 How do i modify it when i want to make another button?
Thanks
Thanks a lot,
1. I get unfortunality an error " This value of type "String" has no property named "hwnd"."
it has to do with " if msg = WM_MOUSEMOVE && !onButtonHover && (button1.hwnd = hwnd || button2.hwnd = hwnd)"
2 How do i modify it when i want to make another button?
Thanks
- 12 Oct 2023, 03:40
- Forum: Ask for Help (v2)
- Topic: Tooltip for buttons on a gui Topic is solved
- Replies: 7
- Views: 686
Tooltip for buttons on a gui Topic is solved
I have a gui when i hover my mouse i can have an tooltip to say that it is also possible to fire the button with a certain shortcut it works on v1 but i can`t figure it out how to change it in an v2 syntax first i have this function Help(wParam, lParam, Msg) { MouseGetPos,,,, OutputVarControl IfEqua...
- 02 Oct 2023, 02:16
- Forum: Scripts and Functions (v2)
- Topic: UIA v2
- Replies: 362
- Views: 49434
Re: UIA v2
@elbitjusticiero, both UIA and Acc are based on the same technology so I'm not surprised Acc doesn't work. By "it doesn't work in my machine" do you mean you have determined that rssGuardEl["RRQRQRQNZ"].Highlight() doesn't highlight the Title part of the article list treeview and rssGuardEl["RRQRQR...
- 30 Sep 2023, 15:12
- Forum: Scripts and Functions (v2)
- Topic: UIA v2
- Replies: 362
- Views: 49434
Re: UIA v2
Hello I am also using Edge with this fantastic library. But i get also thé error comcall () I did a workaround with thé dumpall function and fileappend it to an text-file Then search the info i need and split thé file in different other file if necessary.. With arrays and for loops it kind works Des...
- 20 Jun 2023, 04:28
- Forum: Ask for Help (v2)
- Topic: How can i call same code with button and hotkey Topic is solved
- Replies: 6
- Views: 427
Re: How can i call same code with button and hotkey Topic is solved
mikeyww What can you do with the parameter "info" in the go_click ?(see below) #Requires AutoHotkey v2.0 gui1 := Gui() gui1.SetFont('s10') gui1.AddButton('w230 Default', 'Go').OnEvent('Click', go_Click) gui1.Show F3::go(ThisHotkey) go_Click(btn, info) { go(btn.Text) } go(txt) { MsgBox txt }
- 20 Jun 2023, 01:33
- Forum: Ask for Help (v2)
- Topic: How can i call same code with button and hotkey Topic is solved
- Replies: 6
- Views: 427
Re: How can i call same code with button and hotkey Topic is solved
@mikeyww
Thanks a lot,
you are my time-saver
Thanks a lot,
you are my time-saver
- 18 Jun 2023, 07:39
- Forum: Ask for Help (v2)
- Topic: How can i call same code with button and hotkey Topic is solved
- Replies: 6
- Views: 427
Re: How can i call same code with button and hotkey Topic is solved
Thanks WarlordAkamu67 But I think that isn't what i'm looking for I made some code in v1 to illustrate. The question is how can i convert it to v2-code without duplicating the code Gui, add, Button, w100 h30 gEVENT_BTNSayHello, &Say Hello Gui, add, Button, w100 h30 gEVENT_BTNReload, &Restart Gui, ad...
- 16 Jun 2023, 08:45
- Forum: Ask for Help (v2)
- Topic: How can i call same code with button and hotkey Topic is solved
- Replies: 6
- Views: 427
How can i call same code with button and hotkey Topic is solved
Hello In v1 you could use code more than one time 9see example) the code could be fired by typing nummers or pressing an button in an gui :T:,nummers:: EVENT_Numpads: zendNumpad("Numpad0::") zendNumpad("NumpadDot::") zendNumpad("Numpad1::") zendNumpad("Numpad2::") zendNumpad("Numpad3::") zendNumpad(...