Search found 255 matches

by KilliK
26 Jan 2023, 06:14
Forum: Ask for Help (v1)
Topic: Extract pair of values from a json object.
Replies: 4
Views: 9486

Extract pair of values from a json object.

Hello. Chrome's bookmarks file is a json file with the below hierarchy: { "checksum": "688c795c82968728c5d81a50d8dc10f0", "roots": { "bookmark_bar": { "children": [ { "date_added": "13319166277591147", "id": "11", "meta_info": { "last_visited_desktop": "13319166277591334" }, "name": "Yandex", "type"...
by KilliK
23 Oct 2022, 09:11
Forum: Ask for Help (v1)
Topic: How to reuse the same hotkey which triggered the input command?
Replies: 1
Views: 228

How to reuse the same hotkey which triggered the input command?

Hello. I am using the belows code which shows a tooltip and waits for a key to be pressed, after I trigger it with F1. I want to reuse the same F1 key to trigger the option YES. The problem is that I can not release the F1 to its native state, because it will trigger the native function of the activ...
by KilliK
26 Jun 2022, 05:36
Forum: Ask for Help (v1)
Topic: How to check if all values in an Array are equal? Topic is solved
Replies: 7
Views: 1359

How to check if all values in an Array are equal? Topic is solved

Hello. How can I check if all the values in an Array are equal or not? and when they are equal, to get their identical value? for example they are all equal with the same value A Array:=["A","A","A","A","A"] they are not all equal: Array:=["A","A","B","A","A"] what is the simplest method to achieve ...
by KilliK
17 Jun 2022, 10:18
Forum: Ask for Help (v1)
Topic: ControlSend doesn't work with Qbittorrent
Replies: 0
Views: 204

ControlSend doesn't work with Qbittorrent

Hello I am trying to use the ControlSend command to pause/unpause the torrents from a script, when the Qbittorrent window is minimized. The hotkeys are Ctrl+Shift+P for pause and Ctrl+Shift+S for unpause Unfortunately the command doesnt work at all, even if the QBT window is active: ControlSend,, {C...
by KilliK
09 Jun 2022, 10:37
Forum: Ask for Help (v1)
Topic: Need some help with a Keyboard Chatter Debouncer script Topic is solved
Replies: 2
Views: 531

Re: Need some help with a Keyboard Chatter Debouncer script Topic is solved

heh, no money for a new one. :D
i ll test some values with that variable, to see if it helps. thanks for your help.
by KilliK
07 Jun 2022, 17:19
Forum: Ask for Help (v1)
Topic: Need some help with a Keyboard Chatter Debouncer script Topic is solved
Replies: 2
Views: 531

Need some help with a Keyboard Chatter Debouncer script Topic is solved

Hello. My keyboard suffers from chatter, and I am using the below script which i found here, to fix the chatter problem: https://www.autohotkey.com/boards/viewtopic.php?t=61469#p260483 #SingleInstance force ;~ OutputDebug DBGVIEWCLEAR db := new Debouncer(20) ; Set Debounce Time here db.AddKey("x") d...
by KilliK
06 Jan 2022, 11:02
Forum: Ask for Help (v1)
Topic: Problem with IfMsgBox Timeout and SetTimer Topic is solved
Replies: 21
Views: 1902

Re: Problem with ifsMsgBox Timeout and SetTimer Topic is solved

i dont run any other scripts, it is just this code in its own ahk file with no other startup conditions. i dont press or click anything, i just leave it to timeout. Most of the time the OK condition is triggered, and a few times the Timeout condition is triggered instead. if I remove SetTimer, the T...
by KilliK
06 Jan 2022, 10:47
Forum: Ask for Help (v1)
Topic: Problem with IfMsgBox Timeout and SetTimer Topic is solved
Replies: 21
Views: 1902

Problem with IfMsgBox Timeout and SetTimer Topic is solved

Hello. I had used in the past a code which I found here, and which shows dynamically the remaining time of the timeout in the msgbox's title. The code used to work fine, but today I discovered that the ifMsgBox Timeout condition is not triggered here is the code: Secs:= 10 SetTimer, CountDown, 1000 ...
by KilliK
06 Nov 2021, 10:13
Forum: Ask for Help (v1)
Topic: Task Manager and Daylight Saving Time problem Topic is solved
Replies: 3
Views: 419

Re: Task Manager and Daylight Saving Time problem Topic is solved

thank you for the help. I will check the API solutions from the links you posted, but I have also found this neat utility from Nirsoft, which can export to a text file all the time zones with information about their DST, whether it is active, and when it starts or ends. https://www.nirsoft.net/utils...
by KilliK
04 Nov 2021, 20:35
Forum: Ask for Help (v1)
Topic: Task Manager and Daylight Saving Time problem Topic is solved
Replies: 3
Views: 419

Task Manager and Daylight Saving Time problem Topic is solved

Hello this post is not about the script itself, but how to schedule it to run with Task Scheduler while taking into account different time zones and their DST. here is the situation: I have created a script which opens in Chrome some twitch streams. I have setup Task Scheduler in Windows 10 to run t...
by KilliK
10 Sep 2021, 07:20
Forum: Ask for Help (v1)
Topic: Use an array to deduplicate another array. Topic is solved
Replies: 8
Views: 826

Use an array to deduplicate another array. Topic is solved

Hello. I have two arrays: Array1:=["1","2","3","4","5","6"] Array2:=["1","3","5","1","3","5"] i use this code to remove only the values from Array1, which exist in Array2: for k1,v1 in array1 { for k2,v2 in array2 { if v1=%v2% { Array1.RemoveAt(k1) } } } for k,v in array1 msgbox % v if I run the cod...
by KilliK
08 Mar 2021, 16:32
Forum: Gaming Help (v1)
Topic: Problem with mouse and VMware.
Replies: 0
Views: 853

Problem with mouse and VMware.

Hello. I am running a game in window mode inside a Window 10 virtual machine with VMware 16 I created an AHK script which clicks some buttons and drag and drops some items. At first, mouse movement didnt work at all, but clicking did. After some search, I came across this old topic. https://autohotk...
by KilliK
28 Feb 2021, 07:30
Forum: Ask for Help (v1)
Topic: Window Spy - No Visible Text
Replies: 5
Views: 1101

Re: Window Spy - No Visible Text

Did you find a solution to your problem? I am facing the same situation right now, and while searching the boards I came upon your post. I want to get the text from a RealVNC message box so I can auto click it. But Window Spy only shows the OK text from the OK button, not the main message. I tried t...
by KilliK
19 Feb 2021, 10:51
Forum: Ask for Help (v1)
Topic: Trigger AHK script from Chrome addon button.
Replies: 1
Views: 221

Trigger AHK script from Chrome addon button.

Hello. I am trying to create an addon for Chrome, which when I press its toolbar button, it will send a keypress combo in the system, let's say ^7, which will trigger a running ahk trigger with this hotkey. I found this topic which gives various methods of programmatically sending keypresses, I have...
by KilliK
11 Feb 2021, 18:06
Forum: Ask for Help (v1)
Topic: Prevent Alt+Shift combo with the typed letters which follow it.
Replies: 1
Views: 213

Prevent Alt+Shift combo with the typed letters which follow it.

Hello, I have this problem: I use ALT+SHIFT to switch between my keyboard's language. I also have a lot of Chrome addons which use as hotkeys the combination Alt+Shift+Letter (all 3 buttons need to be pushed together) When I write something in a forum, I usually type very fast and I also switch the ...

Go to advanced search