Search found 90 matches
- 26 Dec 2023, 02:47
- Forum: Ask for Help (v1)
- Topic: remove lines of #If-statement from history of executed lines Topic is solved
- Replies: 4
- Views: 1936
- 24 Dec 2023, 15:12
- Forum: Ask for Help (v1)
- Topic: remove lines of #If-statement from history of executed lines Topic is solved
- Replies: 4
- Views: 1936
Re: remove lines of #If-statement from history of executed lines Topic is solved
I use version 1.1.37.1. Here is more accurate example: #SingleInstance force #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consist...
- 24 Dec 2023, 05:36
- Forum: Ask for Help (v1)
- Topic: remove lines of #If-statement from history of executed lines Topic is solved
- Replies: 4
- Views: 1936
remove lines of #If-statement from history of executed lines Topic is solved
how to remove lines of #If-statement from history of executed lines? ListLines Off #If, some_func() ~LButton Up:: ListLines Off outputdebug hello world return #If some_func() { ListLines Off outputdebug 11 return 1 } Is it possible to get rid of "some_func()" in history of lines? I tried "ListLines ...
- 19 Oct 2023, 14:47
- Forum: Ask for Help (v1)
- Topic: Change background color of another window
- Replies: 2
- Views: 343
Re: Change background color of another window
Thanks for a reply!
Unfortunatelly, this command has a drawback preventing me from using it:
- all the windows are affected (no way to change color of a certain window without impact on all others).
So I'm still looking for any other solution.
Unfortunatelly, this command has a drawback preventing me from using it:
- all the windows are affected (no way to change color of a certain window without impact on all others).
So I'm still looking for any other solution.
- 14 Oct 2023, 16:05
- Forum: Ask for Help (v1)
- Topic: Change background color of another window
- Replies: 2
- Views: 343
Change background color of another window
is there any easy way to change background color of a form of another application? I need something like this: ;Set RGB color = 00FF00 (green) SetBackgroundColor ahk_exe winver.exe, 00FF00 Which should result to: https://i.imgur.com/UrLZ9KB.png Looking for any WM-message for that. Or changing defaul...
- 07 Oct 2023, 05:47
- Forum: Ask for Help (v1)
- Topic: Virtual disks are not detected with DriveGet-function
- Replies: 0
- Views: 176
Virtual disks are not detected with DriveGet-function
Virtual disks are not detected with DriveGet-function How to detect it? I created a virtual disk using a "subst"-command. After that I expect it to be found by this ahk-command but it is not detected: DriveGet, drvList, List OutputDebug, % drvList It's weird that the drive created two minutes ago is...
- 30 Sep 2023, 04:52
- Forum: Ask for Help (v1)
- Topic: Add button over another window
- Replies: 1
- Views: 258
Add button over another window
I want to add some functionality to third-party application (developer doesn't response to feature requests for 7 years but fixes some other bugs i.e. the project is not dead). All what I need is to add a new button to a toolbar over the main window of that application and add some action to this bu...
- 29 Sep 2023, 15:11
- Forum: Ask for Help (v1)
- Topic: How to detect that active window is executed with elevated priviledges? Topic is solved
- Replies: 2
- Views: 350
- 29 Sep 2023, 08:20
- Forum: Ask for Help (v1)
- Topic: How to detect that active window is executed with elevated priviledges? Topic is solved
- Replies: 2
- Views: 350
How to detect that active window is executed with elevated priviledges? Topic is solved
How to detect that active window is executed with elevated priviledges?
- 18 Sep 2023, 09:38
- Forum: Ask for Help (v1)
- Topic: How to remap Ctrl + Shift + Numpad0
- Replies: 1
- Views: 300
How to remap Ctrl + Shift + Numpad0
It doesn't react when doing this:
This menu is shown instead. I don't need it. How to avoid it?
Change keyboard layout in Windows 10 is set to Ctrl + Shift. Maybe it conflicts with something?
Code: Select all
^+NumpadIns::
^+NumPad0::
OutputDebug 112
return
This menu is shown instead. I don't need it. How to avoid it?
Change keyboard layout in Windows 10 is set to Ctrl + Shift. Maybe it conflicts with something?
- 03 Sep 2023, 09:58
- Forum: Ask for Help (v1)
- Topic: Remap special keys on keyboard
- Replies: 1
- Views: 188
Remap special keys on keyboard
I have a keyboard with additional keys located upper of F1-F12 keys. I want to remap it. To do that I open Key history and press the button on keyboard. Then I refresh the window with F5 but there is nothing there except F5. Does it mean I can't remap the key on my keyboard? I have another computer ...
- 25 Aug 2023, 10:56
- Forum: Ask for Help (v1)
- Topic: Click upon button doesn't work reliably
- Replies: 3
- Views: 232
Re: Click upon button doesn't work reliably
Can that effect be "seen" by the script? Yes. If so, you can use a loop and break it once that effect is "seen". It's too complicated to determine programmatically whether effect is seen or not (but it's easily determined with eyes). I also need to click only once, not twice... I can't undertand wh...
- 25 Aug 2023, 07:48
- Forum: Ask for Help (v1)
- Topic: Click upon button doesn't work reliably
- Replies: 3
- Views: 232
Click upon button doesn't work reliably
I have a code like this to click a button. I can see that the button is actually pressed down and pressed up due to animated shadow when clicking it but unfortunately nothing happens in application. It seems buttons's corresponding feature doesn't do anything (sometimes!) but the actual click upon b...
- 12 Aug 2023, 10:24
- Forum: Ask for Help (v1)
- Topic: Record a macro for searching images and clicking them
- Replies: 2
- Views: 265
Re: Record a macro for searching images and clicking them
Thanks a lot, I'll check!
- 12 Aug 2023, 09:37
- Forum: Ask for Help (v1)
- Topic: Record a macro for searching images and clicking them
- Replies: 2
- Views: 265
Record a macro for searching images and clicking them
Is there any script/application to create an ahk-script (record a macro) for clicking some areas on a screen searching them by image (ImageSearch-function)? It would be ideal to show some part of an image to search, then show the area where to search and then set basic logic (if image found then sea...
- 12 Feb 2023, 15:13
- Forum: Ask for Help (v1)
- Topic: How to check whether acc-object is still exist?
- Replies: 2
- Views: 315
How to check whether acc-object is still exist?
How to check whether acc-object is still exist? For example, I retrieved acc object of a notepad text and stored it in a global variable for future use. After that I closed notepad and tried to access accValue of the acc object in a global variable. I've got an empty value. But emptiness is not alwa...
- 09 Mar 2022, 08:46
- Forum: Ask for Help (v1)
- Topic: How to check if DevTools in browser (Firefox, Chrome) is opened?
- Replies: 4
- Views: 751
Re: How to check if DevTools in browser (Firefox, Chrome) is opened?
Thanks for your idea to open DevTools in a new window.
And is there any way to do when DevTools is a part of a main browser's window?
And is there any way to do when DevTools is a part of a main browser's window?
- 09 Mar 2022, 07:47
- Forum: Ask for Help (v1)
- Topic: How to check if DevTools in browser (Firefox, Chrome) is opened?
- Replies: 4
- Views: 751
How to check if DevTools in browser (Firefox, Chrome) is opened?
Is there any way to check whether DevTools (Ctrl + Shift + I) in Firefox/Chrome is opened now? (except unreliable and heavy ImageSearch)
I want to build my own logic based on that fact for my hotkeys (if DevTools is opened - use default behaviour for F2 and Escape, otherwise - use my code).
I want to build my own logic based on that fact for my hotkeys (if DevTools is opened - use default behaviour for F2 and Escape, otherwise - use my code).
- 23 Feb 2022, 05:29
- Forum: Ask for Help (v1)
- Topic: detect which application sends mouse events
- Replies: 1
- Views: 300
detect which application sends mouse events
How to detect which application sends mouse events (right click)? I have many scripts but some of them sends unwanted right click event. I checked all my code for sending mouse events but didn't find the root cause. I don't know whether it's something wrong with one of my scripts or any other applic...
- 08 Mar 2021, 09:15
- Forum: Ask for Help (v1)
- Topic: Run-command doesn't activate an application Topic is solved
- Replies: 10
- Views: 2328
Re: Run-command doesn't activate an application Topic is solved
Thanks for you message. I've already tried your second solution but unfortunatelly it doesn't help. The issue still exists even when I set sleep to 3000 and more. Obviously, there was enough time to create the window thus it's not a root reason. What about the third solution - it's not applicable to...