Search found 36 matches

by roeleboele
28 May 2024, 01:09
Forum: Ask for Help (v2)
Topic: Pause and suspend with one key Topic is solved
Replies: 4
Views: 305

Re: Pause and suspend with one key Topic is solved

Is there a way to get the tray icon from v1 to a file (the red "S"-icon) like this in v1 code Menu, Tray, Icon, Sus&pend`tCTRL + ESC / PAUSE, %A_AhkPath%, 5 ; suspend icon ahk v1 and converted to v2 but then i get an "H" Tray.SetIcon("Sus&pend`tCTRL + ESC / PAUSE",A_AhkPath,"5") ; suspend icon ahk v...
by roeleboele
27 May 2024, 10:07
Forum: Ask for Help (v2)
Topic: Pause and suspend with one key Topic is solved
Replies: 4
Views: 305

Re: Pause and suspend with one key Topic is solved

Hallo, pause and suspend with one (Hot)key on/off: try: #Requires AutoHotkey v2.0 #SuspendExempt ^ESC::Suspend(), Pause(-1) ; Pause and suspend on/off with CTRL + ESC #SuspendExempt False Thanks a lot For completion i changed it a little bit so the suspend menu in the tray is checked or unchecked ^...
by roeleboele
27 May 2024, 07:49
Forum: Ask for Help (v2)
Topic: Pause and suspend with one key Topic is solved
Replies: 4
Views: 305

Pause and suspend with one key Topic is solved

hello I 've seen in some documentation that you can't toggle the pause and suspend key anymore in v2 Is there an woraround for this ? I have an tray-menu where there are some functionalities but when i press "Pause" or CTRL + esc i want to suspend and pause my script and change the tray-icon to the ...
by roeleboele
08 May 2024, 04:36
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 389
Views: 61126

Re: UIA v2

Hello I've got a question about the uia I am loving it but i would like to use an variable to activate an button for example titelEdge := WinGetTitle("A") msedgeEL:= UIA.ElementFromHandle(titelEdge " ahk_exe msedge.exe") NaamKlikken := arr[A_index][1] msedgeEL.FindElement({Name: NaamKlikken , Locali...
by roeleboele
18 Apr 2024, 02:11
Forum: Ask for Help (v2)
Topic: Clipboard unvisible items
Replies: 6
Views: 225

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...
by roeleboele
17 Apr 2024, 04:16
Forum: Ask for Help (v2)
Topic: Clipboard unvisible items
Replies: 6
Views: 225

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...
by roeleboele
27 Mar 2024, 07:27
Forum: Ask for Help (v1)
Topic: A_AhkPath icons
Replies: 3
Views: 139

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 ...
by roeleboele
11 Jan 2024, 05:13
Forum: Ask for Help (v2)
Topic: changing buttons messagebox dependending keyboard Topic is solved
Replies: 14
Views: 1774

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...
by roeleboele
14 Dec 2023, 04:18
Forum: Ask for Help (v2)
Topic: changing buttons messagebox dependending keyboard Topic is solved
Replies: 14
Views: 1774

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...
by roeleboele
14 Dec 2023, 01:50
Forum: Ask for Help (v2)
Topic: changing buttons messagebox dependending keyboard Topic is solved
Replies: 14
Views: 1774

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 ...
by roeleboele
13 Dec 2023, 09:50
Forum: Ask for Help (v2)
Topic: changing buttons messagebox dependending keyboard Topic is solved
Replies: 14
Views: 1774

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)
by roeleboele
13 Dec 2023, 09:44
Forum: Ask for Help (v2)
Topic: changing buttons messagebox dependending keyboard Topic is solved
Replies: 14
Views: 1774

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...
by roeleboele
13 Dec 2023, 04:00
Forum: Ask for Help (v2)
Topic: changing buttons messagebox dependending keyboard Topic is solved
Replies: 14
Views: 1774

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...
by roeleboele
11 Dec 2023, 04:19
Forum: Ask for Help (v2)
Topic: changing buttons messagebox dependending keyboard Topic is solved
Replies: 14
Views: 1774

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...
by roeleboele
12 Oct 2023, 08:52
Forum: Ask for Help (v2)
Topic: Tooltip for buttons on a gui Topic is solved
Replies: 7
Views: 747

Re: Tooltip for buttons on a gui Topic is solved

@teadrinker thanks a lot it works perfect now
by roeleboele
12 Oct 2023, 07:46
Forum: Ask for Help (v2)
Topic: Tooltip for buttons on a gui Topic is solved
Replies: 7
Views: 747

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?
by roeleboele
12 Oct 2023, 06:56
Forum: Ask for Help (v2)
Topic: Tooltip for buttons on a gui Topic is solved
Replies: 7
Views: 747

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
by roeleboele
12 Oct 2023, 03:40
Forum: Ask for Help (v2)
Topic: Tooltip for buttons on a gui Topic is solved
Replies: 7
Views: 747

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...
by roeleboele
02 Oct 2023, 02:16
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 389
Views: 61126

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...
by roeleboele
30 Sep 2023, 15:12
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 389
Views: 61126

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...

Go to advanced search