Search found 15 matches
- 21 Dec 2022, 06:21
- Forum: Ask for Help (v1)
- Topic: problem with coordinates?
- Replies: 2
- Views: 309
Re: problem with coordinates?
There would be no reason for it to do so. What can you show that indicates that it is? Can you post a script and a screenshot and results that demonstrate what you're seeing? If it's a large script, try to cut it down to the smallest script the produces the results you're seeing. i figured out what...
- 19 Dec 2022, 23:07
- Forum: Ask for Help (v1)
- Topic: problem with coordinates?
- Replies: 2
- Views: 309
problem with coordinates?
i use CoordMode, Pixel, Screen and CoordMode, Mouse, Screen
so why is ahk still using relative window coordinates per active window?
so why is ahk still using relative window coordinates per active window?
- 19 Dec 2022, 17:50
- Forum: Ask for Help (v1)
- Topic: hotkey modifiers with GetKeyState function ?
- Replies: 3
- Views: 284
Re: hotkey modifiers with GetKeyState function ?
Hallo, try: var = $LButton Hotkey, %var%, SimpleHotkey Return SimpleHotkey: ToolTip % "Hotkey activated" Return hey thanks, this is helpful but i found a problem seems that the simple hotkey function executes regardless of anything, i need my key listener to be conditional is it possible to apply h...
- 19 Dec 2022, 04:02
- Forum: Ask for Help (v1)
- Topic: hotkey modifiers with GetKeyState function ?
- Replies: 3
- Views: 284
hotkey modifiers with GetKeyState function ?
hi
is it possible to replace a simple hotkey with a variable one? like;
var := $LButton
%var%::
ToolTip % "Hotkey activated"
is it possible to replace a simple hotkey with a variable one? like;
var := $LButton
%var%::
ToolTip % "Hotkey activated"
- 13 Dec 2022, 00:11
- Forum: Ask for Help (v1)
- Topic: getting audio channel volume of specified app?
- Replies: 1
- Views: 220
getting audio channel volume of specified app?
hi.
i would like to return audio channel volume of a specified app, like lets say chrome.exe
would return its own volume and not just master volume please
i would like to return audio channel volume of a specified app, like lets say chrome.exe
would return its own volume and not just master volume please
- 29 Nov 2022, 06:08
- Forum: Ask for Help (v1)
- Topic: Js and ahk
- Replies: 6
- Views: 918
Re: Js and ahk
Hey,
You can include functionalities from other languages using DllCall()
You can include functionalities from other languages using DllCall()
- 28 Nov 2022, 03:27
- Forum: Ask for Help (v1)
- Topic: Auto run a script when Popup Message showup?
- Replies: 1
- Views: 201
Re: Auto run a script when Popup Message showup?
which chat app are you using? there are a lot of factors determining whether or not this is easily, or reliably possible. :problem: we can try detecting control inputs; or colors; or notification spaces but all are prone to problems, if you provide more information on what app you are using we can h...
- 28 Nov 2022, 03:18
- Forum: Ask for Help (v1)
- Topic: auto pause script when chrome is maximized.
- Replies: 6
- Views: 484
Re: auto pause script when chrome is maximized.
sorry, forgot to include this in last reply Loop { GetKeyState, MBCS, LButton, P WinGetPos, x, y,,, ahk_exe chrome.exe if(MBCS != "D" && x == -8 && y == -8) { Pause } } [Mod edit: [code][/code] tags added.] since who knows, maybe you are hovering your app around. this will detect if you have your mo...
- 28 Nov 2022, 03:08
- Forum: Ask for Help (v1)
- Topic: auto pause script when chrome is maximized.
- Replies: 6
- Views: 484
Re: auto pause script when chrome is maximized.
Code: Select all
Loop {
WinGetPos, x, y,,, ahk_exe chrome.exe
if(x == -8 && y == -8) {
Pause
}
;Sleep, 25
}
- 27 Nov 2022, 06:54
- Forum: Ask for Help (v1)
- Topic: if chrome windows is active then auto maximised Topic is solved
- Replies: 3
- Views: 442
Re: if chrome windows is active then auto maximised Topic is solved
Run, "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk" ,, Max ExitApp ^ this will start chrome as maximized and exit script, make sure your directory matches #Persistent F1::WinMove, ahk_exe chrome.exe,, 0, 0, % A_ScreenWidth, % A_ScreenHeight ^ to make chrome window larger, a...
- 27 Nov 2022, 06:32
- Forum: Ask for Help (v1)
- Topic: Trouble with classMemory class' WriteBytes function
- Replies: 3
- Views: 382
Re: Trouble with classMemory class' WriteBytes function
NOP 's bytecode is 0x90 on x86 and x86_64, not 0 if u want to use the array syntax, [00, 0000, 00, 00000000] this passes only 4 bytes (0x00), instead of 8 bytes as probably originally intended thanks for replying so fast i appreciate your answer but not sure i understand. MEM.WriteBytes(MEM.BaseAdd...
- 27 Nov 2022, 05:07
- Forum: Ask for Help (v1)
- Topic: if chrome windows is active then auto maximised Topic is solved
- Replies: 3
- Views: 442
Re: if chrome windows is active then auto maximised Topic is solved
Hey ZCW, You don't actually need a script for this, Find the location of your Chrome shortcut, then RMB and select properties. In the "Shortcut" tab, you can find an input called "Run", configure it to be maximized You mentioned running a modified version of Windows, so this may or may not work if y...
- 27 Nov 2022, 05:04
- Forum: Ask for Help (v1)
- Topic: Trouble with classMemory class' WriteBytes function
- Replies: 3
- Views: 382
Trouble with classMemory class' WriteBytes function
I am trying to "nop"/"null" an instruction, but in the process I corrupt my target process. Example code that I have tried but failed; WriteBytes(MEM.BaseAddress + 0x14A8A2B, "00 0000 00 00000000") WriteBytes(MEM.BaseAddress + 0x14A8A2B, "00 0000 00 00000000") WriteBytes(MEM.BaseAddress + 0x14A8A2B,...
- 17 Nov 2022, 18:00
- Forum: Ask for Help (v1)
- Topic: pixelscan question
- Replies: 1
- Views: 178
pixelscan question
is there a way to scan a specified area with a custom shape?
i want to scan an area, and exclude certain regions. is this possible without making multiple pixelscans?
i want to scan an area, and exclude certain regions. is this possible without making multiple pixelscans?
- 04 Oct 2022, 08:10
- Forum: Scripts and Functions (v1)
- Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
- Replies: 92
- Views: 52801
Re: ToolTipFont / ToolTipColor - options for the ToolTip command
Awesome! Thank you